Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: outdated intermediate version of pydantic leads to error #239

Open
gittar opened this issue Nov 3, 2024 · 0 comments
Open

[BUG]: outdated intermediate version of pydantic leads to error #239

gittar opened this issue Nov 3, 2024 · 0 comments

Comments

@gittar
Copy link

gittar commented Nov 3, 2024

Issue Type

Bug Report

Notebook Name

Data_Analyst_Agent_Cohere_and_Langchain.ipynb

Description

The line
from langchain_core.pydantic_v1 import BaseModel, Field
should be changed to
from pydantic import BaseModel, Field
otherwise a "unknown member" error occurs.
when executing the agent

Steps to Reproduce (for bugs)

just run the notebook (all cells) and observe the error

then make the fix above

run the notebook again, works

System Information

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant