Skip to content

Mishieck/groq-python-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Groq Python Chat

A chat application that uses Groq implemented using Python.

chat

Instructions

  • 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 .env file
GROQ_API_KEY=your_api_key
  • Set LLM model
MODEL=model_of_your_choice

For example,

MODEL=mixtral-8x7b-32768
  • Install dependencies

    • Groq
    pip install groq
    • Rich
    pip install rich
  • Run script

python3 src/main.py

or

python3 src/main.py --unf

if you have a Nerd Font installed.

About

A command-line AI chat app written in Python. It uses the Groq API for inference.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages