This project is a chatbot example written in Python using the Streamlit library. It connects to your local LLM models through Ollama, ensuring privacy and security.
-
Install Python 3 (using brew on MacOS):
brew install python3
-
Install Ollama by following the instructions at ollama.com
-
Download and run the Llama 3 model:
ollama run llama3.2
-
Navigate to this project directory:
cd your-work-directory
-
Create and activate a virtual environment:
python3 -m venv env source env/bin/activate
-
Install required packages:
pip install -r requirements.txt
streamlit run app.py
Done!