Find answers from the community

Updated 3 months ago

Say I don t have acces to the OPenAI

Say I don't have acces to the OPenAI 0613 function calling api, but only have access to the 0315 one. How can I leverage pydantic for more structured outputs?
L
M
6 comments
there is a non-openai dependant version of the pydantic program --
LLMTextCompletionProgram
sadly I think it's a little beta, as it's not mentioned in the docs lol BUT
it's pretty similar for the most part, but relies on the LLM to write JSON properly
Got it thanks! I will try that.
Add a reply
Sign up and join the conversation on Discord