♨️Damien
04/25/2026, 1:00 AMbaml
class Vehicle {
price float @description("Vehicle Price")
year int @description("Vehicle manufacturing Year")
}
class Assets {
assets Vehicle[] @description("List of Vehicles")
}
Instead, I want BAML to:
First infer a meta‑schema describing what fields exist
Then use that meta‑schema to extract the actual values
This could be done in two steps (schema → extraction), or potentially in a single shot if BAML can output a finalized TypeBuilder schema directly.
The core question
Is there a recommended or built‑in way to let BAML generate its own extraction schema at runtime?
Or is this something that needs to be orchestrated manually outside of BAML?
Would love to hear how others approach this, or whether this aligns with any upcoming features.
Thanks!baml-sam
04/26/2026, 12:25 AMbaml-sam
04/26/2026, 12:27 AM♨️Damien
04/26/2026, 10:27 PM♨️Damien
04/28/2026, 6:36 PMbaml-sam
04/29/2026, 3:34 AMbaml-sam
04/29/2026, 3:35 AMbaml-sam
04/29/2026, 3:35 AM♨️Damien
04/29/2026, 1:01 PM