eyurtsev / kor

LLM(😽)
https://eyurtsev.github.io/kor/
MIT License
1.62k stars 88 forks source link

Pydantic v2 support #206

Closed eyurtsev closed 1 year ago

eyurtsev commented 1 year ago
codenamics commented 1 year ago

how is it going?

erichlin1 commented 1 year ago

@eyurtsev when do you anticipate support for pydantic v2?

erichlin1 commented 1 year ago

@eyurtsev Thank you!

eyurtsev commented 1 year ago

@ericlinsd np -- not ready yet, but almost there will probably release by end of week

eyurtsev commented 1 year ago

Merged on main. CI tests pass with both pydantic v1 and pydantic v2 so the library is now compatible with both versions of pydantic.

eyurtsev commented 1 year ago

https://github.com/eyurtsev/kor/pull/223

eyurtsev commented 1 year ago

Release on pypi under version 1.0.0 -- has good unit test coverage, but let me know if there are any unexpected issues

surkova commented 1 year ago

There's an outstanding warning about config extra, otherwise 1.0.0 works like a charm with 2.3.0 for all I see! thank you!