LangChain 0.3 dev releases #26180
Replies: 4 comments 2 replies
-
@ccurme Love to explore. Is there any changes to either PythonAstREPLTool or pandas dataframe agents in the 0.3 version? |
Beta Was this translation helpful? Give feedback.
-
Adding some issues that were reported |
Beta Was this translation helpful? Give feedback.
-
@ccurme Based on the feedback so far, do you have any insight into when we might expect the release candidate and stable versions of 0.3? |
Beta Was this translation helpful? Give feedback.
-
v0.3 with Pydantic 2 support is out! #26544 |
Beta Was this translation helpful? Give feedback.
-
Hello!
Please see below for an update on 0.3 dev releases.
As promised in #25244, we have released dev versions of a number of LangChain packages. Developers who are interested in an early preview of LangChain as migrated to Pydantic 2 should feel free to install and test these packages. Any feedback you are willing to share is helpful as we iron out the kinks and work toward a smooth 0.3.0 release.
Available packages:
You can also pip install with
--pre
to pick up the latest versions, e.g.,Known issues:
You may see
PydanticDeprecatedSince20
warnings; we are actively working to resolve these.Breaking changes:
Any sub-classing of LangChain models (e.g.,
BaseTool
,BaseChatModel
, etc.) should upgrade to use Pydantic 2-equivalent features-- for example, references tovalidator
should be updated tofield_validator
. Refer to Pydantic's migration guide for details.LangChain APIs that accept instances of Pydantic's
BaseModel
(e.g.,BaseChatModel.bind_tools
andBaseChatModel.with_structured_output
) should receive Pydantic 2 objects.Outside of these breaking changes, runtime errors are unexpected-- we'd appreciate bug reports on this Discussion.
Beta Was this translation helpful? Give feedback.
All reactions