微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何在 RASA 中使用多意图?

如何解决如何在 RASA 中使用多意图?

config.yml

language: en 
 pipeline:
   - name: SpacyNLP
     model: en_core_web_md
     case_sensitive: False 
   - name: SpacyTokenizer
     intent_tokenization_flag: True
     intent_split_symbol: "+"
 
   - name: SpacyFeaturizer

stories.yml

 - story: greet goodbye story
   steps:
   - intent: greet+goodbye
   - action: utter_thankyou

意图文件

intent: greet 
examples: |

hey
hello
hi
hello there


intent: goodbye
examples: |
good afternoon
cu
good by


  intent: greet+goodbye
   examples: |
     - Hi. Goodbye
     - Hello and Good Bye
     - Good morning and Good Bye

我在 domain.yml 中也有正确的配置。对于每个意图,我都有很多示例。

但它不能正确预测greet+goodbye

我做错了什么?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。