Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
What is this?
Less
More

Memberships

AI Developer Accelerator

10.8k members โ€ข Free

1 contribution to AI Developer Accelerator
Pydantic error in 7_rag_conversational.py
Hey Everyone, Every time i run 7_rag_conversational.py file on my pc, It throws error as: """ LangChainDeprecationWarning: As of langchain-core 0.3.0, LangChain uses pydantic v2 internally. The langchain_core.pydantic_v1 module was a compatibility shim for pydantic v1, and should no longer be used. Please update the code to import from Pydantic directly. For example, replace imports like: `from langchain_core.pydantic_v1 import BaseModel` with: `from pydantic import BaseModel` or the v1 compatibility namespace if you are working in a code base that has not been fully upgraded to pydantic 2 yet. from pydantic.v1 import BaseModel, """ I have updated pydantic, but The error persists. After displaying all of these errors, the code begins to show results(prompt for asking questions). Please Help me..
1
0
Pydantic error in  7_rag_conversational.py
1-1 of 1
Vikas Sirohi
1
4points to level up
@vikas-sirohi-9327
Mathematics Major

Active 443d ago
Joined Sep 25, 2024
Powered by