Skip to content

Commit d2d6330

Browse files
committed
fix
1 parent 57c851b commit d2d6330

10 files changed

+142
-142
lines changed

articles/ai-studio/how-to/deploy-models-cohere-command.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure AI studio
44
description: Learn how to use Cohere Command chat models with Azure AI studio.
55
ms.service: azure-ai-studio
66
ms.topic: how-to
7-
ms.date: 08/01/2024
7+
ms.date: 08/05/2024
88
ms.reviewer: kritifaujdar
99
reviewer: fkriti
1010
ms.author: mopeakande
@@ -13,9 +13,9 @@ ms.custom: references_regions, generated
1313
zone_pivot_groups: azure-ai-model-catalog-samples-chat
1414
---
1515

16-
# How to use Cohere Command chat models with Azure AI studio
16+
# How to use Cohere Command chat models
1717

18-
In this article, you learn about Cohere Command chat models and how to use them with Azure AI studio.
18+
In this article, you learn about Cohere Command chat models and how to use them.
1919
The Cohere family of models includes various models optimized for different use cases, including chat completions, embeddings, and rerank. Cohere models are optimized for various use cases that include reasoning, summarization, and question answering.
2020

2121

@@ -62,6 +62,9 @@ The following models are available:
6262

6363
---
6464

65+
> [!TIP]
66+
> Additionally, Cohere supports the use of a tailored API for use with specific features of the model. To use the model-provider specific API, check [Cohere documentation](https://docs.cohere.com/reference/about) or see the [inference examples](#more-inference-examples) section to code examples.
67+
6568
## Prerequisites
6669

6770
To use Cohere Command chat models with Azure AI studio, you need the following prerequisites:
@@ -93,9 +96,6 @@ pip install azure-ai-inference
9396

9497
Read more about the [Azure AI inference package and reference](https://aka.ms/azsdk/azure-ai-inference/python/reference).
9598

96-
> [!TIP]
97-
> Additionally, Cohere supports the use of a tailored API for use with specific features of the model. To use the model-provider specific API, check [Cohere documentation](https://docs.cohere.com/reference/about) or see the [inference examples](#more-inference-examples) section to code examples.
98-
9999
## Work with chat completions
100100

101101
In this section, you use the [Azure AI model inference API](https://aka.ms/azureai/modelinference) with a chat completions model for chat.
@@ -139,8 +139,8 @@ print("Model provider name:", model_info.model_provider)
139139

140140
```console
141141
Model name: Cohere-command-r-plus
142-
Model type": chat-completions
143-
Model provider name": Cohere
142+
Model type: chat-completions
143+
Model provider name: Cohere
144144
```
145145

146146
### Create a chat completion request
@@ -284,7 +284,7 @@ response = client.complete(
284284
)
285285
```
286286

287-
### Define tools
287+
### Use tools
288288

289289
Cohere Command chat models 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.
290290

@@ -497,6 +497,9 @@ The following models are available:
497497

498498
---
499499

500+
> [!TIP]
501+
> Additionally, Cohere supports the use of a tailored API for use with specific features of the model. To use the model-provider specific API, check [Cohere documentation](https://docs.cohere.com/reference/about) or see the [inference examples](#more-inference-examples) section to code examples.
502+
500503
## Prerequisites
501504

502505
To use Cohere Command chat models with Azure AI studio, you need the following prerequisites:
@@ -526,9 +529,6 @@ Once you have these prerequisites, install the Azure Inference library for JavaS
526529
npm install @azure-rest/ai-inference
527530
```
528531

529-
> [!TIP]
530-
> Additionally, Cohere supports the use of a tailored API for use with specific features of the model. To use the model-provider specific API, check [Cohere documentation](https://docs.cohere.com/reference/about) or see the [inference examples](#more-inference-examples) section to code examples.
531-
532532
## Work with chat completions
533533

534534
In this section, you use the [Azure AI model inference API](https://aka.ms/azureai/modelinference) with a chat completions model for chat.
@@ -572,8 +572,8 @@ console.log("Model provider name: ", model_info.body.model_provider_name)
572572

573573
```console
574574
Model name: Cohere-command-r-plus
575-
Model type": chat-completions
576-
Model provider name": Cohere
575+
Model type: chat-completions
576+
Model provider name: Cohere
577577
```
578578

579579
### Create a chat completion request
@@ -738,7 +738,7 @@ var response = await client.path("/chat/completions").post({
738738
});
739739
```
740740
741-
### Define tools
741+
### Use tools
742742
743743
Cohere Command chat models 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.
744744
@@ -946,6 +946,9 @@ The following models are available:
946946
947947
---
948948
949+
> [!TIP]
950+
> Additionally, Cohere supports the use of a tailored API for use with specific features of the model. To use the model-provider specific API, check [Cohere documentation](https://docs.cohere.com/reference/about) or see the [inference examples](#more-inference-examples) section to code examples.
951+
949952
## Prerequisites
950953
951954
To use Cohere Command chat models with Azure AI studio, you need the following prerequisites:
@@ -998,9 +1001,6 @@ using System.Text.Json.Serialization;
9981001
using System.Reflection;
9991002
```
10001003

1001-
> [!TIP]
1002-
> Additionally, Cohere supports the use of a tailored API for use with specific features of the model. To use the model-provider specific API, check [Cohere documentation](https://docs.cohere.com/reference/about) or see the [inference examples](#more-inference-examples) section to code examples.
1003-
10041004
## Work with chat completions
10051005

10061006
In this section, you use the [Azure AI model inference API](https://aka.ms/azureai/modelinference) with a chat completions model for chat.
@@ -1040,8 +1040,8 @@ Console.WriteLine($"Model provider name: {modelInfo.Value.ModelProviderName}");
10401040

10411041
```console
10421042
Model name: Cohere-command-r-plus
1043-
Model type": chat-completions
1044-
Model provider name": Cohere
1043+
Model type: chat-completions
1044+
Model provider name: Cohere
10451045
```
10461046

10471047
### Create a chat completion request
@@ -1207,7 +1207,7 @@ response = client.Complete(requestOptions, extraParams: ExtraParameters.PassThro
12071207
Console.WriteLine($"Response: {response.Value.Choices[0].Message.Content}");
12081208
```
12091209

1210-
### Define tools
1210+
### Use tools
12111211

12121212
Cohere Command chat models 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.
12131213

@@ -1420,6 +1420,9 @@ The following models are available:
14201420
14211421
---
14221422
1423+
> [!TIP]
1424+
> Additionally, Cohere supports the use of a tailored API for use with specific features of the model. To use the model-provider specific API, check [Cohere documentation](https://docs.cohere.com/reference/about) or see the [inference examples](#more-inference-examples) section to code examples.
1425+
14231426
## Prerequisites
14241427
14251428
To use Cohere Command chat models with Azure AI studio, you need the following prerequisites:
@@ -1442,9 +1445,6 @@ Models deployed with the [Azure AI model inference API](https://aka.ms/azureai/m
14421445
* To construct the requests, you need to pass in the endpoint URL. The endpoint URL has the form `https://your-host-name.your-azure-region.inference.ai.azure.com`, where `your-host-name`` is your unique model deployment host name and `your-azure-region`` is the Azure region where the model is deployed (for example, eastus2).
14431446
* Depending on your model deployment and authentication preference, you need either a key to authenticate against the service, or Microsoft Entra ID credentials. The key is a 32-character string.
14441447
1445-
> [!TIP]
1446-
> Additionally, Cohere supports the use of a tailored API for use with specific features of the model. To use the model-provider specific API, check [Cohere documentation](https://docs.cohere.com/reference/about) or see the [inference examples](#more-inference-examples) section to code examples.
1447-
14481448
## Work with chat completions
14491449
14501450
In this section, you use the [Azure AI model inference API](https://aka.ms/azureai/modelinference) with a chat completions model for chat.
@@ -1738,7 +1738,7 @@ extra-parameters: pass-through
17381738
}
17391739
```
17401740
1741-
### Define tools
1741+
### Use tools
17421742
17431743
Cohere Command chat models 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.
17441744

articles/ai-studio/how-to/deploy-models-cohere-embed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure AI studio
44
description: Learn how to use Cohere Embed V3 models with Azure AI studio.
55
ms.service: azure-ai-studio
66
ms.topic: how-to
7-
ms.date: 08/01/2024
7+
ms.date: 08/05/2024
88
ms.reviewer: kritifaujdar
99
reviewer: fkriti
1010
ms.author: mopeakande

articles/ai-studio/how-to/deploy-models-jais.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure AI studio
44
description: Learn how to use Jais chat models with Azure AI studio.
55
ms.service: azure-ai-studio
66
ms.topic: how-to
7-
ms.date: 08/01/2024
7+
ms.date: 08/05/2024
88
ms.reviewer: kritifaujdar
99
reviewer: fkriti
1010
ms.author: mopeakande
@@ -13,9 +13,9 @@ ms.custom: references_regions, generated
1313
zone_pivot_groups: azure-ai-model-catalog-samples-chat
1414
---
1515

16-
# How to use Jais chat models with Azure AI studio
16+
# How to use Jais chat models
1717

18-
In this article, you learn about Jais chat models and how to use them with Azure AI studio.
18+
In this article, you learn about Jais chat models and how to use them.
1919
JAIS 30b Chat is an autoregressive bi-lingual LLM for **Arabic** & **English**. The tuned versions use supervised fine-tuning (SFT). The model is fine-tuned with both Arabic and English prompt-response pairs. The fine-tuning datasets included a wide range of instructional data across various domains. The model covers a wide range of common tasks including question answering, code generation, and reasoning over textual content. To enhance performance in Arabic, the Core42 team developed an in-house Arabic dataset and translated some open-source English instructions into Arabic.
2020

2121
* **Context length:** JAIS supports a context length of 8K.
@@ -100,8 +100,8 @@ print("Model provider name:", model_info.model_provider)
100100

101101
```console
102102
Model name: jais-30b-chat
103-
Model type": chat-completions
104-
Model provider name": G42
103+
Model type: chat-completions
104+
Model provider name: G42
105105
```
106106

107107
### Create a chat completion request
@@ -342,8 +342,8 @@ console.log("Model provider name: ", model_info.body.model_provider_name)
342342

343343
```console
344344
Model name: jais-30b-chat
345-
Model type": chat-completions
346-
Model provider name": G42
345+
Model type: chat-completions
346+
Model provider name: G42
347347
```
348348

349349
### Create a chat completion request
@@ -626,8 +626,8 @@ Console.WriteLine($"Model provider name: {modelInfo.Value.ModelProviderName}");
626626

627627
```console
628628
Model name: jais-30b-chat
629-
Model type": chat-completions
630-
Model provider name": G42
629+
Model type: chat-completions
630+
Model provider name: G42
631631
```
632632

633633
### Create a chat completion request

articles/ai-studio/how-to/deploy-models-jamba.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure AI studio
44
description: Learn how to use Jamba-Instruct chat models with Azure AI studio.
55
ms.service: azure-ai-studio
66
ms.topic: how-to
7-
ms.date: 08/01/2024
7+
ms.date: 08/05/2024
88
ms.reviewer: kritifaujdar
99
reviewer: fkriti
1010
ms.author: mopeakande
@@ -13,9 +13,9 @@ ms.custom: references_regions, generated
1313
zone_pivot_groups: azure-ai-model-catalog-samples-chat
1414
---
1515

16-
# How to use Jamba-Instruct chat models with Azure AI studio
16+
# How to use Jamba-Instruct chat models
1717

18-
In this article, you learn about Jamba-Instruct chat models and how to use them with Azure AI studio.
18+
In this article, you learn about Jamba-Instruct chat models and how to use them.
1919
The Jamba-Instruct model is AI21's production-grade Mamba-based large language model (LLM) which uses AI21's hybrid Mamba-Transformer architecture. It's an instruction-tuned version of AI21's hybrid structured state space model (SSM) transformer Jamba model. The Jamba-Instruct model is built for reliable commercial use with respect to quality and performance.
2020

2121
> [!TIP]
@@ -99,8 +99,8 @@ print("Model provider name:", model_info.model_provider)
9999

100100
```console
101101
Model name: Jamba-Instruct
102-
Model type": chat-completions
103-
Model provider name": AI21
102+
Model type: chat-completions
103+
Model provider name: AI21
104104
```
105105

106106
### Create a chat completion request
@@ -341,8 +341,8 @@ console.log("Model provider name: ", model_info.body.model_provider_name)
341341

342342
```console
343343
Model name: Jamba-Instruct
344-
Model type": chat-completions
345-
Model provider name": AI21
344+
Model type: chat-completions
345+
Model provider name: AI21
346346
```
347347

348348
### Create a chat completion request
@@ -625,8 +625,8 @@ Console.WriteLine($"Model provider name: {modelInfo.Value.ModelProviderName}");
625625

626626
```console
627627
Model name: Jamba-Instruct
628-
Model type": chat-completions
629-
Model provider name": AI21
628+
Model type: chat-completions
629+
Model provider name: AI21
630630
```
631631

632632
### Create a chat completion request

articles/ai-studio/how-to/deploy-models-llama.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure AI studio
44
description: Learn how to use Meta Llama chat models with Azure AI studio.
55
ms.service: azure-ai-studio
66
ms.topic: how-to
7-
ms.date: 08/01/2024
7+
ms.date: 08/05/2024
88
ms.reviewer: kritifaujdar
99
reviewer: fkriti
1010
ms.author: mopeakande
@@ -13,9 +13,9 @@ ms.custom: references_regions, generated
1313
zone_pivot_groups: azure-ai-model-catalog-samples-chat
1414
---
1515

16-
# How to use Meta Llama chat models with Azure AI studio
16+
# How to use Meta Llama chat models
1717

18-
In this article, you learn about Meta Llama chat models and how to use them with Azure AI studio.
18+
In this article, you learn about Meta Llama chat models and how to use them.
1919
Meta Llama 2 and 3 models and tools are a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. The model family also includes fine-tuned versions optimized for dialogue use cases with reinforcement learning from human feedback (RLHF).
2020

2121

@@ -163,8 +163,8 @@ print("Model provider name:", model_info.model_provider)
163163

164164
```console
165165
Model name: Meta-Llama-3.1-405B-Instruct
166-
Model type": chat-completions
167-
Model provider name": Meta
166+
Model type: chat-completions
167+
Model provider name: Meta
168168
```
169169

170170
### Create a chat completion request
@@ -488,8 +488,8 @@ console.log("Model provider name: ", model_info.body.model_provider_name)
488488

489489
```console
490490
Model name: Meta-Llama-3.1-405B-Instruct
491-
Model type": chat-completions
492-
Model provider name": Meta
491+
Model type: chat-completions
492+
Model provider name: Meta
493493
```
494494

495495
### Create a chat completion request
@@ -851,8 +851,8 @@ Console.WriteLine($"Model provider name: {modelInfo.Value.ModelProviderName}");
851851

852852
```console
853853
Model name: Meta-Llama-3.1-405B-Instruct
854-
Model type": chat-completions
855-
Model provider name": Meta
854+
Model type: chat-completions
855+
Model provider name: Meta
856856
```
857857

858858
### Create a chat completion request

0 commit comments

Comments
 (0)