cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to reinitiate the conversation in same CAI Bot-Need to restart Chat Bot every time

former_member670464
Participant
0 Kudos

Hi All,

As of now I am able to test the CAI Chat Bot successfully only for the first time but I am not able to reinitiate the same conversation in the same chat. please suggest me how to resolve it, attaching the screenshots below.

Thanks in Advance

Accepted Solutions (0)

Answers (1)

Answers (1)

JonasB
Contributor
0 Kudos

Hi saisreelekhasuraparaju48,

please open the Debug panel in the Chat Preview to check what is happening the second time you enter the query. I would assume that it's either an API error or that no skill is triggered, because some memory field is used as a trigger of the skill.

If you're not able to find out, please post a screenshot of the debug panel as well as of the Triggers tab of the skill you're expecting to be triggered.

Regards
Jonas

former_member670464
Participant
0 Kudos

Hi Jonas,

I couldn't able to find out the root cause of the issue, here i am attaching screenshot of that. Could you please assist me where did i do wrong.

Thanks

JonasB
Contributor
0 Kudos

Hi Sai,

looks to me like the difference between triggers and requirements might not be clear. In your case the trigger conditions (in Triggers tab) are fulfilled, so the skill is triggered. You nevertheless defined three requirements, so only after all three requirements are fulfilled, the actions of the skill will be executed - meaning in your case after the user entered expressions for all three entities. Is that really what you're intending?

To better understand what is happening, I would recommend to expand the three requirements, click on "New Replies" next to "If #get_netreq is missing" and add a text message to request the additional information from the user.

If you would like to better understand the usage of triggers and requirements, I would recommend the open SAP course "How to Build Chatbots with SAP Conversational AI" (https://open.sap.com/courses/cai1https://open.sap.com/courses/cai1) or one of the tutorials (e.g. https://developers.sap.com/group.cai-shipping-bot.html).

Regards