Skip to content

Case study · Artificial Intelligence

DeftGPT

A Multi-Model AI Platform With Production RAG at Scale

DeftGPT is an all-in-one AI platform built around the things a single-model chat product does not do well. Users hold conversations with their documents, generate images, keep chats private and customize bot roles, with integrations into Google Docs, Chrome and social platforms.

The platform was built for users in China, which shaped both the model selection and the language handling in the retrieval pipeline. Our engineers worked as an extension of the client’s core engineering team.

Live at: deftgpt.com

Product
DeftGPT, all-in-one AI platform
Market
Users in China, with Chinese-language handling
Models
OpenAI, Anthropic Claude, Google Gemini, LLaMA
Retrieval
MilvusDB vector store, LangChain pipelines

Delivered Capabilities

What We Built for DeftGPT

01

Unified Multi-Model Platform

OpenAI, Claude, Gemini and LLaMA in one interface, with tiered subscriptions.

02

Production-Level RAG

Many file types and multiple documents in one conversation.

03

Chrome Extension

Summarizes YouTube videos, generates transcripts and adds in-browser features.

04

DeftGPT Spaces

Team collaboration with unlimited members and unified billing.

Project requirement

Four requirements defined the build, and each is harder than it sounds at production scale.

  1. 01

    Integrate multiple model families, including OpenAI, Claude, Gemini and LLaMA, into one coherent experience.

  2. 02

    Build a retrieval system that handles high traffic across a wide variety of file types.

  3. 03

    Support images, video and audio for advanced media understanding.

  4. 04

    Ship a Chrome extension that summarizes YouTube videos, generates transcripts and adds browser-based features.

Our approach

Decisions made through research and testing, not by defaulting to the familiar option.

Step 1

Model Research

Providers chosen after testing against quality and versatility requirements.

Step 2

Async Everything

Every stage runs asynchronously, so heavy uploads never block the interface.

Step 3

Replace, Not Tune

A struggling vector store was replaced rather than tuned around.

Step 4

Test the Hard Cases

Scanned PDFs and video were solved by testing what actually works.

Production RAG

The retrieval system accepts many file types and multiple documents in a single conversation. Every stage runs asynchronously, which keeps the interface responsive when several users upload large files at once.

Diagram: files uploaded, parsed and chunked, embedded into MilvusDB, relevant chunks retrieved, answer generated with citations

The Vector Store Had to Be Replaced

The pipeline was first built on ChromaDB, and it did not hold up: under real traffic and the large media files the platform accepts, retrieval slowed down enough to threaten the product’s core promise. The team moved the pipeline to MilvusDB.

Migrating a vector store mid-project is disruptive, and the easier path is always to tune around the problem for a few more weeks. Replacing it fixed the cause instead of deferring it.

Diagram: migration from ChromaDB to MilvusDB, improving traffic handling, retrieval efficiency and real-time behavior

Document and Media Understanding

Scanned PDFs are converted to images and read by GPT vision models, which handles documents that text extraction cannot parse at all. For video, the team assessed open-source understanding models first, then selected Gemini 1.5 on measured performance and integrated it into the retrieval pipeline.

Diagram: how scanned PDFs, video, images and audio, and CSV and XLSX files are each processed

Results

Launched with retrieval, media understanding and browser integration working together.

Platform Launch

DeftGPT launched with all core features working together, serving hundreds of users.

Retrieval at Scale

The MilvusDB pipeline absorbs high traffic and large files without the slowdowns of the earlier approach.

Language Coverage

Chinese-language data is handled efficiently through the retrieval pipeline, a must for the target market.

Responsiveness

Asynchronous processing keeps the platform usable under large-scale load.

Client feedback

It was a pleasure working with Waqas. Communication was smooth, deadlines were respected, and the overall collaboration was professional and efficient. I would definitely consider working together again in the future. Recommended!

Client feedback, DeftGPT

Technologies we used

  • React
  • TypeScript
  • Socket.io
  • Python
  • FastAPI
  • NGINX
  • MilvusDB
  • LangChain
  • PostgreSQL
  • AWS S3
  • Docker
  • AWS
  • OpenAI
  • Anthropic Claude
  • Google Gemini
  • LLaMA
  • Replicate
  • Stability.ai

Start a project

Have a Project Like This?

Tell us what you are trying to build. We will reply by email with questions, not a sales pitch.