Turn documents, databases, and raw data into answers, insights, and visualizations — instantly.
Upload CSV, Excel, or PDF files to build your knowledge base seamlessly.
Query your data using natural language through our enterprise-grade API.
Receive intelligent answers with high-fidelity, interactive chart visualizations.
import requests
response = requests.post(
"https://api.pecca.ai/query",
json={
"api_key": "pecca_xxxxxxxxxxxxxxxxxxxx",
"user_query": "What were the top 5 products by revenue last month?",
"generate_graph": True
}
)
data = response.json()
print(data["response"]) # Natural language answer
print(data["visualization"]) # Chart data (if generated)
| Feature | Traditional Chatbots | Pecca |
|---|---|---|
| Data Source | Document-only | Documents + Databases |
| Output Types | Text answers only | Text + Data + Interactive Charts |
| Context | Static knowledge | Static Knowledge+ Live querying |
| Intelligence | Generic responses | Context-aware insights |