Skip to main content
This example demonstrates a multi-modal RAG agent that uses Groq and OpenAITools to search a PDF recipe knowledge base and generate a step-by-step visual guide for recipes.

Code

ref/recipe_rag_image.py

Usage

1

Install dependencies

2

Run the example

By default, the generated image will be saved to tmp/recipe_image.png.