You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 ConfigThe text was updated successfully, but these errors were encountered: