Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 981 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 981 Bytes

Simple RAG Chatbot

An educational chatbot project demonstrating Retrieval-Augmented Generation (RAG), designed as a reference for developers exploring document-based AI assistants.

Overview

This project showcases how to combine document retrieval with OpenAI's language models to answer user queries using relevant content from uploaded documents. It serves as a practical reference for developers interested in building AI-powered assistants.

Setup

  1. Clone the repository:

    git clone https://github.com/aporia-ai/simple-rag-chatbot.git
    cd simple-rag-chatbot
  2. Install dependencies:

    poetry install
  3. Activate the virtual environment:

    poetry shell
  4. Set the OpenAI API Key:

    export OPENAI_API_KEY=your_api_key

Usage

Run the chatbot using Chainlit:

chainlit run src/simple_rag_chatbot.py

License

MIT License. See LICENSE file for details.