This project is not covered by Drupal’s security advisory policy.

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

  1. composer require 'drupal/ai_recipe_agent_image_search_vector:^1.0@dev'
  2. drush recipe ai_recipe_agent_image_search_vector
  3. 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 Vector and AI Image Classification recipes.

The image classification requires you to have setup a Chat provider like OpenAI, Anthropic, Ollama and a vector providers like Milvus or Postgres.

Note: The AI module has a default system setup, meaning that you can use this result on any Chat and Vector provider combination.

Supporting organizations: 
Development

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Ecosystem: AI (Artificial Intelligence)
  • By marcus_johansson on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases