最近几年,自然语言大模型的快速落地应用发展迅猛,呈现百花齐放的局面。作为内容管理系统里面的领头羊,Drupal社区也推出了AI的集成模块。模块地址:
https://www.drupal.org/project/ai
这个模块提供了一个框架,用于在Drupal站点集成AI功能,支持多种AI供应商。这个模块包含一些列模块,并提供了一个基础的API,用来生成文本内容,图片、内容分析,等等。
它吸取了Search API, Open AI等Drupal模块的成功经验,他提供了一个统一的抽象层,方便集成OpenAI (ChatGPT, DALL-E), Anthropic (Claude), Fireworks, Mistral 这些商用大模块,也可以集成开源的大模型,Olama, LMStudio and Hugginface,支持本地化部署。
这个模块支持开箱即用,同时也允许你定制你自己的模型。
自带多个子模块,
AI Core,AI Explorer,AI Automators,AI Search (Experimental),AI Assistants API + Chatbot,AI CKeditor,AI content,AI external moderation,AI translate等。
支持的AI大模型:
amazee.io
Anthropic
Auphonic
AWS Bedrock
Azure
Deepseek
Deepgram
DeepL Translate
ElevenLabs
Fireworks AI
Google Gemini
Google Vertex
Groq
Huggingface
LiteLLM
lmstudio
Mistral
Ollama
Openai
Perplexity
xAI
注意这里支持DeepSeek,国产大模型。