Sign inSign up

savvinaai/savvina-backend

By savvinaai

•Updated 2 days ago

FastAPI backend for Savvina AI, a self-hosted natural-language-to-SQL analytics tool

Image
Machine learning & AI
Data science
Databases & storage
0

263

savvinaai/savvina-backend repository overview

⁠Savvina — Backend

FastAPI backend for Savvina, a self-hosted text-to-SQL analytics platform. Generates and safely executes SQL from plain-English questions, with read-only validation and SELECT-only enforcement.

  • Multi-LLM: Claude, OpenAI, Groq, Gemini, Cerebras, Mistral, Ollama, and OpenAI-compatible endpoints
  • Data sources: PostgreSQL and MySQL/MariaDB
  • Encrypted credential storage, per-connection privacy controls
  • Two-level caching (exact + semantic) to cut redundant LLM calls

This image pairs with savvinaai/savvina-frontend. See the main repo for the full docker-compose setup: https://github.com/savvina-ai/savvina⁠

⁠Quick start

git clone https://github.com/savvina-ai/savvina
cd savvina
docker compose pull
docker compose up -d --no-build

(Already have your own Postgres/MySQL? Drop --profile local-db and point DATABASE_URL at it instead.)

Tag summary

Content type

Image

Digest

sha256:9cd2377a8…

Size

378.7 MB

Last updated

2 days ago

docker pull savvinaai/savvina-backend