SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Debug Your SAP Conversational AI Chatbot

Use the debugging features of SAP Conversational AI while designing your chatbot to help you fix problems and improve the chatbot.

Overview

🎓 beginner 10 min. SAP Conversational AiBeginnerMachine LearningArtificial IntelligenceSAP Business Technology Platform

You will learn

  • How the chatbot chooses what skill to run
  • How to use the Test panel
  • How to use the Chat Preview, including its JSON and debug features
Unknown U Unknown November 4, 2022
Created by September 22, 2021
Contributors

Prerequisites

Prerequisites

Steps

Intro

Once you design your bot and are putting it together (e.g., adding intents, expressions, and intents), you will want to test it as you go and keep making it better. The Test panel and Chat Preview lets you test your bot against different hypothetical utterances and conversations, to see what is happening under the hood – and then make adjustments.

In previous tutorials we used the test panel and chat preview. Now that you have a little experience, we can take a deeper dive into the debugging tools and how to make the best use of them.


Step 1 How does chatbot work?

To truly understand how chatbots work, you need to peer under the hood a little and see the process. Yes, a little technical, sometimes philosophical, but it will help when you’re struggling and debugging your chatbot.

There are 2 main things that happen each time someone enters text into the conversation:

  1. NLP (Natural Language Processing): The user “utters” something – types something into the chat – and the bot figures out to which intent the user meant and discerns any entities. For the most part, each utterance is independent of the next, from the point of view of the NLP.

  2. Skill Selection: After the chatbot knows what the user said (in the form of intents and entities), the chatbot must decide what skill to run and what actions to take.

    Actions can be sending a message, calling an API, or changing the conversation state (by activating a different skill, editing the memory, or resetting the conversation).

Step 2 NLP
+
Step 3 NLP – and Test panel
+
Step 4 Skill selection
+
Step 5 Chat preview
+
Step 6 JSON conversation
+
Step 7 Debug panel
+
Step 8 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
1. How does chatbot work? 2. NLP 3. NLP – and Test panel 4. Skill selection 5. Chat preview 6. JSON conversation 7. Debug panel 8. Test yourself

Learn more →