无法在RASA聊天机器人中获得发声的响应

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

我无法在RASA chatbot框架中得到任何与主题相关的回复。

当我输入时:

“电晕状态是什么?Bot仅发送以下回应。抱歉,我不明白,您可以改写您的问题吗?

对于其他发言,它可以正常工作。

下面是nlu.md文件的内容

intent:ask_coronastatus

  • 电晕状态是什么
  • 角膜的状态是什么
  • 这里的电晕的状态是什么
  • 提供电晕的当前状态
  • [印度](corona_country)的[电晕总数[电晕总例数](电晕数)
  • 国家/地区有多少[corona](corona_number)个>>
  • 下面是stories.md文件的内容:

interactive_story_29
  • 问候
    • utter_greet

  • ask_coronastatus
    • corona_status_form
    • form {“ name”:“ corona_status_form”}
    • slot {“ corona_number”:“ corona”,“ corona_number”:“ null”}
    • form {“ name”:null}
    • utter_coronafeedback
  • coronaaffirm
    • utter_coronaaffirm_response
  • 谢谢你
    • utter_bye
  • interactive_story_30
    • 问候
      • utter_greet

  • ask_coronastatus
    • corona_status_form
    • form {“ name”:“ corona_status_form”}
    • slot {“ corona_number”:“ corona”,“ corona_number”:“ null”}
    • form {“ name”:null}
  • 谢谢你
    • utter_bye
  • interactive_story_31
    • 问候
      • utter_greet

  • ask_coronastatus
    • corona_status_form
    • form {“ name”:“ corona_status_form”}
    • slot {“ corona_number”:“ corona”,“ corona_number”:“ null”}
    • form {“ name”:null}
    • utter_coronafeedback
  • 下面是domain.yml文件的内容:
    
    - utter_coronaaffirm_response
    - utter_ask_corona_number
    
    intents:
    - ask_coronastatus
    
    entities:
    - corona_number
    - corona_country
    
    responses:
      utter_coronaaffirm_response:
      - text: "Great ,you got the corona status now!"
      utter_coronafeedback:
      - text: "Was i able to provide Corona status?"
    
    
    slots:
      corona_country:
        type: text
      corona_number:
        type: unfeaturized  
    
    forms:
      - corona_status_form```
    
    
    
    
    
    

    我在RASA chatbot框架中的发言无法获得与该主题相关的任何回复。当我输入:“什么是电晕状态”机器人仅在以下响应下发送。抱歉,我没得到...

    python data-science chatbot rasa-nlu rasa
    1个回答
    0
    投票

    几乎没有报告与操作文件中的插槽错误有关的错误。我纠正了它们并重新启动了服务器。 nul.md,stories.md和domain.yml文件内容正确。

    © www.soinside.com 2019 - 2024. All rights reserved.