-
Install Required Packages
Run the following command to install the required packages:
pip install -r requirements.txt
-
Configure API Keys
Ensure your OpenAI API key is included in the
.env
file.
Run this command:
curl -fsSL https://ollama.com/install.sh | sh
Download Ollama from the official website.
After installing Ollama, you need to pull the LLaMA3 model. Run the following commands:
ollama serve
ollama pull llama3
You can modify any parameters in the config.chain_config
file to suit your needs.
To run the Flask Web application, use the following command:
python app.py