AI Provider for Azure AI Foundry

توسط

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

  • AI Client integration — usable via wp_ai_client_prompt() and the Settings Connectors page.
  • OpenAI-compatible — uses the Azure AI Foundry /chat/completions endpoint.
  • Capability detection — auto-detects deployed models and capabilities (text generation, chat history, image generation, embeddings, text-to-speech) by probing the Azure endpoint.
  • Multiple endpoint types — supports Azure AI Services, Azure OpenAI, and Cognitive Services endpoints.
  • Auto-detection — discovers all deployed models via POST-based probing. No manual model name or API version configuration needed.
  • Custom authentication — sends the api-key header required by Azure.
  • Endpoint validation — validates Azure endpoint URLs with inline error messages.
  • Environment variable fallback — every setting can be overridden via environment variables or wp-config.php constants.
  • Connectors page UI — custom connector with fields for API key and endpoint URL. Detected deployments and capabilities displayed as read-only chips.

Requirements

  • WordPress 7.0 or later
  • PHP 8.3+
  • An Azure AI Foundry resource with a deployed model

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.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
نسخه حجم فایل SHA256 تغییرات دانلود
1.2.2 938 کیلوبایت -
دانلود
×
بدون امتیاز

قیمت:

رایگان

نگارش

1.2.2

آخرین انتشار

16 اردیبهشت 1405

آخرین بروزرسانی

3 ماه پیش

نصب های فعال

-

نگارش وردپرس

وردپرس 7.0+

تست شده از نسخه

وردپرس 7.0

نگارش PHP

PHP 8.3+

نسخه ها

1 نسخه