You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering a compatibility issue between langchain-redis and Pydantic V2. When using langchain-redis with Pydantic V2, I receive the following warning:
UserWarning: Mixing V1 models and V2 models (or constructs, like TypeAdapter) is not supported. Please upgrade IndexSchema to V2.
This suggests that langchain-redis is still using Pydantic V1 models internally, even though it depends on Pydantic V2.
The text was updated successfully, but these errors were encountered:
I am encountering a compatibility issue between langchain-redis and Pydantic V2. When using langchain-redis with Pydantic V2, I receive the following warning:
UserWarning: Mixing V1 models and V2 models (or constructs, like
TypeAdapter
) is not supported. Please upgradeIndexSchema
to V2.This suggests that langchain-redis is still using Pydantic V1 models internally, even though it depends on Pydantic V2.
The text was updated successfully, but these errors were encountered: