skip to Main Content

Redis – Got "PydanticUserError" when import ChatGroq

I have following packages installed langchain_core==0.2.39 langchain==0.2.16 langchain-community==0.2.16 langchain_groq==0.1.10 langchain_openai==0.1.24 fastapi==0.114.2 redis pyyaml However, when I try to from langchain_groq import ChatGroq I got error PydanticUserError Traceback (most recent call last) Cell In[20], line 70 64 #print(pm) 65 66 68…

VIEW QUESTION

RuntimeError: no validator found for <class 'langchain_community.tools.json.tool.JsonSpec'>, see `arbitrary_types_allowed` in Config

I am getting RuntimeError: no validator found for <class 'langchain_community.tools.json.tool.JsonSpec'>, see arbitrary_types_allowed in Config even after to installing import yaml from langchain_community.agent_toolkits import JsonToolkit, create_json_agent from langchain_community.tools.json.tool import JsonSpec from langchain_openai import OpenAI

VIEW QUESTION
Back To Top
Search