Retriva - AI-Powered Bot-as-a-Service Platform

ClientPersonal Project
Year2025

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
View Site
Retriva workspace dashboard with AI assistants, document knowledge, and playground navigation

The Outcome.
See the results.

Server Time to First Token

Streaming RAG pipeline with Sarvam AI and Qdrant.

1.5–2.5s
* Server time to first token, not full response latency

Estimated LLM Cost

Estimated LLM cost per query

$0.00034
* LLM-only estimate; excludes infrastructure and embeddings

Incremental Indexing

Async PDF ingestion with RabbitMQ and S3 avoids redundant embedding costs.

Index incrementally
* RabbitMQ + S3 ingestion and incremental indexing

More Projects

Swapnil Chavan

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.