Skip to content

Commit 582049d

Browse files
committed
small edits
1 parent 9f93ec3 commit 582049d

File tree

3 files changed

+19
-20
lines changed

3 files changed

+19
-20
lines changed

articles/machine-learning/prompt-flow/get-started-prompt-flow.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ titleSuffix: Azure Machine Learning
44
description: Learn how to use Prompt flow in Azure Machine Learning studio.
55
services: machine-learning
66
ms.service: machine-learning
7-
ms.subservice: core
7+
ms.subservice: prompt-flow
88
ms.topic: tutorial
99
author: ishinzhang
1010
ms.author: yijunzhang
1111
ms.reviewer: lagayhar
12-
ms.date: 06/30/2023
12+
ms.date: 09/12/2023
1313
---
1414

1515
# Get started with Prompt flow (preview)
@@ -81,14 +81,13 @@ In **Flows** tab of Prompt flow home page, select **Create** to create your firs
8181

8282
The built-in samples are shown in the gallery.
8383

84-
In this guide, we'll use **Web Classification** sample to walk you through the main user journey. You can select **View detail** on Web Classification tile to preview the sample. Then a preview window is popped up. You can browse the sample introduction to see if the sample is similar to your scenario. Or you can just click **Clone** to clone the sample directly, then check the flow, test it, modify it.
84+
In this guide, we'll use **Web Classification** sample to walk you through the main user journey. You can select **View detail** on Web Classification tile to preview the sample. Then a preview window is popped up. You can browse the sample introduction to see if the sample is similar to your scenario. Or you can just select **Clone** to clone the sample directly, then check the flow, test it, modify it.
8585

8686
:::image type="content" source="./media/get-started-prompt-flow/sample-in-gallery.png" alt-text="Screenshot of create from galley highlighting web classification. " lightbox = "./media/get-started-prompt-flow/sample-in-gallery.png":::
8787

88-
After clicking **Clone**, as shown in the right pannel, the new flow will be saved in a specific folder within your workspace file share storage. You can customize the folder name acccording to your preferences.
89-
90-
:::image type="content" source="./media/get-started-prompt-flow/specify-flow-folder-name.png" alt-text="Screenshot of specify the flow folder name when creating a flow. " lightbox = "./media/get-started-prompt-flow/specify-flow-folder-name.png":::
88+
After selecting **Clone**, as shown in the right panel, the new flow will be saved in a specific folder within your workspace file share storage. You can customize the folder name according to your preferences.
9189

90+
:::image type="content" source="./media/get-started-prompt-flow/specify-flow-folder-name.png" alt-text="Screenshot of specifying the flow folder name when creating a flow. " lightbox = "./media/get-started-prompt-flow/specify-flow-folder-name.png":::
9291

9392
### Authoring page
9493

@@ -102,7 +101,7 @@ The top right corner shows the folder structure of the flow. Each flow has a fol
102101

103102
:::image type="content" source="./media/get-started-prompt-flow/folder-structure-view.png" alt-text="Screenshot of web classification highlighting the folder structure area." lightbox = "./media/get-started-prompt-flow/folder-structure-view.png":::
104103

105-
In addition to inline editting the node in flatten view, you can also turn on the **Raw file mode** toggle and click the file name to edit the file in the openning file tab.
104+
In addition to inline editing the node in the flatten view, you can also turn on the **Raw file mode** toggle and select the file name to edit the file in the opening file tab.
106105

107106
:::image type="content" source="./media/get-started-prompt-flow/file-edit-tab.png" alt-text="Screenshot of the file edit tab under raw file mode." lightbox = "./media/get-started-prompt-flow/file-edit-tab.png":::
108107

@@ -190,16 +189,16 @@ Select **Batch run** button, then a right panel pops up. It's a wizard that guid
190189

191190
You need to set a batch run name, description, then select a runtime first.
192191

193-
Then select **Upload new data** to upload the data you just downloaded. After uploading the data or if your colleagues in the workspace already created a dataset, you can choose the dataset from the drop-down and preview first 5 rows. The dataset selection drop down supports search and autosuggestion.
194-
192+
Then select **Upload new data** to upload the data you just downloaded. After uploading the data or if your colleagues in the workspace already created a dataset, you can choose the dataset from the drop-down and preview first five rows. The dataset selection drop down supports search and autosuggestion.
195193

196-
In addition, the **input mapping** supports mapping your flow input to a specific data column in your dataset, which means that you can use any column as the input, even if the column names do not match.
194+
In addition, the **input mapping** supports mapping your flow input to a specific data column in your dataset, which means that you can use any column as the input, even if the column names don't match.
197195

198196
:::image type="content" source="./media/get-started-prompt-flow/upload-new-data-batch-run.png" alt-text="Screenshot of Batch run and evaluate, highlighting upload new data." lightbox = "./media/get-started-prompt-flow/upload-new-data-batch-run.png":::
199197

200198
After that, you can select the **Review+submit** button to do batch run directly, or you can select **Next** to use an evaluation method to evaluate your flow.
201199

202200
### Evaluate
201+
203202
Turn on the toggle in evaluation settings tab. The evaluation methods are also flows that use Python or LLM etc., to calculate metrics like accuracy, relevance score. The built-in evaluation flows and customized ones are listed in the drop-down.
204203

205204
:::image type="content" source="./media/get-started-prompt-flow/accuracy.png" alt-text="Screenshot of Web classification showing the batch run and evaluate on the evaluation settings." lightbox = "./media/get-started-prompt-flow/accuracy.png":::
@@ -218,7 +217,7 @@ When completed, select the link, go to batch run detail page.
218217

219218
:::image type="content" source="./media/get-started-prompt-flow/batch-run-status.png" alt-text="Screenshot of Web classification showing a successful batch run and link to detail page." lightbox = "./media/get-started-prompt-flow/batch-run-status.png":::
220219

221-
Select **Refresh** until the run is completed. The upper area displays the batch run information, the lower section shows the evaluation run. By clicking the link of run name, you can view the snapshot of a run and overview the output result.
220+
Select **Refresh** until the run is completed. The upper area displays the batch run information, the lower section shows the evaluation run. By selecting the link of run name, you can view the snapshot of a run and overview the output result.
222221

223222
:::image type="content" source="./media/get-started-prompt-flow/refresh-until-the-evaluation-run-is-completed.png" alt-text="Screenshot of Web classification batch run detail page." lightbox = "./media//get-started-prompt-flow/refresh-until-the-evaluation-run-is-completed.png":::
224223

articles/machine-learning/prompt-flow/how-to-develop-a-chat-flow.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ titleSuffix: Azure Machine Learning
44
description: Learn how to develop a chat flow in Prompt flow that can easily create a chatbot that handles chat input and output with Azure Machine Learning studio.
55
services: machine-learning
66
ms.service: machine-learning
7-
ms.subservice: core
7+
ms.subservice: prompt-flow
88
ms.topic: how-to
99
author: Zhong-J
1010
ms.author: jinzhong
1111
ms.reviewer: lagayhar
12-
ms.date: 06/30/2023
12+
ms.date: 09/12/2023
1313
---
1414

1515
# Develop a chat flow
@@ -28,7 +28,7 @@ To create a chat flow, you can **either** clone an existing chat flow sample fro
2828

2929
:::image type="content" source="./media/how-to-develop-a-chat-flow/create-chat-flow.png" alt-text="Screenshot of the Prompt flow gallery highlighting chat flow and Chat with Wikipedia. " lightbox = "./media/how-to-develop-a-chat-flow/create-chat-flow.png":::
3030

31-
After clicking **Clone**, as shown in the right pannel, the new flow will be saved in a specific folder within your workspace file share storage. You can customize the folder name acccording to your preferences.
31+
After selecting **Clone**, as shown in the right panel, the new flow will be saved in a specific folder within your workspace file share storage. You can customize the folder name according to your preferences.
3232

3333
:::image type="content" source="./media/how-to-develop-a-chat-flow/specify-flow-folder-name.png" alt-text="Screenshot of specify the flow folder name when creating a flow. " lightbox = "./media/how-to-develop-a-chat-flow/specify-flow-folder-name.png":::
3434

@@ -47,7 +47,7 @@ The top right corner shows the folder structure of the flow. Each flow has a fol
4747

4848
:::image type="content" source="./media/how-to-develop-a-chat-flow/folder-structure-view.png" alt-text="Screenshot of web classification highlighting the folder structure area." lightbox = "./media/how-to-develop-a-chat-flow/folder-structure-view.png":::
4949

50-
In addition to inline editting the node in flatten view, you can also turn on the **Raw file mode** toggle and click the file name to edit the file in the openning file tab.
50+
In addition to inline editing the node in flatten view, you can also turn on the **Raw file mode** toggle and select the file name to edit the file in the opening file tab.
5151

5252
:::image type="content" source="./media/how-to-develop-a-chat-flow/file-edit-tab.png" alt-text="Screenshot of the file edit tab under raw file mode." lightbox = "./media/how-to-develop-a-chat-flow/file-edit-tab.png":::
5353

articles/machine-learning/prompt-flow/how-to-develop-a-standard-flow.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ titleSuffix: Azure Machine Learning
44
description: learn how to develop the standard flow in the authoring page in Prompt flow with Azure Machine Learning studio.
55
services: machine-learning
66
ms.service: machine-learning
7-
ms.subservice: core
7+
ms.subservice: prompt-flow
88
ms.topic: how-to
99
author: jiaochenlu
1010
ms.author: chenlujiao
1111
ms.reviewer: lagayhar
12-
ms.date: 06/30/2023
12+
ms.date: 09/12/2023
1313
---
1414

1515
# Develop a standard flow (preview)
@@ -46,7 +46,7 @@ The top right corner shows the folder structure of the flow. Each flow has a fol
4646

4747
:::image type="content" source="./media/how-to-develop-a-standard-flow/folder-structure-view.png" alt-text="Screenshot of web classification highlighting the folder structure area." lightbox = "./media/how-to-develop-a-standard-flow/folder-structure-view.png":::
4848

49-
In addition to inline editting the node in flatten view, you can also turn on the **Raw file mode** toggle and click the file name to edit the file in the openning file tab.
49+
In addition to inline editing the node in flatten view, you can also turn on the **Raw file mode** toggle and select the file name to edit the file in the opening file tab.
5050

5151
:::image type="content" source="./media/how-to-develop-a-standard-flow/file-edit-tab.png" alt-text="Screenshot of the file edit tab under raw file mode." lightbox = "./media/how-to-develop-a-standard-flow/file-edit-tab.png":::
5252

@@ -156,7 +156,7 @@ Below are common scenarios for linking nodes together.
156156
### Scenario 1 - Link LLM node with flow input
157157

158158
1. Add a new LLM node, rename it with a meaningful name, specify the connection and API type.
159-
2. Edit the prompt box, add an input by `{{url}}`, click **Validate and parse input**, then you'll see an input called URL is created in inputs section.
159+
2. Edit the prompt box, add an input by `{{url}}`, select **Validate and parse input**, then you'll see an input called URL is created in inputs section.
160160
3. In the value drop-down, select ${inputs.url}, then you'll see in the graph view that the newly created LLM node is linked to the flow input. When running the flow, the URL input of the node will be replaced by flow input on the fly.
161161

162162
:::image type="content" source="./media/how-to-develop-a-standard-flow/link-llm-node-input-1-1.png" alt-text="picture of scenario one showing the LLM tool and editing the prompt (step1). " lightbox = "./media/how-to-develop-a-standard-flow/link-llm-node-input-1-1.png":::
@@ -165,7 +165,7 @@ Below are common scenarios for linking nodes together.
165165

166166
### Scenario 2 - Link LLM node with single-output upstream node
167167

168-
1. Edit the prompt box, add another input by `{{summary}}`, click **Validate and parse input**, then you'll see an input called summary is created in inputs section.
168+
1. Edit the prompt box, add another input by `{{summary}}`, select **Validate and parse input**, then you'll see an input called summary is created in inputs section.
169169
2. In the value drop-down, select ${summarize_text_content.output}, then you'll see in the graph view that the newly created LLM node is linked to the upstream summarize_text_content node. When running the flow, the summary input of the node will be replaced by summarize_text_content node output on the fly.
170170

171171
:::image type="content" source="./media/how-to-develop-a-standard-flow/link-llm-node-input-2.png" alt-text="Gif of scenario two editing the prompt and inputs. " lightbox = "./media/how-to-develop-a-standard-flow/link-llm-node-input-2.png":::

0 commit comments

Comments
 (0)