Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant