Skip to content
g.
Menu
Get in touch

Project · Independent

Grounded Technical Docs RAG Assistant

An in-development retrieval-augmented generation (RAG) assistant designed to answer technical questions strictly from a controlled, version-pinned documentation corpus with source citations and explicit abstention when evidence is insufficient. Currently at the Python/FastAPI service foundation stage; retrieval, generation, citation validation, and evaluation components are planned.

Status In DevelopmentCategory AI EngineeringRole Solo Engineer & ArchitectProvenance IndependentID PRJ-005

System status: Implemented Python 3.12 / FastAPI foundation in solid stroke; planned retrieval & citation verification in dashed stroke.

  • Python 3.12
  • uv
  • FastAPI
  • Pydantic v2
  • HTTPX
  • BGE embeddings (Planned)
  • Qdrant (Planned)
  • BM25 + RRF (Planned)
  • Gemini / Ollama / Mock LLM (Planned)
  • HTML / CSS / Vanilla JavaScript (Planned)

Current status: application in development and paused at the foundation stage. The Python 3.12, uv, FastAPI, Pydantic v2, and HTTPX foundation is established. Ingestion, chunking, hybrid retrieval, grounded generation, citation validation, UI, and evaluation benchmarks are planned and not yet implemented. No benchmark metrics or live deployment claims are made.

Problem

Technical documentation assistants can produce unsupported answers, confuse library versions across releases, and fail to cite reliable evidence from authoritative sources.

Objective

Build a transparent RAG assistant operating over a controlled corpus of version-pinned technical documentation, ensuring responses are grounded in retrieved passages or explicitly abstained when evidence is insufficient.

Intended approach — planned architecture

  • Controlled document ingestion and normalization.
  • Structure-aware chunking with heading context.
  • Dense vector retrieval and BM25 lexical retrieval.
  • Hybrid retrieval using Reciprocal Rank Fusion (RRF).
  • Grounded answer generation with source citations.
  • Citation validation and abstention when evidence is insufficient.
  • A reproducible evaluation benchmark.
  • Current foundation and planned stack

    Existing foundation: Python 3.12, uv, FastAPI, Pydantic v2, HTTPX.

    Planned components: BGE embeddings, Qdrant vector store, BM25 lexical retrieval with Reciprocal Rank Fusion, Gemini integration alongside optional Ollama and a deterministic mock provider, and an accessible HTML/CSS/vanilla JavaScript interface.