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 findvalidators(type, config)
763 yield make_arbitrary_typevalidator(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
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 findvalidators(type, config) 763 yield make_arbitrary_typevalidator(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