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
You can try this out in examples/simple.ts and just change the "originalOpenai" to be "openai" (which is the libretto one), and you'll get a type error. I think we need to override something, but I didn't want to go down a rabbit hole at the moment.
The text was updated successfully, but these errors were encountered:
OpenAI has a new "parse" call that you can call that will return some parsed data according to your json schema: https://platform.openai.com/docs/guides/structured-outputs/how-to-use
You can try this out in
examples/simple.ts
and just change the "originalOpenai" to be "openai" (which is the libretto one), and you'll get a type error. I think we need to override something, but I didn't want to go down a rabbit hole at the moment.The text was updated successfully, but these errors were encountered: