Skip to content

----> 1 from langchain_openai import AzureChatOpenAI #753

@UBGplus

Description

@UBGplus

I am continuously getting below error

RuntimeError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from langchain_openai import AzureChatOpenAI
2
3 llm = AzureChatOpenAI(
4 azure_deployment="gpt-35-turbo", # or your deployment
5 api_version="2024-02-01", # or your api version

19 frames
/usr/local/lib/python3.10/dist-packages/pydantic/v1/validators.py in find_validators(type_, config)
763 yield make_arbitrary_type_validator(type_)
764 else:
--> 765 raise RuntimeError(f'no validator found for {type_}, see arbitrary_types_allowed in Config')

RuntimeError: no validator found for <class 'langchain_core.callbacks.base.BaseCallbackHandler'>, see arbitrary_types_allowed in Config

Metadata

Metadata

Assignees

Labels

status: needs infoIssues that require more information from the reporter to proceed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions