Skip to content

Commit 30cb750

Browse files
committed
fixes
1 parent 865d1a8 commit 30cb750

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

articles/ai-foundry/model-inference/how-to/use-image-embeddings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: How to generate embeddings with Azure AI model inference service
2+
title: How to generate image embeddings with Azure AI model inference service
33
titleSuffix: Azure AI Foundry
4-
description: Learn how to generate embeddings with Azure AI model inference
4+
description: Learn how to generate image embeddings with Azure AI model inference
55
manager: scottpolly
66
author: msakande
77
reviewer: santiagxf

articles/ai-foundry/model-inference/includes/use-image-embeddings/javascript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This article explains how to use image embeddings API with models deployed to Az
2020

2121
## Prerequisites
2222

23-
To use embedding models in you application, you need:
23+
To use embedding models in your application, you need:
2424

2525
[!INCLUDE [how-to-prerequisites](../how-to-prerequisites.md)]
2626

@@ -54,7 +54,7 @@ const client = new ModelClient(
5454
);
5555
```
5656

57-
If you have configured the resource to with **Microsoft Entra ID** support, you can use the following code snippet to create a client.
57+
If you configured the resource to with **Microsoft Entra ID** support, you can use the following code snippet to create a client.
5858

5959
### Create embeddings
6060

@@ -89,7 +89,7 @@ console.log(response.body.usage);
8989
```
9090

9191
> [!IMPORTANT]
92-
> Computing embeddings in batches may not be supported for all the models. This is the case of the `cohere-embed-v3` model. In this case, you need to send one image at a time.
92+
> Computing embeddings in batches may not be supported for all the models. For example, for `cohere-embed-v3` model, you need to send one image at a time.
9393
9494
#### Embedding images and text pairs
9595

articles/ai-foundry/model-inference/includes/use-image-embeddings/python.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ This article explains how to use image embeddings API with models deployed to Az
2020

2121
## Prerequisites
2222

23-
To use embedding models in you application, you need:
23+
To use embedding models in your application, you need:
2424

2525
[!INCLUDE [how-to-prerequisites](../how-to-prerequisites.md)]
2626

27-
* An image embeddings model deployment. If you don't have one read [Add and configure models to Azure AI services](../../how-to/create-model-deployments.md) to add an embeddings model to your resource.
27+
* An image embeddings model deployment. If you don't have one, read [Add and configure models to Azure AI services](../../how-to/create-model-deployments.md) to add an embeddings model to your resource.
2828

2929
* This example uses `Cohere-embed-v3-english` from Cohere.
3030

@@ -54,7 +54,7 @@ model = ImageEmbeddingsClient(
5454
)
5555
```
5656

57-
If you have configured the resource to with **Microsoft Entra ID** support, you can use the following code snippet to create a client.
57+
If you configured the resource to with **Microsoft Entra ID** support, you can use the following code snippet to create a client.
5858

5959
### Create embeddings
6060

@@ -86,7 +86,7 @@ print("Usage:", response.usage)
8686
```
8787

8888
> [!IMPORTANT]
89-
> Computing embeddings in batches may not be supported for all the models. This is the case of the `cohere-embed-v3` model. In this case, you need to send one image at a time.
89+
> Computing embeddings in batches may not be supported for all the models. For example, for `cohere-embed-v3` model, you need to send one image at a time.
9090
9191
#### Embedding images and text pairs
9292

articles/ai-foundry/model-inference/includes/use-image-embeddings/rest.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This article explains how to use image embeddings API with models deployed to Az
2020

2121
## Prerequisites
2222

23-
To use embedding models in you application, you need:
23+
To use embedding models in your application, you need:
2424

2525
[!INCLUDE [how-to-prerequisites](../how-to-prerequisites.md)]
2626

@@ -30,15 +30,15 @@ To use embedding models in you application, you need:
3030

3131
## Use embeddings
3232

33-
To use the text embeddings, use the route `/images/embeddings` along with you credential indicated in `api-key`. `Authorization` header is also supported with the format `Bearer <key>`.
33+
To use the text embeddings, use the route `/images/embeddings` along with your credential indicated in `api-key`. `Authorization` header is also supported with the format `Bearer <key>`.
3434

3535
```http
3636
POST /images/embeddings
3737
Content-Type: application/json
3838
api-key: <key>
3939
```
4040

41-
If you have configured the resource with **Microsoft Entra ID** support, pass you token in the `Authorization` header:
41+
If you configured the resource with **Microsoft Entra ID** support, pass you token in the `Authorization` header:
4242

4343
```http
4444
POST /images/embeddings
@@ -94,7 +94,7 @@ The response is as follows, where you can see the model's usage statistics:
9494
```
9595

9696
> [!IMPORTANT]
97-
> Computing embeddings in batches may not be supported for all the models. This is the case of the `cohere-embed-v3` model. In this case, you need to send one image at a time.
97+
> Computing embeddings in batches may not be supported for all the models. For example, for `cohere-embed-v3` model, you need to send one image at a time.
9898
9999
#### Embedding images and text pairs
100100

0 commit comments

Comments
 (0)