https://www.boundaryml.com logo
🟡 Question about out-of-date BAML documentation
# questions
s
Hi, I am a new comer for BAML, I would like to know whether this official documentation is out of date: https://docs.boundaryml.com/guide/baml-advanced/checks-and-asserts, especially the example of assertion-errors. After I execute
pnpm baml-generate
, the typescript complains errors and function signature of
b.GetCitation
is totally different. Thx for any tips or helps.
a
what's your BAML function definition?
sorry for the late response
s
no worry, I think I have figured out how to this issue by myself.
the root cause is
citation.quote.checks
is only existed when I used
@check
annotation rather than
@assert
.
anyway, thx for your hard work about BAML, it is really an awesome tech stack I noticed recently.
I think it might be a game changer about development of AI Agent in some cases.
a
sweet, definitely let us know about any painpoints so we can improve
2 Views