Linux 软件免费装

AI Provider for Azure AI Foundry

开发者 PerS
更新时间 2026年4月9日 05:35
PHP版本: 8.3 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

ai azure connector foundry ai-provider

下载

1.2.1

详情介绍:

AI Provider for Azure AI Foundry registers an AI provider with the WordPress 7.0 AI Client, enabling text generation, image generation, embeddings, and text-to-speech via the Azure AI Foundry Model Inference API. Features Requirements Documentation

安装:

From WordPress.org
  1. Go to Plugins → Add New in your WordPress admin.
  2. Search for "AI Provider for Azure AI Foundry".
  3. Click Install Now, then Activate.
Manual Installation
  1. Download the plugin from WordPress.org.
  2. Upload the ai-provider-for-azure-ai-foundry folder to /wp-content/plugins/.
  3. Activate the plugin through the Plugins menu.
Configuration
  1. Go to Settings → Connectors.
  2. Find "Azure AI Foundry" and click Set Up.
  3. Enter your API Key and Endpoint URL.
  4. Click Connect & Detect — the plugin probes your endpoint, discovers deployed models, and saves the configuration automatically.

常见问题:

Where do I get an API key?

Sign in to Azure AI Foundry and create or select a project. Deploy a model and copy the API key from the endpoint details.

What is the Endpoint URL?

The plugin supports three Azure endpoint types:

  • https://{resource}.services.ai.azure.com/api/projects/PROJECT-NAME (Azure AI Services)
  • https://{resource}.openai.azure.com (Azure OpenAI)
  • https://{resource}.cognitiveservices.azure.com (Cognitive Services)
You can find your endpoint in the Azure AI Foundry portal under your model deployment.

Do I need to specify a model name?

No. The plugin auto-detects all deployed models by probing your Azure endpoint. Model names and capabilities are saved automatically when you click "Connect & Detect".

Can I configure settings without the admin UI?

Yes. Set any of these environment variables or define them as constants in wp-config.php:

  • AZURE_AI_FOUNDRY_API_KEY
  • AZURE_AI_FOUNDRY_ENDPOINT
  • AZURE_AI_FOUNDRY_MODEL (comma-separated deployment names)
  • AZURE_AI_FOUNDRY_CAPABILITIES (comma-separated, e.g. text_generation,chat_history)

What capabilities are supported?

The plugin supports five capabilities: text_generation, chat_history, image_generation, embedding_generation, and text_to_speech_conversion. By default, text_generation and chat_history are enabled. Use "Connect & Detect" to discover capabilities automatically.

What API version is used?

The plugin uses 2025-04-01-preview for the Azure OpenAI surface. This is hardcoded and not user-configurable.

更新日志:

1.2.1 1.2.0 1.1.1 1.1.0 1.0.0 0.3.3 0.3.2 0.3.1 0.3.0 0.2.0 0.1.0