Skip to content
AI Lab
Generative AIOpen in portfolio

Advanced RAG Knowledge Assistant

Ask questions over documents inside this portfolio, with Gemini answers, hybrid retrieval and source passages you can inspect.

Problem

Document assistants need to find relevant evidence before generating an answer, and let readers verify what the answer is based on.

Approach

Adapted the RAG project into a native portfolio application. The browser extracts PDF and text content, splits it into overlapping passages, and stores a private local index. Server routes call Gemini for embeddings, query rewriting and evidence-grounded answers. Keyword search remains available without an AI connection.

Key features

  • 01PDF, TXT, Markdown and CSV ingestion with paragraph-aware chunking
  • 02BM25 and Gemini embedding retrieval combined with reciprocal-rank fusion
  • 03Follow-up query rewriting and model-based evidence reranking
  • 04Numbered citations linked to the original document passages
  • 052D / 3D PCA embedding explorer and measured MRR@5 evaluation
  • 06Browser-local workspaces, server-side key handling and validated requests

Demo

Next project

Multimodal AI Assistant Platform