CA Service Management

 View Only
  • 1.  SDM 17.3 - Aria Virtual Assistant : Rasa returns the same response, does not understand

    Broadcom Employee
    Posted Sep 16, 2020 06:12 AM
    Hi All 

    I am working with a customer trying to resolve his Virtual Analyst issues, even though the implementation and training went off without any errors he is seeing the error below: 



    Looked for tickets with similiar behaviour but found none. Double checked with the customer if he followed the documentation to train the bot and he confirmed he did. I requested the collabMS.LOG and found the following errors: 

    ERROR - 2020-07-22 07:32:46 [c.ca.casm.bot.agent.rasa.RasaActor] - #82E11ACB93A20C4D90D7446DDA81A807_1594981030#1041005613# text node not found in the Rasa response. May be utterance missing for this intent in rasa stories.
    INFO - 2020-07-22 07:32:46 [c.c.c.bot.controller.BotController] - #82E11ACB93A20C4D90D7446DDA81A807_1594981030#1041005613# Responding user from NLU agent directly:Relationships and cryptic text are the only two things I am not good at, how about we try again!
    INFO - 2020-07-22 07:32:46 [modules.pubsub.PubSubProxyActor] - Received Message is: {"type":"chat_bot_response_message","chatBot":{"type":"CasmContactPojo","id":"A7F3D990612F3442B2A98DA2DB15FF89","userid":"botuser","combo_name":"System_Bot_User","profile_pic":{"type":"CasmPic","id":0}},"roomName":"82E11ACB93A20C4D90D7446DDA81A807_1594981030","threadID":"1594981030","chatBotResponse":{"text":"Relationships and cryptic text are the only two things I am not good at, how about we try again!","alt_text":"Relationships and cryptic text are the only two things I am not good at, how about we try again!"},"timestamp":1595395966}
    INFO - 2020-07-22 07:32:46 [modules.pubsub.PubSubProxyActor] - Received Message is: {"type":"chat_bot_response_message","chatBot":{"type":"CasmContactPojo","id":"A7F3D990612F3442B2A98DA2DB15FF89","userid":"botuser","combo_name":"System_Bot_User","profile_pic":{"type":"CasmPic","id":0}},"roomName":"82E11ACB93A20C4D90D7446DDA81A807_1594981030","threadID":"1594981030","chatBotResponse":{"text":"Relationships and cryptic text are the only two things I am not good at, how about we try again!","alt_text":"Relationships and cryptic text are the only two things I am not good at, how about we try again!"},"timestamp":1595395966}
    INFO - 2020-07-22 07:33:16 [actors.CollabChildActor] - Out ActorRef in Child: Actor[akka://application/system/StreamSupervisor-0/flow-14-2-actorRefSource#469663306], message: {"action":"ping"}
    INFO - 2020-07-22 07:33:16 [actors.CollabChildActor] - onReceive: {"action":"ping"}

    In the RASA logs we find the following errors: 

    2020-07-20 15:47:44 ERROR    rasa.core.trackers  - Tried to set non existent slo
    t 'search_str_kd'. Make sure you added all your slots to your domain file.
    2020-07-20 15:47:44 ERROR    rasa.core.trackers  - Tried to set non existent slo
    t 'tkt_id'. Make sure you added all your slots to your domain file.

    Also found errors relating to packages and files such as "actions.py" missing. 

    2020-08-07 12:25:43 ERROR rasa_sdk.executor - Failed to register package 'actions'.
    ModuleNotFoundError: No module named 'rasa_core_sdk'

    Have an environment with Aria setup and it works perfectly so not sure where to even begin troubleshooting this considering it is a new feature in 17.3


    Can anyone advise how to troubleshoot this behaviour, please?


    Regards,
    Kaveek



  • 2.  RE: SDM 17.3 - Aria Virtual Assistant : Rasa returns the same response, does not understand

    Posted Sep 23, 2020 08:32 AM
    Edited by Sebastian Kern Sep 23, 2020 08:33 AM
    Hello,

    i am also working on the Aria chatbot and facing similar problems.
    Maybe the console output of rasa could be interesting.
    There you should see the confidence level of the text you have sent to rasa.

    If i enter the same text you did or use the provided button rasa classifies it as the intent search_kd which seems to be correct when i compare it with the intent:search_kd entry in the nlu.md file

    Rasa Console: Received user message 'I have a new Issue / Problem' with intent '{'name': 'search_kd', 'confidence': 0.9911268949508667}' and entities '[]'

    Chatbot reply: Relationships and cryptic text are the only two things I am not good at, how about we try again!

    If i understand the domain.yml correctly then the intent search_kd should trigger the action search_kd_form but it always ends with the following console output:

    rasa.utils.endpoints.ClientResponseError: 404, Not Found, body='b'{"error":"No registered action found for name \'search_kd_form\'.","action_name":"search_kd_form"}''
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):




  • 3.  RE: SDM 17.3 - Aria Virtual Assistant : Rasa returns the same response, does not understand

    Posted Sep 24, 2020 02:53 AM
    Edited by Sebastian Kern Sep 24, 2020 03:05 AM
    Hello,

    i have one more update, in my environment the action endpoint did not load any actions on startup.
    After i have modifed the rasa_run.bat the chatbot is working.
    I have commented out the line "start /B rasa run actions --actions actions -p 5055" and replaced it with "start /B python -m rasa_core_sdk.endpoint --cors --actions actions".

    rasa_run.bat

    @echo off
    echo Running Rasa Core (Default) ...
    start /B rasa run -m models -p 5005 --endpoints endpoints.yml  --log-file out.log --enable-api --debug

    REM echo Running Endpoint Actions (Default) ...
    REM start /B rasa run actions --actions actions -p 5055
    start /B python -m rasa_core_sdk.endpoint --cors --actions actions

     After this modification the action endpoint is loading actions on startup and the chatbot is working.




  • 4.  RE: SDM 17.3 - Aria Virtual Assistant : Rasa returns the same response, does not understand

    Posted Sep 30, 2020 08:42 AM
    Hi Jimmy 
    i have same issue !!
    did you find any resolution for this ??!!

    ------------------------------
    Tichnical analyst
    SecureNet
    ------------------------------



  • 5.  RE: SDM 17.3 - Aria Virtual Assistant : Rasa returns the same response, does not understand

    Posted Sep 30, 2020 08:50 AM
    Hello,

    i had the same issues and i think you have to check if the actions are loaded correctly on startup. 
    If not you can try to start it like i have described it in my last post.