Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Alibaba Cloud Provider

No security coverage Under active development 21 sites

Part of the AI ecosystem · 343 projects

This project integrates Alibaba Cloud's Qwen models into Drupal, offering chat and embedding capabilities. It supports both OpenAI-compatible and native DashScope API modes with features like streaming, tool usage, and structured JSON outputs.

Integrates Alibaba Cloud Model Studio (Qwen) with Drupal AI. Provides chat and embeddings with streaming, tools/function calling, and JSON-schema outputs via a secure API key and unified settings.

Features

  • Drupal AI Provider: Adds Alibaba Cloud (Qwen) as a first-class provider to the AI module’s unified framework.
  • Operation types: Chat & Embeddings (via ChatInterface / EmbeddingsInterface in the AI module).
  • Two API modes: OpenAI-compatible or DashScope native — switchable in settings.
  • Streaming (SSE): Optional live token streaming; toggle “Include usage in stream” (compatible mode).
  • Tools / Function Calling: Pass tool definitions; receives tool call outputs when models support it.
  • Structured JSON output: Supply a JSON Schema to guide responses (native mode parameters supported).
  • Model selection: Choose Qwen models (e.g., qwen-max, qwen-plus, qwen-turbo, qwen-flash, qwen-coder).
  • Embeddings: Select text-embedding models (v1–v4) with configurable vector dimensions.
  • Region aware endpoints: intl and cn regions; switch per your account/latency.
  • Tunable parameters: temperature, top-p, penalties, max tokens, repetition penalty (native mode), “thinking” options where supported.
  • Secure key storage: Uses the Key module; no keys in config exports.

Post-Installation

  1. Enable ai, key, and this provider module.
  2. Create an API key in Alibaba Cloud Model Studio (DashScope) and store it as a Key entity.
  3. Go to /admin/config/ai/providers/alibabacloud:
    • Select the stored API Key.
    • Choose Region (intl or cn).
    • Pick API Mode (OpenAI-compatible or DashScope native).
    • (Optional) Enable Streaming, “Include usage in stream”, and adjust the Timeout.
  4. (Optional) In /admin/config/ai/settings, set Alibaba Cloud as the default provider per operation type and pick your default models.
  5. (Optional) Enable AI ecosystem submodules (e.g., AI Chatbot, AI CKEditor) to use Qwen in editorial workflows.

Additional Requirements

  • Drupal ^10.3 or ^11.
  • Modules: ai (Drupal AI) and key.
  • Account & API: Alibaba Cloud account with Model Studio (DashScope) API access and a valid API key.
  • AI CKEditor – inline suggestions and edits backed by Qwen.
  • AI Chatbot / Assistant – site assistants that call Qwen models.
  • (Optional) Vector/semantic search integration to consume embeddings in your search stack.

Similar projects

Comparable AI providers in the same ecosystem include:
OpenAI,
Anthropic,
Groq,
DeepSeek,
Amazee.io.
This project focuses on Alibaba Cloud Model Studio (Qwen) with both compatible and native modes.

Supporting this Module

If this provider helps your team, consider sponsoring maintenance and feature work (Patreon, OpenCollective, GitHub Sponsors, etc.).

Community Documentation

You may continue to put additional information below here, if there are other things you think people need to know about your module.

Ask your assistant about Alibaba Cloud Provider

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Sep 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.0-alpha1 Pre-release 10–11 Sep 9, 2025
1.0.x-dev Dev 10–11 Sep 9, 2025