Skip to main content

Code

cookbook/models/ollama/image_agent_bytes.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install Ollama

Follow the installation guide and run:
3

Install libraries

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