A chat application that uses Groq implemented using Python.
- Clone this repo
git clone [email protected]:Mishieck/groq-python-chat.git- Navigate to repo
cd groq-python-chat- Create a virtual environment using your preferred method
- Create environment variable file
touch .env # For linux- Get API key from Groq and set environment variable in
.envfile
GROQ_API_KEY=your_api_key- Set LLM model
MODEL=model_of_your_choiceFor example,
MODEL=mixtral-8x7b-32768-
Install dependencies
- Groq
pip install groq
- Rich
pip install rich
-
Run script
python3 src/main.pyor
python3 src/main.py --unfif you have a Nerd Font installed.
