Building a simple RAG (Retrieval-Augmented Generation) application using OpenAI's API.
- Clone the repository.
- Create a virtual environment and install the required packages:
python3 -m venv .venv
source .venv/bin/activate
- Install the required dependencies by running the following command:
pip install -r requirements.txt
- Create a
.env
file in the root directory of your project. - Add the necessary environment variables to the
.env
file. For example:
OPENAI_API_KEY=[your_api_key]