- 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是一个用于存储槽状态的变量。它的作用是检查当前槽的状态是否符合预期的条件。在这个例子中, 的值为 ,表示槽的状态无效。当 为 时,系统会尝试设置槽的状态为 。当 为 或 时,系统会尝试取消槽的状态。当 为 时,槽的状态不会发生变化。
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.