Querying with SQLDatabaseChain chain #29134
Replies: 3 comments
-
The error you're encountering seems to be related to the type of object being passed or handled within the Here are a few things to check and consider:
If these steps don't resolve the issue, you might want to look into any custom logic or additional libraries that could be affecting the data types being used in your script. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
I recommend following this guide: https://python.langchain.com/docs/tutorials/sql_qa/ |
Beta Was this translation helpful? Give feedback.
-
@ccurme Thanks for sharing this |
Beta Was this translation helpful? Give feedback.
-
I am trying to write a script that queries data from a Database using natural language.
I have connected my langchain to my database and I have the llm set up. But the query keeps throwing this error
this is my code
The expected output is a MySQL query and an answer
Beta Was this translation helpful? Give feedback.
All reactions