From 25ff01c6941212337642f43aa99953672eabdfcd Mon Sep 17 00:00:00 2001 From: Anca Lita <27920906+ancalita@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:08:23 +0100 Subject: [PATCH] address initial review --- docs/docs/concepts/flows.mdx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/docs/concepts/flows.mdx b/docs/docs/concepts/flows.mdx index 616c36706d60..c3b92ea270bf 100644 --- a/docs/docs/concepts/flows.mdx +++ b/docs/docs/concepts/flows.mdx @@ -463,10 +463,13 @@ the `collect_information` step and fill the slot again. This ensures the confirm #### Reset slot value after flow execution You can determine whether to reset the slot value after the flow execution or not by setting the optional -`reset_after_flow_ends` property to `true` or `false` respectively. If the `reset_after_flow_ends` property is set to -`True`, the slot value exists only for the duration of the flow. Once the flow ends, the slot value is either reset to -`null` or the slot's initial value (if provided in the domain file under `slots`). If instead the `reset_after_flow_ends` -property is set to `false`, this indicates that the slot value should persist across flows until it is explicitly changed. +`reset_after_flow_ends` property to `true` or `false` respectively. If the property is not defined for the +`collect_information` step, the default value will be `true`. + +If the `reset_after_flow_ends` property is set to `true`, the slot value exists only for the duration of the flow. +Once the flow ends, the slot value is either reset to `null` or the slot's initial value (if provided in the domain +file under `slots`). If instead the `reset_after_flow_ends` property is set to `false`, this indicates that the slot +value should persist across flows until it is explicitly changed. The following configuration would clear the answer to the `collect_information` step when a flow is completed. @@ -477,8 +480,6 @@ flow is completed. reset_after_flow_ends: true ``` -If the property is not defined for the `collect_information` step, the default value will be `true`. - #### Define a different response for the `collect_information` step By default, the assistant will ask the user to fill the slot with the `utter_ask_{slot_name}` response. You can define