Install ollama and run a model.
Run your chat model
ollama run llama3.1
Message /bye to exit the chat model
/bye
Create a virtual environment
Open the Terminal and create a python virtual environment.
Terminal
Install libraries
pip install -U ollama phidata
Run Ollama Agent
python cookbook/providers/ollama/basic.py
Was this page helpful?