cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

nag_kanchan
by New Contributor III
  • 7342 Views
  • 4 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...

  • 7342 Views
  • 4 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
3 More Replies
Labels