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

Update Langchain when it supports OpenAI's structured output endpoint #590

Open
SmittieC opened this issue Aug 7, 2024 · 1 comment
Open

Comments

@SmittieC
Copy link
Collaborator

SmittieC commented Aug 7, 2024

Once this PR that introduces OpenAI's new structured output endpoint in Langchain is merged, we should update langchain to utilize that. Also as part of upgrading langchain, we should call .with_structured_output with the method parameter set to "json_schema". Not 100% sure if this will error out when we're using other providers or if it will default to something else.

@SmittieC
Copy link
Collaborator Author

SmittieC commented Aug 8, 2024

. langchain-ai/langchain#25123 (comment) is merged. There's a RC release of this. Maybe we should wait a bit for a stable release

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

No branches or pull requests

1 participant