Skip to content

Commit bdd7297

Browse files
authored
Merge pull request #247072 from ssalgadodev/patch-30
Update how-to-create-vector-index.md
2 parents a84a911 + 0fe9f85 commit bdd7297

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

articles/machine-learning/how-to-create-vector-index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,13 @@ After you create a vector index, you can add it to a prompt flow from the prompt
7777

7878
:::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.":::
7979

80-
1. Enter the path to your vector index, along with the query that you want to perform against the index.
80+
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.
81+
82+
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:
83+
84+
:::image type="content" source="media/how-to-create-vector-index/query-example.png" alt-text="Screenshot that shows the Vector Index Lookup tool query.":::
85+
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.
8187

8288
## Next steps
8389

51.7 KB
Loading

0 commit comments

Comments
 (0)