fix: InfoSQLDatabaseTool on openai functions mode sometimes calling tables instead of table_names as function arg
Description: Improve the description for the InfoSQLDatabaseTool in order to ensure that the llm guesses the input properly on openai functions mode.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| langchain | ⬜️ Ignored (Inspect) | Visit Preview | Jan 25, 2024 3:57pm |
thanks for pr @puigde! for context, what's openai function output you're seeing?
thanks for pr @puigde! for context, what's openai function output you're seeing?
Hi @baskaryan it depended but most times the agent tried to pass the argument as 'tables' instead of 'table_names' raising a invalid args for the function call.
Any updates on this?
Any updates on this? Looks like sql tools stuff had a path change bringing merge conflicts. Now should be ok for merge afaik. cc. @baskaryan, @hwchase17 ??
resolved in #16756