Kamalan C S

Document-grounded RAG service · 2025

Technical Knowledge Assistant

Ask questions about technical documentation and get answers grounded in retrieved passages, with sources.

Concept illustration for Technical Knowledge Assistant

The vision

An assistant that answers from your own documentation rather than the model's memory, so it shows its sources and cuts down unsupported answers.

Problem

LLMs answer confidently about internal docs they've never seen. Engineers need answers they can trace back to the source.

Solution

An ingestion pipeline that splits documents into chunks, embeds them and indexes them in ChromaDB. At question time, vector similarity search retrieves the most relevant passages and passes them to the LLM as context. FastAPI endpoints return the answer together with its sources.

Architecture

Technical Knowledge Assistant architectureCLIENTSEDGE & APISERVICESDATA & EXTERNALvectorscontextTechnical docsIngestionchunk · embedFastAPI/askRetrievertop-k similarityChromaDBLLMgrounded answer
  • Technical docs to Ingestion
  • Ingestion to ChromaDB (vectors)
  • FastAPI to Retriever
  • Retriever to ChromaDB
  • Retriever to LLM (context)

Engineering highlights

  • Modular ingestion: load → chunk → embed → index
  • Vector similarity retrieval over ChromaDB
  • Answers grounded in retrieved context, with sources returned alongside
  • FastAPI endpoints, environment-based configuration, Docker-ready