jupyter-ai icon indicating copy to clipboard operation
jupyter-ai copied to clipboard

support langchain>=0.3 and migrate to use pydantic v2

Open michaelchia opened this issue 1 year ago • 3 comments
trafficstars

Problem

Langchain 0.3 has been released since 16 Sep. https://python.langchain.com/docs/versions/v0_3/ This one might involve some migration to support. Changes are mainly regarding migrating stuff to pydantic v2.

Proposed Solution

Will need to move all the pydantic stuff away from langchain.pydantic_v1 and to use pydantic v2 from the base package.

michaelchia avatar Sep 18 '24 12:09 michaelchia