SAP-archive/SAPConversationalAI

another bug where incorrect skill is triggered

tiulimg opened this issue · 4 comments

I have 2 skills which might use the intent "end" to fill a list of items. hike names or hitchhikers names.
I use a memory variable in the skill's trigger to differentiate the next skill to trigger ("stage"). While flowing through the initial skills flow yeilds a suitable skill selection (and response), after activating the first skill and then clearing the memory, when I reach the stage of the first skill again it chooses the second skill instead of the first skill because both share an optional requirement even though the second skill doesn't fit the trigger of "stage" memory variable.

  1. first skill triggers:
    image

  2. second skill triggers:
    image

  3. first skill requirements:
    image

  4. second skill requirements:
    image

  5. flow:
    5.1. some skills a,b,c, c sets "stage" to registertohikes_selecthikes
    5.2. skill selecthikes triggers, execute an action and goto selecthikes (without waiting for user input), then it finishes gracefully with @EnD intent.
    5.3. some skills d,e,f, f sets "stage" to registertohikes_friendsdetails
    5.4. another bug i guess causes friendsdetails skill not to respond (even it logged as responding, posted another issue a minute ago)
    5.5. user inputs and skill g resets memory
    5.6. some skills a,b,c, c sets "stage" to registertohikes_selecthikes
    5.7. skill selecthikes triggers, execute an action and goto selecthikes (without waiting for user input), but then when @EnD intent is detected, frienddetails skill is triggered and not selecthikes even that "stage" is still registertohikes_selecthikes, and both have a trigger that checks this memory variable..

  6. print screen of bug, friendsdetails skill is triggered and not selecthikes..
    image

  7. selecthikes action if @EnD is absent
    image

  8. selecthikes action if @EnD is present
    image

Hi @tiulimg

do you still have the issue?

Thanks

Hi @tiulimg

Any update ? :)

Thanks and have a nice day!

Aurélie

Hi, no.. I configured things otherwise and the issue had been resolved

ok thanks, so I close the issue.

Regards,

Aurélie