cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

nag_kanchan
by New Contributor III
  • 4374 Views
  • 5 replies
  • 0 kudos

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...

  • 4374 Views
  • 5 replies
  • 0 kudos
Latest Reply
nag_kanchan
New Contributor III
  • 0 kudos

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
4 More Replies
Labels