The GROQ ChatBot is a Streamlit application that allows users to interact with an AI model and receive answers to their questions. The application uses the GROQ API to generate the AI model's answers and provides a user-friendly interface to use the chatbot.
-
make sure that you have installed Python 3.10 or higher.
-
clone the repository:
git clone https://github.com/mmuyakwa/groq-chatbot.git
-
navigate to the project directory:
cd groq-chatbot
-
create a virtual environment and activate it:
python -m venv venv source venv/bin/activate
-
install the required packages:
pip install -r requirements.txt
-
create an
.env
file in the project directory and add your GROQ API key:GROQ_API_KEY=gsk_YOUR-API-KEY-HERE
-
start the application:
streamlit run app.py
The application should now open in your default browser.
- enter your question or prompt in the input field.
- press the Enter key or click on the "Send" button.
- the ChatBot will process your request and return an answer in German.
- the chat history is saved in the application so that you can access it.
- to reset the chat history, click on the "Reset Context Length" button.
This project is licensed under the MIT licence.
- Michael Muyakwa
See also: { 🔍 } GROQ API { 🤖 } Streamlit { 📚 } Python 3.10
You may also enjoy: { 🌐 } Chatbots in Python { 🤖 } AI Language Models { 💬 } Natural Language Processing