您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

24 行
489 B

  1. version: "3.1"
  2. rules:
  3. - rule: Greet whenever the user greets
  4. steps:
  5. - intent: greet
  6. - action: utter_greet
  7. - action: action_update_data
  8. - rule: Say goodbye anytime the user says goodbye
  9. steps:
  10. - intent: goodbye
  11. - action: utter_goodbye
  12. - rule: Say 'I am a bot' anytime the user challenges
  13. steps:
  14. - intent: bot_challenge
  15. - action: utter_iamabot
  16. - rule: Say "You're welcome" whenever the user says thank you
  17. steps:
  18. - intent: thanking
  19. - action: utter_your_welcome