drupal / ai_recipe_agent_image_search_db
Adds an agent for searching images using the Search API database index.
Package info
git.drupalcode.org/project/ai_recipe_agent_image_search_db.git
Type:drupal-recipe
pkg:composer/drupal/ai_recipe_agent_image_search_db
Requires
- drupal/ai_agents: ^1.3
- drupal/ai_recipe_image_search_db: 1.0.x-dev
- drupal/tool_search: 1.0.x-dev
This package is auto-updated.
Last update: 2026-06-03 13:48:10 UTC
README
This recipe adds an AI agent that can search for images using a Search API database index. It uses the tool_search module to perform searches against the specified index, allowing the agent to find relevant images based on search terms.
You can ask it questions like:
- "Find images of sunsets."
- "Show me pictures of cats."
- "Are there any images of the Eiffel Tower?"
Tools
The agent uses the following tools from the tool_search module, which provides a general interface and is working together with the database index created by the ai_recipe_image_search_db recipe.
Installation
To set up this recipe, you can use Composer to require it:
composer require 'drupal/ai_recipe_agent_image_search_db:^1.0@dev'
Then, install the recipe through the Drupal admin interface or using Drush:
drush recipe ai_recipe_agent_image_search_db