Issue Querying Oracle Database with Natural Language - langchain SQLDatabaseChain #29197
Unanswered
dhtruong0407
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked other resources
Commit to Help
Description
I'm trying to use langchain SQLDatabaseChain to interact with my oracle database with natural language (using gemini LLM). I always received the error: sqlalchemy.exc.DatabaseError: (cx_Oracle.DatabaseError) ORA-00911: invalid character while try to execute: db_chain.invoke(input_data) (with input_data as prompt):
This will return in an error:
This query:
work completely well when I execute with my oracle db client.
Please help me with this problem.
System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
Beta Was this translation helpful? Give feedback.
All reactions