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 examples to use pydantic v1 for safety #188

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Nov 8, 2023

This PR updates all exmaples to use langchain pydantic v1 namespace when using pydantic.

The reason is that most of langchain objects are still using on pydantic v1 and
code should not mix v1 and v2.

@cla-bot cla-bot bot added the cla-signed label Nov 8, 2023
@eyurtsev eyurtsev requested a review from jakerachleff November 8, 2023 02:53
@eyurtsev eyurtsev merged commit 33b3f14 into main Nov 8, 2023
@eyurtsev eyurtsev deleted the eugene/use_langchain_pydantic_v1 branch November 8, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant