Supavec - The open-source alternative to Carbon.ai. Build powerful RAG applications with any data source, at any scale.
⚡ OSS RAG-as-a-Service — spin up vector search + chat API in <5 min
📈 630▲ on Product Hunt · 620⭐ on GitHub
https://github.com/taishikato/supavec/blob/main/packages/api/README.md
- Row-Level Security (RLS) for team-level data isolation
- Usage‑based billing: Free 100 → Basic 750 → Ent 5000 req/mo
- Batch embeddings: OpenAI cost -65 %
- Configurable chunk & overlap (+12 pts recall)
- Hybrid filter (file_id + cosine) P95 210 ms
- PostHog integration product & API events tracked (11 schema)
- Request‑level tracing with unique IDs for rapid debugging
- Async usage logging non‑blocking main flow
- Streaming or standard responses selectable per request
- 100‑doc batch embedding reduces latency + cost
- Background processing keeps critical path lean
// Example: choose streaming or standard chat responses
const response = await fetch('/chat', {
method: 'POST',
body: JSON.stringify({
query: 'What is this document about?',
file_ids: ['uuid-here'],
stream: true // set false for JSON
})
});- Visual debugging: live embedding preview in chat UI
- Progressive disclosure: guided onboarding & contextual states
- API-first design: REST endpoints + comprehensive errors
- Redis-backed rate limiting: sliding-window strategy
bun ibun devcd apps/web && bun run devcd packages/api && bun run dev