This document provides the necessary steps to set up and run the project. Please follow the instructions carefully to ensure everything works smoothly.
Before running the project, you need to set up the environment. Please follow the instructions in this document to install and configure Poetry.
- Modify the
secret.yml
file in the project root:- Open secret.yml
- Replace the default token with your OpenAI API key.
After setting up your environment and configuring the necessary files, you can start the project using the following commands:
- Install project dependencies:
poetry install
- To generate the vector store:
poetry run python3 rag_demo/vector_store_generator.py
- To start the unified API server:
poetry run python3 unified_api/unified_api_server.py
Ensure you execute these commands from the root of the project directory where the pyproject.toml file is located.