Skip to content

Commit 7553f0b

Browse files
authored
Merge pull request #2257 from MicrosoftDocs/main
OOB Publish 1/13/2025 - 9:00AM PST
2 parents 70337bc + ae43fa7 commit 7553f0b

File tree

7 files changed

+2125
-44
lines changed

7 files changed

+2125
-44
lines changed

articles/ai-studio/how-to/deploy-models-mistral-codestral.md

Lines changed: 2067 additions & 0 deletions
Large diffs are not rendered by default.

articles/ai-studio/how-to/deploy-models-mistral-nemo.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ zone_pivot_groups: azure-ai-model-catalog-samples-chat
1818

1919
[!INCLUDE [feature-preview](../includes/feature-preview.md)]
2020

21-
In this article, you learn about Mistral Nemo chat model and how to use them.
22-
Mistral AI offers two categories of models. Premium models including [Mistral Large and Mistral Small](deploy-models-mistral.md), available as serverless APIs with pay-as-you-go token-based billing. Open models including [Mistral Nemo](deploy-models-mistral-nemo.md), [Mixtral-8x7B-Instruct-v01, Mixtral-8x7B-v01, Mistral-7B-Instruct-v01, and Mistral-7B-v01](deploy-models-mistral-open.md); available to also download and run on self-hosted managed endpoints.
21+
In this article, you learn about Mistral Nemo chat model and how to use it.
22+
Mistral AI offers two categories of models, namely:
23+
24+
- _Premium models_: These include [Mistral Large, Mistral Small, and Ministral 3B](deploy-models-mistral.md) models, and are available as serverless APIs with pay-as-you-go token-based billing.
25+
- _Open models_: These include [Codestral](deploy-models-mistral-codestral.md) and Mistral Nemo (that are available as serverless APIs with pay-as-you-go token-based billing), and [Mixtral-8x7B-Instruct-v01, Mixtral-8x7B-v01, Mistral-7B-Instruct-v01, and Mistral-7B-v01](deploy-models-mistral-open.md)(that are available to download and run on self-hosted managed endpoints).
26+
2327

2428
[!INCLUDE [models-preview](../includes/models-preview.md)]
2529

@@ -276,7 +280,7 @@ The following extra parameters can be passed to Mistral Nemo chat model:
276280

277281
### Safe mode
278282

279-
Mistral Nemo chat model support the parameter `safe_prompt`. You can toggle the safe prompt to prepend your messages with the following system prompt:
283+
Mistral Nemo chat model supports the parameter `safe_prompt`. You can toggle the safe prompt to prepend your messages with the following system prompt:
280284

281285
> Always assist with care, respect, and truth. Respond with utmost utility yet securely. Avoid harmful, unethical, prejudiced, or negative content. Ensure replies promote fairness and positivity.
282286
@@ -297,7 +301,7 @@ response = client.complete(
297301

298302
### Use tools
299303

300-
Mistral Nemo chat model support the use of tools, which can be an extraordinary resource when you need to offload specific tasks from the language model and instead rely on a more deterministic system or even a different language model. The Azure AI Model Inference API allows you to define tools in the following way.
304+
Mistral Nemo chat model supports the use of tools, which can be an extraordinary resource when you need to offload specific tasks from the language model and instead rely on a more deterministic system or even a different language model. The Azure AI Model Inference API allows you to define tools in the following way.
301305

302306
The following code example creates a tool definition that is able to look from flight information from two different cities.
303307

@@ -735,7 +739,7 @@ The following extra parameters can be passed to Mistral Nemo chat model:
735739
736740
### Safe mode
737741
738-
Mistral Nemo chat model support the parameter `safe_prompt`. You can toggle the safe prompt to prepend your messages with the following system prompt:
742+
Mistral Nemo chat model supports the parameter `safe_prompt`. You can toggle the safe prompt to prepend your messages with the following system prompt:
739743
740744
> Always assist with care, respect, and truth. Respond with utmost utility yet securely. Avoid harmful, unethical, prejudiced, or negative content. Ensure replies promote fairness and positivity.
741745
@@ -761,7 +765,7 @@ var response = await client.path("/chat/completions").post({
761765
762766
### Use tools
763767
764-
Mistral Nemo chat model support the use of tools, which can be an extraordinary resource when you need to offload specific tasks from the language model and instead rely on a more deterministic system or even a different language model. The Azure AI Model Inference API allows you to define tools in the following way.
768+
Mistral Nemo chat model supports the use of tools, which can be an extraordinary resource when you need to offload specific tasks from the language model and instead rely on a more deterministic system or even a different language model. The Azure AI Model Inference API allows you to define tools in the following way.
765769
766770
The following code example creates a tool definition that is able to look from flight information from two different cities.
767771
@@ -1214,7 +1218,7 @@ The following extra parameters can be passed to Mistral Nemo chat model:
12141218

12151219
### Safe mode
12161220

1217-
Mistral Nemo chat model support the parameter `safe_prompt`. You can toggle the safe prompt to prepend your messages with the following system prompt:
1221+
Mistral Nemo chat model supports the parameter `safe_prompt`. You can toggle the safe prompt to prepend your messages with the following system prompt:
12181222

12191223
> Always assist with care, respect, and truth. Respond with utmost utility yet securely. Avoid harmful, unethical, prejudiced, or negative content. Ensure replies promote fairness and positivity.
12201224

@@ -1237,7 +1241,7 @@ Console.WriteLine($"Response: {response.Value.Choices[0].Message.Content}");
12371241

12381242
### Use tools
12391243

1240-
Mistral Nemo chat model support the use of tools, which can be an extraordinary resource when you need to offload specific tasks from the language model and instead rely on a more deterministic system or even a different language model. The Azure AI Model Inference API allows you to define tools in the following way.
1244+
Mistral Nemo chat model supports the use of tools, which can be an extraordinary resource when you need to offload specific tasks from the language model and instead rely on a more deterministic system or even a different language model. The Azure AI Model Inference API allows you to define tools in the following way.
12411245

12421246
The following code example creates a tool definition that is able to look from flight information from two different cities.
12431247

@@ -1752,7 +1756,7 @@ The following extra parameters can be passed to Mistral Nemo chat model:
17521756
17531757
### Safe mode
17541758
1755-
Mistral Nemo chat model support the parameter `safe_prompt`. You can toggle the safe prompt to prepend your messages with the following system prompt:
1759+
Mistral Nemo chat model supports the parameter `safe_prompt`. You can toggle the safe prompt to prepend your messages with the following system prompt:
17561760
17571761
> Always assist with care, respect, and truth. Respond with utmost utility yet securely. Avoid harmful, unethical, prejudiced, or negative content. Ensure replies promote fairness and positivity.
17581762
@@ -1785,7 +1789,7 @@ extra-parameters: pass-through
17851789
17861790
### Use tools
17871791
1788-
Mistral Nemo chat model support the use of tools, which can be an extraordinary resource when you need to offload specific tasks from the language model and instead rely on a more deterministic system or even a different language model. The Azure AI Model Inference API allows you to define tools in the following way.
1792+
Mistral Nemo chat model supports the use of tools, which can be an extraordinary resource when you need to offload specific tasks from the language model and instead rely on a more deterministic system or even a different language model. The Azure AI Model Inference API allows you to define tools in the following way.
17891793
17901794
The following code example creates a tool definition that is able to look from flight information from two different cities.
17911795
@@ -2030,11 +2034,11 @@ For more examples of how to use Mistral models, see the following examples and t
20302034

20312035
Quota is managed per deployment. Each deployment has a rate limit of 200,000 tokens per minute and 1,000 API requests per minute. However, we currently limit one deployment per model per project. Contact Microsoft Azure Support if the current rate limits aren't sufficient for your scenarios.
20322036
2033-
Mistral models deployed as a serverless API are offered by MistralAI through the Azure Marketplace and integrated with Azure AI Foundry for use. You can find the Azure Marketplace pricing when deploying the model.
2037+
Mistral models deployed as a serverless API are offered by MistralAI through Azure Marketplace and integrated with Azure AI Foundry for use. You can find Azure Marketplace pricing when deploying the model.
20342038
2035-
Each time a project subscribes to a given offer from the Azure Marketplace, a new resource is created to track the costs associated with its consumption. The same resource is used to track costs associated with inference; however, multiple meters are available to track each scenario independently.
2039+
Each time a project subscribes to a given offer from Azure Marketplace, a new resource is created to track the costs associated with its consumption. The same resource is used to track costs associated with inference; however, multiple meters are available to track each scenario independently.
20362040
2037-
For more information on how to track costs, see [Monitor costs for models offered through the Azure Marketplace](costs-plan-manage.md#monitor-costs-for-models-offered-through-the-azure-marketplace).
2041+
For more information on how to track costs, see [Monitor costs for models offered through Azure Marketplace](costs-plan-manage.md#monitor-costs-for-models-offered-through-the-azure-marketplace).
20382042
20392043
## Related content
20402044

0 commit comments

Comments
 (0)