Skip to main content

Code

cookbook/11_models/ollama/image_agent_bytes.py

Usage

1

Set up your virtual environment

2

Install Ollama

Follow the installation guide and run:
3

Install dependencies

4

Add sample image

Place a sample image named sample.jpg in the same directory as your script, or update the image_path to point to your desired image.
5

Run Agent