baml icon indicating copy to clipboard operation
baml copied to clipboard

Ability to print types (think ctx.output_format but for arbitrary types)

Open ashercn97 opened this issue 7 months ago • 1 comments
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!!

ashercn97 avatar Apr 17 '25 15:04 ashercn97

Hey, sorry for the radio silence on this. Totally hear you, and I've merged this discussion into the other one.

sxlijin avatar Oct 01 '25 21:10 sxlijin