baml
baml copied to clipboard
Ability to print types (think ctx.output_format but for arbitrary types)
trafficstars
I think the ability to print_type(...) would be awesome. Where ctx.output_format is just a special form/abstraction above print_type primitive.
- Print arbitrary type to potentially show the model what it should gather (i.e. if it eventually needs to find data of the type T, ask questions that fill in T)
- ctx.output_format is an abstraction above it
Thanks!!
Hey, sorry for the radio silence on this. Totally hear you, and I've merged this discussion into the other one.