RAG Chatbot using OPENAI, FASTAPI and BM25 retrieval

Greek RAG Vocabulary App

Live Demo: Visit the App Source Code: GitHub Repository

This project is an interactive Greek vocabulary assistant built with FastAPI and a retrieval-augmented generation (RAG) approach. It leverages a Greek dictionary dataset and BM25 indexing to retrieve relevant definitions and examples, then uses OpenAI’s GPT-4.1-mini model to generate concise explanations and example sentences in Greek.

Key Features

  • Search for Greek words or phrases and get detailed explanations.
  • Combines exact matches with BM25 similarity for robust retrieval.
  • Lightweight web interface with a chat-style interaction.
  • Fully deployable online via Render for live demonstration.

Tech Stack

Python, FastAPI, OpenAI API, BM25, Jinja2, Render