docs/how_to/pydantic_compatibility/ #27463
Replies: 2 comments 2 replies
-
Hey, my Programm isn't working anymore, after updating Langchain. I am using kor. Kor is using pydantic. How can I get help to get it running again? |
Beta Was this translation helpful? Give feedback.
-
import os if name=="main":
The above code is failling with below error: pydantic_core._pydantic_core.ValidationError: 2 validation errors for GenerateRequest |
Beta Was this translation helpful? Give feedback.
-
docs/how_to/pydantic_compatibility/
As of the 0.3 release, LangChain uses Pydantic 2 internally.
https://python.langchain.com/docs/how_to/pydantic_compatibility/
Beta Was this translation helpful? Give feedback.
All reactions