kor icon indicating copy to clipboard operation
kor copied to clipboard

Change serialization and add support for pydantic v2

Open eyurtsev opened this issue 2 years ago • 4 comments

Change serialization

eyurtsev avatar Oct 06 '23 20:10 eyurtsev

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 avatar Oct 06 '23 20:10 eyurtsev

https://github.com/eyurtsev/kor/issues/228

eyurtsev avatar Oct 06 '23 20:10 eyurtsev

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?

IvanShah avatar Apr 16 '24 10:04 IvanShah

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.

eyurtsev avatar Apr 17 '24 02:04 eyurtsev