You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-create-vector-index.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ author: balapv
8
8
ms.reviewer: ssalgado
9
9
ms.service: machine-learning
10
10
ms.subservice: core
11
-
ms.date: 06/30/2023
11
+
ms.date: 01/22/2024
12
12
ms.topic: how-to
13
13
ms.custom:
14
14
- prompt-flow
@@ -71,19 +71,17 @@ After you create a vector index, you can add it to a prompt flow from the prompt
71
71
72
72
1. Open an existing prompt flow.
73
73
74
-
1. On the top menu of the prompt flow designer, select **More tools**, and then select **Vector Index Lookup**.
74
+
1. On the top menu of the prompt flow designer, select **More tools**, and then select **Index Lookup**.
75
75
76
76
:::image type="content" source="media/how-to-create-vector-index/vector-lookup.png" alt-text="Screenshot that shows the list of available tools.":::
77
77
78
-
The Vector Index Lookup tool is added to the canvas. If you don't see the tool immediately, scroll to the bottom of the canvas.
78
+
The Index Lookup tool is added to the canvas. If you don't see the tool immediately, scroll to the bottom of the canvas.
79
79
80
80
:::image type="content" source="media/how-to-create-vector-index/vector-index-lookup-tool.png" alt-text="Screenshot that shows the Vector Index Lookup tool.":::
81
81
82
-
1.Enter the path to your vector index, along with the query that you want to perform against the index. The 'path' is the location for the MLIndex created in the create a vector index section of this tutorial. To know this location select the desired Vector Index, select 'Details', and select 'Index Data'. Then on the 'Index data' page, copy the 'Datasource URI' in the Data sources section.
82
+
1.Select the **mlindex_content** value box, and select your index. The tool should detect the index created in the the "Create a vector index" section of the tutorial. After filling in all the necessary information, select save to close the generate drawer.
83
83
84
-
1. Enter a query that you want to perform against the index. A query is a question either as plain string or an embedding from the input cell of the previous step. If you choose to enter an embedding, be sure your query is defined in the input section of your prompt flow like the example here:
85
-
86
-
:::image type="content" source="media/how-to-create-vector-index/query-example.png" alt-text="Screenshot that shows the Vector Index Lookup tool query.":::
84
+
1. Enter the queries and query_types to be performed against the index.
87
85
88
86
An example of a plain string you can input in this case would be: `How to use SDK V2?'. Here is an example of an embedding as an input: `${embed_the_question.output}`. Passing a plain string will only work when the Vector Index is getting used on the workspace which created it.
0 commit comments