Overview
The AI Engine lets you ask questions about your data in plain English. Plumi’s AI understands your database schema and generates accurate SQL queries automatically.How It Works
- Schema Understanding: The AI learns your database structure, including tables, columns, relationships, and data types.
- Natural Language Processing: Type your question in plain English, and the AI interprets your intent.
- SQL Generation: The AI generates optimized SQL that answers your question.
- Execution & Results: Execute the query and view results instantly.
Supported AI Models
Plumi supports multiple AI providers:
Configure your preferred model in Settings > AI Models.
Example Queries
Simple Questions
“How many orders did we get last month?”
Complex Analysis
“Show me the top 5 products by revenue, broken down by month for Q4 2024”
Best Practices
Configuring AI Models
Adding API Keys
- Go to Settings > API Keys
- Add your API key for your preferred provider
- Select the model in Settings > AI Models
Model Selection
Choose models based on your needs:- Claude: Best for complex analytical queries
- GPT-4: Great general-purpose model
- Gemini: Fast and cost-effective
- Mistral: Good balance of speed and quality