- story: interactivestory1 steps: - intent: weather - action: weatherform - activeloop:…
- User
- story: interactive_story_1
steps:
-
intent: weather
-
action: weather_form
-
active_loop: weather_form
-
slot_was_set:
- requested_slot: address
-
intent: stop
-
action: utter_ask_continue
-
intent: deny
-
action: action_deactivate_loop
-
active_loop: null
-
slot_was_set:
- requested_slot: null
上面的故事中表单不一定是填了地址,所以上面的条件判断
- slot_was_set:
- requested_slot: address 上面的判断我如果去掉的话,是不是可以匹配槽的各种可能?但为什么 - slot_was_set:
- requested_slot: address去掉后却匹配不到了
-
- story: interactive_story_1
steps:
Assistant
如果去掉 - slot_was_set: - requested_slot: address 这一行,这个故事就不会知道用户是否已经设置了地址这个槽位的值。所以当系统尝试匹配槽位时,如果没有发现这个信息,就不能确定用户是否已经设置了地址这个槽位的值,也就无法匹配到槽位。 另外,这个故事中使用了 - active_loop: weather_form 这一行,表示当前的活跃循环是 weather_form。当用户完成 weather_form 这个流程后,才会执行 action_deactivate_loop,退出这个循环。如果用户在 weather_form 这个流程中没有完成,那么就不会执行 action_deactivate_loop,也就不会退出这个循环。所以,即使去掉 - slot_was_set: - requested_slot: address 这一行,系统依然需要知道用户是否已经完成了 weather_form 这个流程,才能确定是否应该退出这个循环。
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.