Skip to content

Commit 42a3f9b

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into vnet-encryption-ga
2 parents d69c6df + b6b17d6 commit 42a3f9b

File tree

126 files changed

+1415
-1683
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+1415
-1683
lines changed

.whatsnew/.azure-monitor.json

Lines changed: 0 additions & 77 deletions
This file was deleted.

.whatsnew/.defender-for-iot.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

.whatsnew/.security-center.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

.whatsnew/.sentinel.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

articles/ai-services/what-are-ai-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.custom:
2020
Azure AI services help developers and organizations rapidly create intelligent, cutting-edge, market-ready, and responsible applications with out-of-the-box and pre-built and customizable APIs and models. Example applications include natural language processing for conversations, search, monitoring, translation, speech, vision, and decision-making.
2121

2222
> [!TIP]
23-
> Try Azure AI services including Azure OpenAI, Content Safety, Speech, Vision, amd more in [Azure AI Studio](https://ai.azure.com). For more information, see [What is Azure AI Studio?](../ai-studio/what-is-ai-studio.md).
23+
> Try Azure AI services including Azure OpenAI, Content Safety, Speech, Vision, and more in [Azure AI Studio](https://ai.azure.com). For more information, see [What is Azure AI Studio?](../ai-studio/what-is-ai-studio.md).
2424
2525
Most Azure AI services are available through REST APIs and client library SDKs in popular development languages. For more information, see each service's documentation.
2626

articles/ai-studio/how-to/prompt-flow-tools/index-lookup-tool.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,44 @@ The following JSON format response is an example returned by the tool that inclu
141141

142142
```
143143

144+
145+
## How to migrate from legacy tools to the Index Lookup tool
146+
The Index Lookup tool looks to replace the three deprecated legacy index tools, the [Vector Index Lookup tool](./vector-index-lookup-tool.md), the [Vector DB Lookup tool](./vector-db-lookup-tool.md) and the [Faiss Index Lookup tool](./faiss-index-lookup-tool.md).
147+
If you have a flow that contains one of these tools, follow the steps below to upgrade your flow.
148+
149+
### Upgrade your tools
150+
151+
1. Update your runtime. In order to do this navigate to the "AI project settings tab on the left blade in AI Studio. From there you should see a list of Prompt flow runtimes. Select the name of the runtime you want to update, and click on the “Update” button near the top of the panel. Wait for the runtime to update itself.
152+
1. Navigate to your flow. You can do this by clicking on the “Prompt flow” tab on the left blade in AI Studio, clicking on the “Flows” pivot tab, and then clicking on the name of your flow.
153+
154+
1. Once inside the flow, click on the “+ More tools” button near the top of the pane. A dropdown should open and click on “Index Lookup [Preview]” to add an instance of the Index Lookup tool.
155+
156+
:::image type="content" source="../../media/prompt-flow/upgrade-index-tools/index-dropdown.png" alt-text="Screenshot of the More Tools dropdown in promptflow." lightbox="../../media/prompt-flow/upgrade-index-tools/index-dropdown.png":::
157+
158+
1. Name the new node and click “Add”.
159+
160+
:::image type="content" source="../../media/prompt-flow/upgrade-index-tools/save-node.png" alt-text="Screenshot of the index lookup node with name." lightbox="../../media/prompt-flow/upgrade-index-tools/save-node.png":::
161+
162+
1. In the new node, click on the “mlindex_content” textbox. This should be the first textbox in the list.
163+
164+
:::image type="content" source="../../media/prompt-flow/upgrade-index-tools/mlindex-box.png" alt-text="Screenshot of the expanded Index Lookup node with the mlindex_content box outlined in red." lightbox="../../media/prompt-flow/upgrade-index-tools/mlindex-box.png":::
165+
166+
1. In the Generate drawer that appears, follow the instructions below to upgrade from the three legacy tools:
167+
- If using the legacy **Vector Index Lookup** tool, select “Registered Index" in the “index_type” dropdown. Select your vector index asset from the “mlindex_asset_id” dropdown.
168+
- If using the legacy **Faiss Index Lookup** tool, select “Faiss” in the “index_type” dropdown and specify the same path as in the legacy tool.
169+
- If using the legacy **Vector DB Lookup** tool, select AI Search or Pinecone depending on the DB type in the “index_type” dropdown and fill in the information as necessary.
170+
8. After filling in the necessary information, click save.
171+
9. Upon returning to the node, there should be information populated in the “mlindex_content” textbox. Click on the “queries” textbox next, and select the search terms you want to query. You’ll want to select the same value as the input to the “embed_the_question” node, typically either “\${inputs.question}” or “${modify_query_with_history.output}” (the former if you’re in a standard flow and the latter if you’re in a chat flow).
172+
173+
:::image type="content" source="../../media/prompt-flow/upgrade-index-tools/mlindex-with-content.png" alt-text="Screenshot of the expanded Index Lookup node with index information in the cells." lightbox="../../media/prompt-flow/upgrade-index-tools/mlindex-with-content.png":::
174+
175+
10. Select a query type by clicking on the dropdown next to “query_type.” “Vector” will produce identical results as the legacy flow, but depending on your index configuration, other options including "Hybrid" and "Semantic" may be available.
176+
177+
:::image type="content" source="../../media/prompt-flow/upgrade-index-tools/vector-search.png" alt-text="Screenshot of the expanded Index Lookup node with vector search outlined in red." lightbox="../../media/prompt-flow/upgrade-index-tools/vector-search.png":::
178+
179+
11. Edit downstream components to consume the output of your newly added node, instead of the output of the legacy Vector Index Lookup node.
180+
12. Delete the Vector Index Lookup node and its parent embedding node.
181+
144182
## Next steps
145183

146184
- [Learn more about how to create a flow](../flow-develop.md)
66.5 KB
Loading
21.9 KB
Loading
25.1 KB
Loading
6.84 KB
Loading

0 commit comments

Comments
 (0)