Configure AI providers, models, and prompts for SQL generation
The prompts shown below are what the backend is currently using. Changes here are saved locally but require backend restart to take effect. The system uses environment variables (OPENAI_API_KEY, AI_MODEL) from your .env file.
By default, ZeaIQ uses environment variables. Add your own API key to override.
This is the actual prompt used in the backend. Uses {CONTEXT} for RAG context and {QUESTION} for user question.
⚠️ Note: Changes require backend code update to take effect. This shows current backend configuration.
Use {SQL} for the generated SQL query