Skip to main content

Code

cookbook/apps/playground/ollama_agents.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install Ollama

Follow the instructions on Ollama.com to download and install Ollama.

3

Pull a model

4

Install libraries

5

Run Agent