Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Hi Everyone,

Thanks for visiting my blog. This blog is actually an update to one of my previous blogs on IT Ticket classification using Machine Learning. Here, I will tell you how can be a better substitute to Python Machine Learning based approach or the Text Mining features of SAP HANA.

My blog on Python approach:

To start with, is a Conversational Artificial Intelligence solution from SAP which could perform Natural Language Processing on Text/Voice media.

The output of our PoC is to predict the team/queue to which an IT Ticket could be cascaded depending on the text in the ticket. After working with on a different Chat bot project, we understood how this wonderful tool can be used to automate or replace the Machine Learning based Python script we were using previously.

Part 1 -

Step 1 - Create a new bot once you login into (SAP CAI)

Step 2: Create intents in the, for example I am creating my first Intent (Consider intents as Teams/queues in this requriement).

I have created 3 entities here.

Step 3: Adding expressions or text into the Intents (Tickets will be classified based on the expressions we mention here, agree its perfectly pattern matching. But, this goes with my requirement.I am not considering the grammar or true intention of user in the IT tickets!)

Similarly, I'm doing this for the other two Intents we have.

Step 4: Creating skills, I am creating one for each of the Intents I have. We do this in the 'Build' Part of

Fallback is a default Skill.

Step 5: Linking the intents to the skills. In Intents i.e., 'Train' section in we can do this in 'Triggers' part.

Similarly we do the same for the other two skills.


Step 6: Let us test if the classification is working using the chat interface provided in itself.


Let us consider 'No internet' is an IT ticket, here we see it got classified into network_dept which will be the team.

Step 7: You can follow the steps mentioned in this blog to call the dialog API to which we can send our IT tickets and get back the Intents which are queues in our case.

Step 8: Build a SAPUI5 tool as I have shown in my blog.

Tada ! Done.

Please contact me if you need more help on this. I will keep posting more about this.