ai_recipe_agent_image_search_db
No security coverage
A read-only agent that searches the images indexed on your site and reports back the ones that match what you are looking for.
This is mainly a subagent. It is designed to be called by other agents or assistants that need to find images as part of a larger task, rather than to be used on its own. You can expose it directly if you want, but on its own it only returns plain results (name, media id and image URL) and never renders images as markup unless you explicitly ask it to.
Example things you can ask
- Find images of a red car on a city street.
- Show me photos that contain a dog and a beach.
- Search for images tagged with "sunset" and give me their media ids.
- Do we have any pictures of people riding bicycles?
Installation
-
composer require 'drupal/ai_recipe_agent_image_search_db:^1.0@dev' -
drush recipe ai_recipe_agent_image_search_db - Create/Resave all media images you have, to make sure they are classified and indexed.
Requirements
This builds on top of the AI Image Search for DB and AI Image Classification recipes.
The image classification requires you to have setup a Chat provider like OpenAI, Anthropic, Ollama