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

Change serialization and add support for pydantic v2 #232

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

eyurtsev
Copy link
Owner

@eyurtsev eyurtsev commented Oct 6, 2023

Change serialization

@eyurtsev
Copy link
Owner Author

eyurtsev commented Oct 6, 2023

Hi @BorisWilhelms! I wanted to run this change by you. Adding support for serialization for pydantic v2. it's a breaking change so will release under version 3

@eyurtsev
Copy link
Owner Author

eyurtsev commented Oct 6, 2023

#228

@IvanShah
Copy link

Hi, @eyurtsev we are using Kor and Langchain in our project but forced to use pydantic v1. Could you please tell if there will be support for the second version?

@eyurtsev
Copy link
Owner Author

Hi @IvanShah, kor supports pydantic 2.

This PR was making serialization work with pydantic 2. Are you relying on serialization? If so, I can make an rc release and you're welcome to test this out.

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

Successfully merging this pull request may close these issues.

None yet

2 participants