Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAI's beta parse call is broken with our Libretto wrapper #234

Open
james-deee opened this issue Oct 29, 2024 · 0 comments
Open

OpenAI's beta parse call is broken with our Libretto wrapper #234

james-deee opened this issue Oct 29, 2024 · 0 comments

Comments

@james-deee
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant