/video-rag

Primary LanguageJupyter Notebook

Building a RAG application

Building a simple RAG (Retrieval-Augmented Generation) application using OpenAI's API.

Installation

  1. Clone the repository.
  2. Create a virtual environment and install the required packages:
python3 -m venv .venv
source .venv/bin/activate
  1. Install the required dependencies by running the following command:
    pip install -r requirements.txt
  1. Create a .env file in the root directory of your project.
  2. Add the necessary environment variables to the .env file. For example:
OPENAI_API_KEY=[your_api_key]