Skip to content

Commit 2f29fd1

Browse files
committed
edits
1 parent 6a2d6e9 commit 2f29fd1

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ To create a prompt flow, select **Prompt flow** in the Azure Machine Learning st
3030

3131
On the **Create a new flow** screen, you can create a flow by:
3232

33-
- Creating a **Standard**, **Chat**, or **Evaluation** flow from scratch.
33+
- Creating a **Standard**, **Chat**, or **Evaluation** flow from a template.
3434
- Cloning an available sample from the **Explore gallery**.
3535
- Importing an existing flow from local files or a file share.
3636

3737
:::image type="content" source="./media/how-to-develop-flow/gallery.png" alt-text="Screenshot of prompt flow creation from scratch or gallery." lightbox ="./media/how-to-develop-flow/gallery.png":::
3838

39-
To clone one of the available prompt flows, select **Clone** in the flow card. In the **Clone flow** pane, you can customize the flow name and folder location if you want, and then select **Clone**. The cloned flow opens in the authoring UI.
39+
To create a flow, select **Create** or **Clone** on the flow card you want. On the next screen pane, you can change the new flow name if you want, and then select **Create** or **Clone**. The new flow opens in the authoring UI.
4040

4141
### Compute session
4242

@@ -62,7 +62,7 @@ In the **Inputs** and **Outputs** sections, you can view, add or remove, and edi
6262

6363
### Flow tools
6464

65-
In a flow, you can consume different kinds of tools, such as LLM, Python, Prompt, Serp API, and Content Safety. Selecting a tool adds a new node for that tool to the end of the flow. You can use the node controls to change the node's position in the flow. You must specify the node name and set necessary configurations.
65+
In a flow, you can consume different kinds of tools, such as LLM, Python, Prompt, Serp API, and Content Safety. Selecting a tool adds a new node for that tool to the end of the flow. You must specify the node name and set necessary configurations. You can use the node controls to change the node's position in the flow.
6666

6767
#### Node inputs and outputs
6868

@@ -133,11 +133,11 @@ After a flow run completes, you can select **View outputs** to check all histori
133133

134134
## Develop a chat flow
135135

136-
A *chat flow* is a specific type of chat flow designed for conversational application development. Chat flow builds on the capabilities of standard flow to provide enhanced support for chat inputs/outputs and chat history management. By using chat flow, you can easily create a chatbot that handles chat input and output.
136+
A *chat flow* is a specific type of prompt flow designed for conversational application development. Chat flow builds on the standard flow capabilities to provide enhanced support for chat inputs/outputs and chat history. By using chat flow, you can easily create a chatbot that handles chat input and output.
137137

138138
To create a chat flow, select **Create** in the **Chat flow** card on the **Create a new flow** screen, or select **Chat** in the **Explore gallery** and clone one of the available flows.
139139

140-
In a chat flow authoring page, the chat flow is tagged with a **Chat** label to distinguish it from standard and evaluation flows. To test a chat flow, you select **Chat** at the top of the page to trigger a chat box for conversation.
140+
In a chat flow authoring page, the chat flow is tagged with a **Chat** label to distinguish it from standard and evaluation flows. To test a chat flow, you select **Chat** at the top of the page to trigger a **Chat** box for conversation.
141141

142142
:::image type="content" source="./media/how-to-develop-flow/chat-authoring-layout.png" alt-text="Screenshot of chat flow authoring page." lightbox ="./media/how-to-develop-flow/chat-authoring-layout.png":::
143143

@@ -146,7 +146,9 @@ In a chat flow authoring page, the chat flow is tagged with a **Chat** label to
146146
The most important elements that differentiate a chat flow from a standard flow are the *chat input*, *chat history*, and *chat output*. Chat history and chat input are required in chat flows.
147147

148148
- **Chat input** refers to the messages or queries submitted by users to the chatbot. Effectively handling chat input is crucial for a successful conversation, as it involves understanding user intentions, extracting relevant information, and triggering appropriate responses.
149+
149150
- **Chat history** is the record of all interactions between the user and the chatbot, including both user inputs and AI-generated outputs. Maintaining chat history is essential for keeping track of the conversation context and ensuring the AI can generate contextually relevant responses.
151+
150152
- **Chat output** refers to the AI-generated messages that are sent to users in response to their inputs. Generating contextually appropriate and engaging chat output is vital for a positive user experience.
151153

152154
A chat flow can have multiple inputs. In the chat flow **Inputs** section, you mark one of the inputs as the **Chat input**, and you populate the chat input value by typing in the **Chat** box.
@@ -210,7 +212,7 @@ The **Chat** box provides an interactive way to test your chat flow by simulatin
210212
1. Select **Chat** to open the **Chat** sidebar.
211213
1. Enter test questions in the chat box at the bottom of the screen to send them to the chatbot.
212214
1. Review the chatbot's responses to ensure they're contextually appropriate and accurate.
213-
1. Select **View outputs** at the top of the screen to quickly view and debug the chat inputs, outputs, and history.
215+
1. Select **View outputs** at the top of the authoring page to quickly view and debug chat inputs, outputs, and history.
214216
1. On the **Outputs** screen, select the **Trace** tab and then select **flow** to see detailed flow overview information in the right pane. Expand **flow** and select any step to see detailed information for that step.
215217

216218
:::image type="content" source="./media/how-to-develop-flow/authoring-chat-trace.png" alt-text=" Screenshot of Chat flow chat box experience." lightbox ="./media/how-to-develop-flow/authoring-chat-trace.png":::
668 Bytes
Loading
-77.5 KB
Loading
42 KB
Loading
1.28 KB
Loading

0 commit comments

Comments
 (0)