langchain prompt template TypeError: Unexpected value type error
I am trying to generate answers from a pdf content using langchain and gemini pro LLM but getting this error while generating the content-
ImportError: cannot import name ‘SQLDatabaseChain’ from ‘langchain_community.utilities’
I am making rag application using gpt llm. Now I am making a sqldabasechain.
The old version of LangChain support this langchain_experimental.sql
import SQLDatabaseChain class. But now, they have updated to this one “langchain_community.utilities import SQLDatabaseChain”. But still I am getting the above title error. Can any one tell me what’s the cause?
ImportError: cannot import name ‘SQLDatabaseChain’ from ‘langchain_community.utilities’
I am making rag application using gpt llm. Now I am making a sqldabasechain.
The old version of LangChain support this langchain_experimental.sql
import SQLDatabaseChain class. But now, they have updated to this one “langchain_community.utilities import SQLDatabaseChain”. But still I am getting the above title error. Can any one tell me what’s the cause?
ImportError: cannot import name ‘SQLDatabaseChain’ from ‘langchain_community.utilities’
I am making rag application using gpt llm. Now I am making a sqldabasechain.
The old version of LangChain support this langchain_experimental.sql
import SQLDatabaseChain class. But now, they have updated to this one “langchain_community.utilities import SQLDatabaseChain”. But still I am getting the above title error. Can any one tell me what’s the cause?