Ask your retail data
anything, in plain English
Retail Mind connects to your database, generates SQL, executes it read-only, and returns natural language answers + charts — via a simple REST API.
Try asking
How it works
Connect
Register your PostgreSQL, MySQL, BigQuery, or Snowflake database with one API call.
Sync Schema
Retail Mind discovers your tables and columns. Large schemas are compressed for the AI.
Ask
Send a natural language question. Get SQL, answer, data, and chart-ready JSON back.
Integrate
Use the response in your app. Any language, any framework — it's just HTTP.
Built for production
Any AI provider
OpenAI, Anthropic, Gemini, or fully local with Ollama / LM Studio. Bring your own key.
6 data sources
PostgreSQL, MySQL, SQLite, BigQuery, Snowflake, CSV/Excel. Credentials encrypted at rest.
Read-only enforced
Every generated SQL is validated with sqlglot. No INSERT, UPDATE, DELETE — ever.
Streaming SSE
Real-time token streaming over Server-Sent Events. Show answers word by word in your UI.
Chart-ready JSON
Auto-detected chart type + series data in every response. Drop it into Recharts or Chart.js.
Scalable by design
Schema compression for 200+ table databases. Redis caching. Celery background workers.
Ready to integrate?
The full REST API is live at api.retailmind.paraspipre.com. Check the documentation to get started.