Streamlit Chatbot with Llama-3 chat
Before running the Streamlit Chatbot with Memory, you need to have the following installed:
- Python (version 3.6 or higher)
- Ollama (llama3 model - 4.7 GB)
To set up the chatbot locally, follow these steps:
- Clone this repository to your local machine using Git and cd into the folder:
git clone https://github.com/Harshit9369/Llama-3-Chatbot.git
- Create a virtual environment (optional but recommended) and activate it:
python -m venv venv
source venv/bin/activate
- Install the required Python packages:
pip install -r requirements.txt
To run the Streamlit Chatbot with Memory, execute the following command:
streamlit run app.py
This will start the Streamlit server, and you can access the chatbot interface by opening your web browser and navigating to https://localhost:8501
.
Simply type your messages in the input box and press "Enter" to send them to the chatbot. The chatbot will respond based on the context of the conversation, thanks to its memory capabilities.