Code
cookbook/models/ibm/watsonx/image_agent_bytes.py
Usage
This example shows how to use IBM WatsonX with vision capabilities. It loads an image from a file and passes it to the model along with a prompt. The model can then analyze the image and provide relevant information.
Note: This example uses a vision-capable model (
meta-llama/llama-3-2-11b-vision-instruct) and requires a sample image file.