Try the Project quickly with Python Venv's:
python -m venv streamllama #create it
streamllama\Scripts\activate #activate venv (windows)
source streamllama/bin/activate #(linux)
pip install -r requirements.txt #all at once
streamlit run ollama_chatbot.py
Make sure to have ollama ready and running your desired model!
This repo contains the completed code for the YouTube tutorial video series:
Build Your Own AI Chatbot with Streamlit and Ollama: A Step-by-Step Tutorial
Run the command below to clone the completed project code.
git clone https://github.com/DevTechBytes/Streamlit-Ollama-Chatbot.git
Run the command below to clone the starter project.
git clone --single-branch --branch starter_project https://github.com/DevTechBytes/Streamlit-Ollama-Chatbot.git
- Ability to select different Ollama models to be used by the chatbot
- Streaming output when responding to users like ChatGPT
ollama serve
ollama run <model_name>
ollama run llama2-uncensored
ollama pull <model_name>
ollama pull llama2-uncensored
ollama list
ollama rm <model_name>
ollama rm llama2-uncensored