~/projects/odyssey-rag.md

Odyssey RAG

04RAGfeaturedshipped Sep 2026

A retrieval-augmented question-answering system that answers questions about Homer's The Odyssey using relevant passages retrieved from the source text.

Repository (opens in a new tab)All projects

How it works

How Odyssey RAG works: Source text → Chunk → Embed → Cosine top-5 → Grounded answer evaluate Source text Chunk Embed Cosine top-5 Grounded answer
  1. Source text
  2. Chunk
  3. Embed
  4. Cosine top-5 ↺ evaluate: back to “Chunk”
  5. Grounded answer

What it does

  • Processes a source document into overlapping chunks and retrieves relevant passages using embedding similarity.
  • Uses Gemini embeddings and Gemini for grounded answer generation.
  • Includes retrieval inspection and evaluation with metrics such as Recall@K and Mean Reciprocal Rank.

Stack

  • RAG
  • Gemini
  • Embeddings
  • Evaluation
  • Python