You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating an agent that can search in documents store OR return info from database. After struggling a little with the SQL Database Chain, I understood that this agent creates but doesn't execute the query.
The other solution is to build a more complex flow using the SQL Prompt template (I was trying to avoid that).
In the chatflow below, what I need to connect to SQL Database Chain to allow running a Custom JS Function for executing and returning the results in the answer?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I'm creating an agent that can search in documents store OR return info from database. After struggling a little with the SQL Database Chain, I understood that this agent creates but doesn't execute the query.
The other solution is to build a more complex flow using the SQL Prompt template (I was trying to avoid that).
In the chatflow below, what I need to connect to SQL Database Chain to allow running a Custom JS Function for executing and returning the results in the answer?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions