迭代 RASA 中的故事直到满足槽条件

问题描述 投票:0回答:0

我想遍历我的故事,直到满足 slot_value 条件。 以下是我的故事-

- story: spending form story
  steps:
  - action: utter_examine_spending
  - action: fixed_spending_form
  - active_loop: fixed_spending_form
  - active_loop: null
  - action: spending_form
  - active_loop: spending_form
  - active_loop: null
  - action: action_submit_form

我想遍历这个故事,直到 spending_form 中的特定槽值为真。

我可以在 stories.yml 本身做这个吗,或者我是否需要实现自定义操作,如果是,什么样的自定义操作?

感谢任何帮助。谢谢

rasa rasa-nlu rasa-core rasa-sdk
© www.soinside.com 2019 - 2024. All rights reserved.