Skip to content

Commit ee84be4

Browse files
Merge pull request #293800 from flang-msft/main
fxl---added metatag
2 parents d8f32d3 + b680a00 commit ee84be4

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

articles/azure-cache-for-redis/cache-overview-vector-similarity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: About Vector Embeddings and Vector Search in Azure Cache for Redis
33
description: Learn about Azure Cache for Redis to store vector embeddings and provide similarity search.
44

55

6-
6+
ms.collection: ce-skilling-ai-copilot
77
ms.topic: overview
88
ms.custom:
99
- ignite-2024

articles/azure-cache-for-redis/cache-tutorial-semantic-cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Tutorial: Use Azure Cache for Redis as a semantic cache'
33
description: In this tutorial, you learn how to use Azure Cache for Redis as a semantic cache.
44

55

6-
6+
ms.collection: ce-skilling-ai-copilot
77
ms.topic: tutorial
88
ms.date: 01/08/2024
99

articles/azure-cache-for-redis/cache-tutorial-vector-similarity.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ title: 'Tutorial: Conduct vector similarity search on Azure OpenAI embeddings us
33
description: In this tutorial, you learn how to use Azure Cache for Redis to store and search for vector embeddings.
44

55

6-
6+
ms.collection: ce-skilling-ai-copilot
77
ms.topic: tutorial
88
ms.custom:
99
- ignite-2024
1010
ms.date: 09/15/2023
1111

12-
#CustomerIntent: As a < type of user >, I want < what? > so that < why? >.
12+
#CustomerIntent: As a developer, I want to develop some code using a sample so that I see an example of a vector similarity with an AI-based large language model.
1313
---
1414

1515
# Tutorial: Conduct vector similarity search on Azure OpenAI embeddings using Azure Cache for Redis
@@ -40,8 +40,7 @@ In this tutorial, you learn how to:
4040
## Prerequisites
4141

4242
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services?azure-portal=true)
43-
* Access granted to Azure OpenAI in the desired Azure subscription
44-
Currently, you must apply for access to Azure OpenAI. You can apply for access to Azure OpenAI by completing the form at <a href="https://aka.ms/oai/access" target="_blank">https://aka.ms/oai/access</a>.
43+
* Access granted to Azure OpenAI in the desired Azure subscription. Currently, you must apply for access to Azure OpenAI. You can apply for access to Azure OpenAI by completing the form at <a href="https://aka.ms/oai/access" target="_blank">https://aka.ms/oai/access</a>.
4544
* <a href="https://www.python.org/" target="_blank">Python 3.8 or later version</a>
4645
* [Jupyter Notebooks](https://jupyter.org/) (optional)
4746
* An Azure OpenAI resource with the **text-embedding-ada-002 (Version 2)** model deployed. This model is currently only available in [certain regions](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability). See the [resource deployment guide](/azure/ai-services/openai/how-to/create-resource) for instructions on how to deploy the model.
@@ -134,7 +133,7 @@ Next, you'll read the csv file into a pandas DataFrame.
134133
```
135134

136135
1. Execute code cell 3. You should see the following output:
137-
136+
138137
:::image type="content" source="media/cache-tutorial-vector-similarity/code-cell-3.png" alt-text="Screenshot of results from executing code cell 3, displaying eight columns and a sampling of 10 rows of data." lightbox="media/cache-tutorial-vector-similarity/code-cell-3.png":::
139138

140139
1. Next, process the data by adding an `id` index, removing spaces from the column titles, and filters the movies to take only movies made after 1970 and from English speaking countries or regions. This filtering step reduces the number of movies in the dataset, which lowers the cost and time required to generate embeddings. You're free to change or remove the filter parameters based on your preferences.

0 commit comments

Comments
 (0)