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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Checked
Feature request
I just got the following error
But this didn't realy make any sense to me since my schema class was a sublcase of
BaseModel
.I then figured out after reading the documentation again that Langchain was expecting a Subclass of
langchain.pydantic_v1.BaseModel
Maybe we should update the error message to make it more clear that langchain doesn't expect the
pydantic.BaseModel
class.Motivation
Make the error message clearer to prevent the user creating a bug that are hard to solve.
Proposal (If applicable)
Maybe update the error message to something like
Beta Was this translation helpful? Give feedback.
All reactions