When using the SQL Agent with OpenAI, is the SQL file transferred to OpenAI or is it kept locally on the n8n instance, just returning the data queried?
It looks like your topic is missing some important information. Could you provide the following if applicable.
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
Hi @jameswright, thanks for reaching out again!
Per our docs:
The SQL Agent uses a SQL database as a data source. The agent builds a SQL query based on the natural language query in the prompt.
It has access to SQLToolkit which allows it to query the database, get schema, etc. The SQL file is not transferred to OpenAI.
2 Likes
Apologises for not RTFM
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.