Resolved! DatabaseError: (databricks.sql.exc.ServerOperationError) [UNBOUND_SQL_PARAMETER]
Hi,I am trying to connect my database through LLM and expecting to receive a description of the table and 1st 3 rows from the table. from langchain.agents import create_sql_agent from langchain.agents.agent_toolkits import SQLDatabaseToolkit from la...
- 7342 Views
- 4 replies
- 0 kudos
Latest Reply
This is not databricks issue but from langchain. A PR has been raised to solve this: One workaround that worked is: https://github.com/langchain-ai/langchain/issues/11068 setting sample_rows_in_table_info to 0 when calling SQLDatabase.from_databricks...
- 0 kudos