Example

Usage

Install ollama and run a model.

1

Run your chat model

ollama run llama3.1

Message /bye to exit the chat model

2

Create a virtual environment

Open the Terminal and create a python virtual environment.

3

Install libraries

pip install -U ollama phidata
4

Run Ollama Agent

python cookbook/providers/ollama/basic.py

Information