You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# get the raw request BAML would have fired.prompt=b.prompt.SomeFunction(..)
str=call_llm_yourself(prompt)
# parse into the type using SAPT=b.parse.SomeFunction(llm_response: str)
# or for streamingPartial_T=b.stream.parse.SomeFunction(llm_response: str)
This would also enable support for RealTimeAPI and Batch APIs meanwhile while we wait (or any other providers as well).
Some folks want a more modular approach to using BAML, where they may modify the api request themselves.
This issue tracks exposing the api request baml makes from a function, as well as the parser
The text was updated successfully, but these errors were encountered: