cancel
Showing results for 
Search instead for 
Did you mean: 

Create Conversation where use writes a text that is submitted to a service

markus_reich
Participant
0 Kudos
207

Hi,

I want to create a bot, which I connect to the Service Ticket Intelligence. I think I have a problem in understandig how I can get the user to input the problem as text 😕

I created an intent for identifying that the user has a problem, as a second step I want him to write/describe the problem, than an action shoulb be triggered!

I didn't get it work, although the case sounds so simple 😕

regards

Markus

View Entire Topic
dtephan
Participant
0 Kudos

Hi Markus,

your use case might sound quite simple in a first place, however from a technical perspective it is not. From what I understand is, that you want your bot to handle the second user input (after first has identified the user needs help) to be treated as kind of free text input. As this could be anything, this is nearly impossible to understand and label correctly by a natural language understanding engine. Therefore this requires special treatment - which is unfortunately not there yet, but planned for the near/mid term future of CAI.

There is still a way to overcome this situation, but it requires some effort and is not straight forward. Let me quickly sketch what you would need to do:

There is a first intent "problem" and a skill "identify-problem". The skill needs an intent based trigger "problem" is present (like you probably already have it) and then an action (not a requirement) with a message like "describe your problem", a set memory action where you set "problem-identified" as "true" and a goto action set to "wait for user input" and pointing to skill "handle-problem". This second skill has a trigger "problem-identified" is "true" and then performs the action you want to do - you will find the free text input from the user in the _source. Don't forget to set memory "problem-identified" to "false".

What happens is, that after the first skill was executed the system gives preference for the second user input to the skill "handle-problem" and with the memory based trigger, executes that skill.

Names/Labels are just chosen to give a more concrete example - of course you might choose them as you like.

Hope this helps and best regards,

Stephan

markus_reich
Participant
0 Kudos

Thx Stephan, you understand my problem 🙂

I will give it at try,

regards

Markus