https://www.boundaryml.com logo
is it true that using native structured
# general
h
is it true that using native structured output has worse performance than BAML?
v
For an intuition about why: see how it works in BAML here: https://boundaryml.com/blog/schema-aligned-parsing or check out: https://gloochat.notion.site/benefits-of-baml
a
Whered you hear this from btw? Just curious
s
> https://boundaryml.com/blog/schema-aligned-parsing The models listed here are pretty old models. I wonder what the numbers look like with newer models
b
Also wondering about this specifically. That blog post is what sold me on BAML initially. SAP vs native JSON mode is really the biggest sell of BAML, so it's interesting if SAP really stays relevant as models and techniques of the models improve
b
the BAML Adapter in DsPy is helping with integrating BAML in DsPy right?
v
Haven’t had a bit of time to run benchmarks sadly, but empirically it still seems to be better! I think just based on how generation works, models should always produce better results when unconstrained.
It only does the prompt format atm. The parsing is still missing.
h
I saw few reddit posts talking about this, and I myself also noticed that the quality is worse when using structured output, thats why i used BAML