S-04 · CASE STUDY
Conversational assistant
A domain-focused assistant that grounds answers in documents and live data and streams responses to the client.
Bull AI · Sep 2025 to now / Software Engineer, AI & Data Platforms
FastAPI, React, LangChain, Vector DB, Gemini
TL;DR
The streaming backend of a financial copilot that answers company questions from documents and data, used by 9K+ active users.
The problem
Visitors to the company website wanted quick answers about Indian companies (what a company does, how its numbers look, what its documents say) in a chat, not in a research report.
What I built
- 01The backend of an India-focused financial copilot: company lookup, financial snapshots, document Q&A and chart-ready answers.
- 02A FastAPI service that streams answers to the client over server-sent events.
- 03Retrieval over company documents with vector search, with data in MongoDB.
- 04Integration into the company website chatbot.
How it works
Architecture
- resolve · 01
- lookup · 02
- rag · 03
- answer · chart-ready
- stream · 05
with: Client app · Vector store · LLM
Decisions that mattered
Stream everything
Answers stream over SSE, so a response starts to appear immediately instead of after the whole answer is ready.
Answer in structure
Responses can carry chart-ready data, so the front end draws a chart instead of describing numbers in prose.
Ground in documents
Document questions are answered from retrieved passages, not from the model's memory.
Proprietary work. The approach and architecture are described; client data and code are not shown.