Retriva - AI-Powered Bot-as-a-Service Platform
Retriva is a full-stack Bot-as-a-Service platform where users upload PDFs processed through a RabbitMQ pipeline (S3 → pypdf → OpenAI embeddings → Qdrant) to create embeddable RAG-based chatbots with real-time chat via FastAPI + Socket.IO, persistent session history, API key management, and usage-based subscriptions - powered by PostgreSQL (Prisma ORM) and a fully async Python architecture. The streaming RAG pipeline uses Sarvam AI and Qdrant, with 1.5–2.5s server time to first token and an estimated LLM cost of $0.00034 per query. Incremental indexing avoids redundant embedding costs.
Scope of Work
- FastAPI
- PostgreSQL
- Prisma
- RabbitMQ
- AWS S3
- Qdrant DB
- OpenAI
- Next.js

The Outcome.
See the results.
Server Time to First Token
Streaming RAG pipeline with Sarvam AI and Qdrant.
Estimated LLM Cost
Estimated LLM cost per query
Incremental Indexing
Async PDF ingestion with RabbitMQ and S3 avoids redundant embedding costs.
More Projects

Swapnil Chavan
Founding Software Engineer
Building Something Amazing?
Let's chat.
I build AI-powered backend systems with Python, FastAPI, and TypeScript. I'm looking for teams that value product quality, performance, and thoughtful system design.
