This application is a simple chatbot interface built using Streamlit, designed to interact with users using the LLaMA 3 language model. The chatbot is capable of processing user inputs and generating responses, creating a conversational experience.
- Interactive Chat Interface: Users can communicate with the chatbot in a clean, easy-to-navigate interface.
- Dynamic Response Generation: The chatbot generates responses using the LLaMA 3 model, simulating a typing effect to enhance realism.
- Session Management: The app retains chat history throughout the session, allowing users to view previous messages.
- Configuration Options: Users can input their Groq API key to enable the chatbot functionality.
- Clear Chat History: Users can clear the chat history with a simple button click.
- Python 3.7 or higher
- Streamlit
- Groq SDK
- python-dotenv (for managing environment variables)
- Clone the repository:
git clone https://github.com/hafeezhmha/Llama3-bot.git cd llama3-chatbot
- Install the required packages :
pip install requirements.txt
- Obtain your API key and paste it in the application.
- To run the application, navigate to the project directory and execute:
streamlit run app.py