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
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,9 +82,9 @@ You can link nodes by referencing node output. For example, you can reference th
82
82
83
83
#### LLM nodes
84
84
85
-
For an LLM node for Azure OpenAI, you need to select **Connection**, **Api**, and **deployment_name**, and set the **Prompt**. You use the connection to securely store and manage secret keys or other sensitive credentials required for interacting with Azure OpenAI.
85
+
For an Azure OpenAI LLM node, you need to select **Connection**, **Api**, and **deployment_name**, and set the **Prompt**. You use the connection to securely store and manage secret keys or other sensitive credentials required for interacting with Azure OpenAI.
86
86
87
-
If you don't already have a connection, create it before you add an LLM node, and make sure the Azure OpenAI resource has a **chat** or **completion** deployment. For more information, see [Set up a connection](get-started-prompt-flow.md#set-up-a-connection) and [Create a resource and deploy a model using Azure OpenAI](/azure/cognitive-services/openai/how-to/create-resource).
87
+
If you don't already have a connection, create it before you add the LLM node, and make sure the Azure OpenAI resource has a **chat** or **completion** deployment. For more information, see [Set up a connection](get-started-prompt-flow.md#set-up-a-connection) and [Create a resource and deploy a model using Azure OpenAI](/azure/cognitive-services/openai/how-to/create-resource).
88
88
89
89
#### Python nodes
90
90
@@ -123,23 +123,23 @@ After you select **Run** to execute the flow, you can see the run status in the
123
123
124
124
:::image type="content" source="./media/how-to-develop-flow/view-flow-output.png" alt-text=" Screenshot of view output button in two locations." lightbox ="./media/how-to-develop-flow/view-flow-output.png":::
125
125
126
+
After the flow run completes, you can select **View outputs** to check all historical outputs on the **Outputs** screen.
127
+
128
+
:::image type="content" source="./media/how-to-develop-flow/authoring-test-result.png" alt-text="Screenshot of flow test result." lightbox ="./media/how-to-develop-flow/authoring-test-result.png":::
129
+
126
130
Select the **Trace** tab on the **Outputs** screen to see a graph that provides information about the duration and associated token cost of the flow. Select **flow** under **node name** to see detailed flow overview information in the right pane.
127
131
128
132
Expand **flow** and select any step to see detailed information for that step. You can see the duration of each node execution in the span tree. For more information, see [Trace Span Specification](https://microsoft.github.io/promptflow/reference/trace-span-spec-reference.html).
129
133
130
134
:::image type="content" source="./media/how-to-develop-flow/authoring-trace.png" alt-text=" Screenshot of trace detail." lightbox ="./media/how-to-develop-flow/authoring-trace.png":::
131
135
132
-
After a flow run completes, you can select **View outputs** to check all historical outputs.
133
-
134
-
:::image type="content" source="./media/how-to-develop-flow/authoring-test-result.png" alt-text="Screenshot of flow test result." lightbox ="./media/how-to-develop-flow/authoring-test-result.png":::
135
-
136
136
## Develop a chat flow
137
137
138
138
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.
139
139
140
140
To create a chat flow, on the **Create a new flow** screen, select **Create** on the **Chat flow** card, or select **Chat** in the **Explore gallery** and clone one of the available flows.
141
141
142
-
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.
142
+
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 open a **Chat** box for conversation.
0 commit comments