Transformer课程 业务对话机器人Rasa 3.x Stories
Stories故事是一种训练数据,用于训练助理的对话管理模式。故事可以用来训练模型,使其能够推广到看不见的对话路径。
Format故事是用户和人工智能助手之间对话的一种表现形式,转换成特定的格式,其中用户输入被表示为意图(以及必要的实体),而助手的响应和动作被表示为动作名称。
以下是Rasa故事格式的对话示例:
stories:
- story: collect restaurant booking info # name of the story - just for debugging
steps:
- intent: greet # user message with no entities
- action: utter_ask_howcanhelp
- intent: inform # user message with entities
entities:
- location: "rome"
- price: "cheap"
- action: utter_on_it # action that the