Azure AI API provider: Difference between revisions
From MoodleDocs
Helen Foster (talk | contribs) mNo edit summary |
Helen Foster (talk | contribs) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{AI subsystem}} | {{AI subsystem}} | ||
Moodle | The Moodle integration with Azure AI provides access to AI actions such as generate text, summarise text and explain text. | ||
For more information | For more information on Azure AI, see the [https://learn.microsoft.com/en-us/azure/ai-services/openai Azure OpenAI documentation]. | ||
==Requirements== | ==Requirements== | ||
You need an active Azure account. If you don't have one, you can create it in the [https://portal.azure.com Azure portal]. | |||
Make sure you have an active subscription to access [https://learn.microsoft.com/en-us/azure/ai-services/openai/quotas-limits Azure AI services]. Obtain the API key and endpoint from the [https://portal.azure.com Azure portal] to authenticate your requests. (This is found under the "Keys and Endpoint" section of your resource.) | |||
==Azure AI provider instance set-up== | |||
To create a provider instance: | |||
# Go to ''Site administration > General > AI providers''. | |||
# Click 'Create a new provider instance'. | |||
# Select Azure AI as AI provider plugin, enter a name and Azure AI API key from your [https://portal.azure.com Azure AI account]. | |||
# Enter the Azure AI API endpoint URL in the format <nowiki>https://YOUR_RESOURCE_NAME.openai.azure.com</nowiki>. | |||
# If required, set a site-wide rate limit and/or a user rate limit. | |||
# Click 'Create instance'. | |||
To configure the Azure AI provider instance: | |||
# Go to ''Site administration > General > AI providers''. | |||
# Click the settings link for Azure AI. | |||
# Enable/disable actions as required. | |||
' | For each action, you can customise the model's behaviour via the settings link. | ||
# Deployment ID: The unique identifier assigned to a specific model deployment, which you can find in the "Deployments" section of your Azure OpenAI resource in the Azure Portal. | |||
# API version: You can find the latest available version under the "API Management" section of your [https://learn.microsoft.com/en-us/azure/ai-services/openai/ Azure OpenAI] resource. | |||
# Review and amend the system instruction as necessary. | |||
# Save changes. | |||
To enable the Azure AI provider instance: | |||
# Go to ''Site administration > General > AI providers''. | |||
# Click the toggle to enable the instance. | |||
[[es:Proveedor Azure AI API]] | [[es:Proveedor Azure AI API]] | ||
[[de:Azure-KI-API-Anbieter]] | [[de:Azure-KI-API-Anbieter]] | ||
Latest revision as of 08:57, 25 June 2025
The Moodle integration with Azure AI provides access to AI actions such as generate text, summarise text and explain text.
For more information on Azure AI, see the Azure OpenAI documentation.
Requirements
You need an active Azure account. If you don't have one, you can create it in the Azure portal.
Make sure you have an active subscription to access Azure AI services. Obtain the API key and endpoint from the Azure portal to authenticate your requests. (This is found under the "Keys and Endpoint" section of your resource.)
Azure AI provider instance set-up
To create a provider instance:
- Go to Site administration > General > AI providers.
- Click 'Create a new provider instance'.
- Select Azure AI as AI provider plugin, enter a name and Azure AI API key from your Azure AI account.
- Enter the Azure AI API endpoint URL in the format https://YOUR_RESOURCE_NAME.openai.azure.com.
- If required, set a site-wide rate limit and/or a user rate limit.
- Click 'Create instance'.
To configure the Azure AI provider instance:
- Go to Site administration > General > AI providers.
- Click the settings link for Azure AI.
- Enable/disable actions as required.
For each action, you can customise the model's behaviour via the settings link.
- Deployment ID: The unique identifier assigned to a specific model deployment, which you can find in the "Deployments" section of your Azure OpenAI resource in the Azure Portal.
- API version: You can find the latest available version under the "API Management" section of your Azure OpenAI resource.
- Review and amend the system instruction as necessary.
- Save changes.
To enable the Azure AI provider instance:
- Go to Site administration > General > AI providers.
- Click the toggle to enable the instance.