Install

Works with Drupal: ^10.3 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 28.79 KB
MD5: 4085fc2a7680d525e16545c22ecd4a73
SHA-1: f97a3fd07a891427f7dad214195cba7f5b0a900e
SHA-256: 7197bdc1f2b31579e61ceecce4238ab3eb20dd46eca73e5802f843970ee20163
Download zip 37.48 KB
MD5: 5b2c878fd595c077502a52f186685831
SHA-1: 1179d2bd20a1970e4cd3f64d0b734e8cc5b7ba0a
SHA-256: 279c415419648f1803137c700b2dd4cf79ba76133a1b2f418881207223bbf3ba

Release notes

This release significantly expands the capabilities of the Docker Model Runner provider for Drupal AI, adding support for 8 new operation types including full multimodal vision capabilities.

New Features & Supported Operation Types:

  • Object Detection (ObjectDetectionInterface): Detect objects within images with bounding box coordinates (xmin, ymin, xmax, ymax) and confidence scores using native multimodal vision models like Gemma 3.
  • Image Classification (ImageClassificationInterface): Classify images into predefined candidate categories or open-ended visual concepts with confidence scores.
  • Extractive Question Answering (ExtractiveQuestionAnsweringInterface): Extract exact answer spans with start and end character offsets from contextual documents.
  • ReRank (ReRankInterface): Re-rank search results and retrieved passages by semantic relevance to a query for enhanced RAG workflows.
  • Text Classification (TextClassificationInterface): Multi-class and multi-label text categorization with confidence scores.
  • Content Moderation (ModerationInterface): Flag unsafe content across safety categories (hate, violence, sexual, self-harm) with confidence scoring.
  • Text Summarization (SummarizationInterface): Extractive and abstractive text summarization.
  • Text Translation (TranslateTextInterface): Translate text across languages using local LLMs.

Quality & Testing:

  • 52 PHPUnit unit tests (264 assertions) covering all operations, prompt formatting, and edge cases.
  • 100% Drupal Coding Standards (phpcs Drupal, DrupalPractice) and PHPStan Level 5 compliance.
  • Fully verified on Drupal 10 and Drupal 11 with Docker Model Runner.
  • Fully compatible with Drupal AI API Explorers and AI Automators.

Commits since 1.0.0-alpha1:

  • e01ea40: Support object detection operation with ObjectDetectionInterface
  • 115fbe5: Support image classification operation with ImageClassificationInterface
  • 64a1962: Support extractive question answering operation with ExtractiveQuestionAnsweringInterface
  • 65d4a42: Support rerank operation with ReRankInterface
  • a415c8f: Support text classification operation with TextClassificationInterface
  • 981ea00: Improve content moderation system prompt with few-shot guidance
  • 2734aff: Support content moderation operation with ModerationInterface
  • 819caa0: Add automator and automators to .cspell-project-words.txt
  • 4053837: Support text summarization operation with SummarizationInterface
  • 2b253e9: Support text translation operation with TranslateTextInterface
Created by: davidlfg
Created on: 18 Nov 2026 at 04:31 UTC
Last updated: 18 Nov 2026 at 04:31 UTC
New features

Other releases