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

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

@gittar

Description

@gittar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions