Skip to content

Commit 28c78cb

Browse files
Merge pull request #7410 from MicrosoftDocs/main
Auto Publish – main to live - 2025-10-01 05:03 UTC
2 parents c359015 + 47b847c commit 28c78cb

File tree

13 files changed

+461
-101
lines changed

13 files changed

+461
-101
lines changed

articles/ai-foundry/foundry-models/how-to/quickstart-github-models.md

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,75 +15,83 @@ recommendations: false
1515

1616
# Upgrade from GitHub Models to Azure AI Foundry Models
1717

18-
In this article, you learn to develop a generative AI application by starting from GitHub Models and then upgrading your experience by deploying an Azure AI Services resource with Azure AI Foundry Models.
18+
In this article, you learn to develop a generative AI application by starting from GitHub Models and then upgrade your experience by deploying an Azure AI Services resource with Azure AI Foundry Models.
1919

20-
[GitHub Models](https://docs.github.com/en/github-models/) are useful when you want to find and experiment with AI models for free as you develop a generative AI application. When you're ready to bring your application to production, upgrade your experience by deploying an Azure AI Services resource in an Azure subscription and start using Azure AI Foundry Models service. You don't need to change anything else in your code.
20+
[GitHub Models](https://docs.github.com/en/github-models/) are useful when you want to find and experiment with AI models for free as you develop a generative AI application. When you're ready to bring your application to production, upgrade your experience by deploying an Azure AI Services resource in an Azure subscription and start using Foundry Models. You don't need to change anything else in your code.
2121

2222
The playground and free API usage for GitHub Models are [rate limited](https://docs.github.com/en/github-models/prototyping-with-ai-models#rate-limits) by requests per minute, requests per day, tokens per request, and concurrent requests. If you get rate limited, you need to wait for the rate limit that you hit to reset before you can make more requests.
2323

2424
## Prerequisites
2525

2626
To complete this tutorial, you need:
2727

28-
* A GitHub account with access to [GitHub Models](https://docs.github.com/en/github-models/).
29-
* An Azure subscription. If you don't have one, you're prompted to create or update your Azure account to a Standard account when you're ready to deploy your model to production.
28+
- A GitHub account with access to [GitHub Models](https://docs.github.com/en/github-models/).
29+
- An Azure subscription with a valid payment method. If you don't have an Azure subscription, create a [paid Azure account](https://azure.microsoft.com/pricing/purchase-options/pay-as-you-go) to begin. Alternatively, you can wait until you're ready to deploy your model to production, at which point you'll be prompted to create or update your Azure account to a standard account.
30+
- [Foundry Models from partners and community](../concepts/models-from-partners.md) require access to **Azure Marketplace**. Ensure you have the [permissions required to subscribe to model offerings](configure-marketplace.md). [Foundry Models sold directly by Azure](../concepts/models-sold-directly-by-azure.md) don't have this requirement.
31+
3032

3133
## Upgrade to Azure AI Foundry Models
3234

3335
The rate limits for the playground and free API usage help you experiment with models and develop your AI application. When you're ready to bring your application to production, use a key and endpoint from a paid Azure account. You don't need to change anything else in your code.
3436

3537
To get the key and endpoint:
3638

37-
1. Go to [GitHub Models](https://github.com/marketplace/models) and select the model you're interested in.
39+
1. Go to [GitHub Models](https://github.com/marketplace/models) and select a model to land on its playground. This article uses Mistral Large 24.11.
3840

39-
1. In the playground for your model, select **Get API key**.
41+
1. Type in some prompts or use some of the suggested prompts to interact with the model in the playground.
4042

41-
1. Select **Get production key**.
43+
1. Select **Use this model** from the playground. This action opens up a window to "Get started with Models in your codebase".
4244

43-
:::image type="content" source="../media/quickstart-github-models/github-models-upgrade.gif" alt-text="An animation showing how to upgrade GitHub Models to get a production ready resource." lightbox="../media/quickstart-github-models/github-models-upgrade.gif":::
45+
1. In the "Configure authentication" step, select **Get Azure AI key** from the "Azure AI" section.
4446

45-
1. If you don't have an Azure account, select **Create my account** and follow the steps to create one.
47+
:::image type="content" source="../media/quickstart-github-models/github-models-get-production-key.png" alt-text="A screenshot showing how to get the Azure AI production key from the playground of a GitHub Model." lightbox="../media/quickstart-github-models/github-models-get-production-key.png":::
4648

47-
1. If you have an Azure account, select **Sign back in**.
49+
1. If you're already signed in to your Azure account, skip this step. However, if you don't have an Azure account or you're not signed in to your account, follow these steps:
4850

49-
1. If your existing account is a free account, you first have to upgrade to a Standard plan. Once you upgrade, go back to the playground and select **Get API key** again, then sign in with your upgraded account.
51+
1. If you don't have an Azure account, select **Create my account** and follow the steps to create one.
5052

51-
1. When you sign in to your Azure account, you're taken to [Azure AI Foundry > GitHub](https://ai.azure.com/GitHub). It might take one or two minutes to load your initial model details in AI Foundry.
53+
1. Alternatively, if you have an Azure account, select **Sign back in**. If your existing account is a free account, you first have to upgrade to a standard plan.
5254

53-
1. The page loads with your model's details. Select the **Deploy** button to deploy the model to your account.
55+
1. Return to the model's playground and select **Get Azure AI key** again.
5456

55-
1. When it's deployed, your model's API Key and endpoint appear in the Overview. Use these values in your code to use the model in your production environment.
57+
1. Sign in to your Azure account.
58+
59+
1. You're taken to [Azure AI Foundry > GitHub](https://ai.azure.com/GitHub), and the page loads with your model's details. It might take one or two minutes to load your model details in Azure AI Foundry.
5660

57-
At this point, the model you selected is ready to consume.
61+
1. For [Foundry Models from partners and community](../concepts/models-from-partners.md), you need to subscribe to Azure Marketplace. This requirement applies to Mistral-Large-2411, for example. Select **Agree and Proceed** to accept the terms.
5862

59-
## Upgrade your code to use the new endpoint
63+
1. Select the **Deploy** button to deploy the model to your account.
6064

61-
After you configure your Azure AI Services resource, you can start using it from your code. To use the Azure AI Services resource, you need the endpoint URL and key, which you can find in the **Overview** section:
65+
1. When your deployment is ready, you land on your project's **Overview** page, where you can see the Azure AI Foundry project's endpoint.
6266

63-
:::image type="content" source="../media/overview/overview-endpoint-and-key.png" alt-text="Screenshot showing how to get the URL and key associated with the resource." lightbox="../media/overview/overview-endpoint-and-key.png":::
67+
1. To get the specific model's endpoint URL and API key, go to the **Models + endpoints** tab in the left pane of the Azure AI Foundry portal and select the deployed model. The endpoint's target URI and API key are visible on the deployment's details page. Use these values in your code to use the model in your production environment.
6468

65-
You can use any of the supported SDKs to get predictions from the endpoint. The following SDKs are officially supported:
69+
:::image type="content" source="../media/quickstart-github-models/deployment-endpoint-and-key.png" alt-text="Screenshot showing how to get the URL and key associated with the deployment." lightbox="../media/quickstart-github-models/deployment-endpoint-and-key.png":::
70+
71+
## Use the new endpoint
72+
73+
To use your deployed model with code, you need the model's endpoint URL and key, which you saw in the previous section. You can use any of the supported SDKs to get predictions from the endpoint. The following SDKs are officially supported:
6674

6775
* OpenAI SDK
6876
* Azure OpenAI SDK
6977
* Azure AI Inference SDK
7078

71-
For more details and examples, see the [supported languages and SDKs](../supported-languages.md) section. The following example shows how to use the Azure AI Foundry Models SDK with the newly deployed model:
79+
For more details and examples, see [supported languages and SDKs](../supported-languages.md). The following example shows how to use the Azure AI Inference SDK with the newly deployed model:
7280

7381
[!INCLUDE [code-create-chat-client](../../foundry-models/includes/code-create-chat-client.md)]
7482

7583
Generate your first chat completion:
7684

7785
[!INCLUDE [code-create-chat-completion](../../foundry-models/includes/code-create-chat-completion.md)]
7886

79-
Use the parameter `model="<deployment-name>` to route your request to this deployment. *Deployments work as an alias of a given model under certain configurations*. See [Routing](inference.md#routing) concept page to learn how Azure AI Services route deployments.
87+
Use the parameter `model="<deployment-name>` to route your request to this deployment. *Deployments work as an alias of a given model under certain configurations*.
8088

8189
> [!IMPORTANT]
8290
> Unlike GitHub Models where all the models are already configured, the Azure AI Services resource allows you to control which models are available in your endpoint and under which configuration. Add as many models as you plan to use before indicating them in the `model` parameter. Learn how to [add more models](../../model-inference/how-to/create-model-deployments.md) to your resource.
8391
8492
## Explore additional features
8593

86-
Azure AI Foundry Models supports additional features that aren't available in GitHub Models, including:
94+
Azure AI Foundry Models supports extra features that aren't available in GitHub Models, including:
8795

8896
* [Explore the model catalog](https://ai.azure.com/github/models) to see more models.
8997
* Configure [key-less authentication](../../model-inference/how-to/configure-entra-id.md).
@@ -94,7 +102,7 @@ Azure AI Foundry Models supports additional features that aren't available in Gi
94102

95103
## Troubleshooting
96104

97-
See the [FAQ section](../../foundry-models/faq.yml) for more help.
105+
For more help, see the [FAQ section](../../foundry-models/faq.yml).
98106

99107
## Related content
100108

articles/ai-foundry/foundry-models/includes/create-model-deployments/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ To complete this article, you need:
2121
* An Azure AI Foundry project. This kind of project is managed under an Azure AI Foundry resource (formerly known as Azure AI Services resource). If you don't have a Foundry project, see [Create a project for Azure AI Foundry (Foundry projects)](../../../how-to/create-projects.md).
2222

2323

24-
* [Models from Partners and Community](../../concepts/models.md#models-from-partners-and-community) require access to **Azure Marketplace**. Ensure you have the [permissions required to subscribe to model offerings](../../how-to/configure-marketplace.md). [Models Sold Directly by Azure](../../concepts/models.md#models-sold-directly-by-azure) don't have this requirement.
24+
* [Foundry Models from partners and community](../../concepts/models-from-partners.md) require access to **Azure Marketplace**. Ensure you have the [permissions required to subscribe to model offerings](../../how-to/configure-marketplace.md). [Foundry Models sold directly by Azure](../../concepts/models-sold-directly-by-azure.md) don't have this requirement.
158 KB
Loading
233 KB
Loading
-908 KB
Binary file not shown.

articles/ai-foundry/how-to/continuous-evaluation-agents.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ author: lgayhardt
1616

1717
Continuous evaluation for Agents provides near real-time observability and monitoring for your AI application. Once enabled, this feature continuously evaluates agent interactions at a set sampling rate to provide insights into quality, safety, and performance with metrics surfaced in the Foundry Observability dashboard. By using continuous evaluation, you're able to identify and troubleshoot issues early, optimize agent performance, and maintain safety. Evaluations are also connected to [traces](./develop/trace-application.md) to enable detailed debugging and root cause analysis.
1818

19-
## Getting Started
20-
21-
### Prerequisites
19+
## Prerequisites
2220

2321
[!INCLUDE [uses-fdp-only](../includes/uses-fdp-only.md)]
2422

@@ -31,6 +29,22 @@ Continuous evaluation for Agents provides near real-time observability and monit
3129
2. Select **Monitoring** on the left-hand menu and go to **Application Analytics**.
3230
3. Connect your Application Insights resource to the project.
3331

32+
## Azure AI Foundry project configuration and region support
33+
34+
Since the evaluators use hosted evaluation LLMs in the Azure AI Foundry evaluation service, they require your Azure AI project information to be instantiated. The Azure AI project must be in a supported region:
35+
36+
> [!div class="mx-tdCol2BreakAll"]
37+
> | Region | Code Vulnerability, Coherence, Fluency, Hate/Unfairness, Indirect Attack, Intent Resolution, Relevance, Self-Harm, Sexual, Task Adherence, Tool Call Accuracy, Violence |
38+
> |--|--|
39+
> | East US | Supported |
40+
> | East US 2 | Supported |
41+
> | West US | Supported |
42+
> | West US 2 | Supported |
43+
> | West US 3 | Supported |
44+
> | France Central | Supported |
45+
> | Norway East | Supported |
46+
> | Sweden Central| Supported |
47+
3448
## Set up continuous evaluations with Azure AI projects client library
3549

3650
```python

articles/ai-foundry/openai/includes/model-matrix/datazone-standard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ ms.custom:
2626
| swedencentral |||||||||||||||||
2727
| westeurope | - | - | - | - | - ||||||||||||
2828
| westus | - | - | - | - | - ||||||||||||
29-
| westus3 | - | - | - | - | - ||||||||||||
29+
| westus3 | - | - | - | - | - ||||||||||||

0 commit comments

Comments
 (0)