Skip to content

Change serialization and add support for pydantic v2#232

Open
eyurtsev wants to merge 9 commits into
mainfrom
eugene/add_serialization_support
Open

Change serialization and add support for pydantic v2#232
eyurtsev wants to merge 9 commits into
mainfrom
eugene/add_serialization_support

Conversation

@eyurtsev
Copy link
Copy Markdown
Owner

@eyurtsev eyurtsev commented Oct 6, 2023

Change serialization

@eyurtsev
Copy link
Copy Markdown
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
Copy Markdown
Owner Author

eyurtsev commented Oct 6, 2023

#228

@IvanShah
Copy link
Copy Markdown

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
Copy Markdown
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.

2 participants