💡 Setup Required: Ensure you’ve configured your database tools first by following the setup guide for your specific database type.
💡 Scheduling Tip: Run metadata retrieval daily for frequently changing databases, or weekly for stable schemas.
⚠️ Important: Run the Metadata Retrieval Agent at least once before using the Query Agent to populate database schema information.
SELECT * FROM {{table_name}} WHERE date > '{{start_date}}'
💡 Tip: Add custom prompts to your LLM with:
- Database schema context
- Common query patterns for your domain
- Output formatting preferences
- Business logic explanations
💡 Memory Management: Use the same Memory object across both agents to ensure consistent metadata access.
⚠️ Connection Requirements: All database servers must be accessible via public IP. Contact support@airia.com for IP whitelisting assistance.