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/prompt-flow/how-to-develop-flow.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,13 @@ To create a prompt flow, select **Prompt flow** in the Azure Machine Learning st
30
30
31
31
On the **Create a new flow** screen, you can create a flow by:
32
32
33
-
- Creating a **Standard**, **Chat**, or **Evaluation** flow from scratch.
33
+
- Creating a **Standard**, **Chat**, or **Evaluation** flow from a template.
34
34
- Cloning an available sample from the **Explore gallery**.
35
35
- Importing an existing flow from local files or a file share.
36
36
37
37
:::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":::
38
38
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.
40
40
41
41
### Compute session
42
42
@@ -62,7 +62,7 @@ In the **Inputs** and **Outputs** sections, you can view, add or remove, and edi
62
62
63
63
### Flow tools
64
64
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.
66
66
67
67
#### Node inputs and outputs
68
68
@@ -133,11 +133,11 @@ After a flow run completes, you can select **View outputs** to check all histori
133
133
134
134
## Develop a chat flow
135
135
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.
137
137
138
138
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.
139
139
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.
@@ -146,7 +146,9 @@ In a chat flow authoring page, the chat flow is tagged with a **Chat** label to
146
146
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.
147
147
148
148
-**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
+
149
150
-**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
+
150
152
-**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.
151
153
152
154
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
210
212
1. Select **Chat** to open the **Chat** sidebar.
211
213
1. Enter test questions in the chat box at the bottom of the screen to send them to the chatbot.
212
214
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.
214
216
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.
0 commit comments