您当前的位置: 首页 >  机器人

段智华

暂无认证

  • 0浏览

    0关注

    1232博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Transformer课程 业务对话机器人Rasa 3.x Stories

段智华 发布时间:2022-01-26 12:55:40 ,浏览量:0

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 
关注
打赏
1659361485
查看更多评论
立即登录/注册

微信扫码登录

0.0408s