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

Build Your First FAQ Chatbot

Using SAP Conversational AI, build a chatbot designed to help users find answers to questions, based on a set of questions and answers uploaded in a CSV file.

Overview

🎓 beginner 10 min. SAP Conversational AiBeginnerArtificial IntelligenceMachine LearningSAP Business Technology Platform

You will learn

  • โœ”How to create an FAQ chatbot
  • โœ”How to upload a question/answer file
  • โœ”About the proper format of the questions/answers file
  • โœ”How to see what users really asked and to add those questions to the bot
Unknown U Unknown November 4, 2022
Created by September 22, 2021
Contributors

Prerequisites

Prerequisites

Steps

Intro

An FAQ chatbot lets a user ask questions and lets you guide them to the correct answer.

Example
Example
ย 

The FAQ bot project gives you the following automatically:

  • The ability to create the bot by uploading a CSV file with the questions and answers. The intents and skills for understanding the questions and providing the answer are automatically generated behind the scenes so you don’t need to manage them.

  • A set of additional skills designed for an FAQ bot, such as small talk and confirmations that the user got the answer they wanted.

For an overview of creating an FAQ chatbot, see this 3-minute video:

ย 


Step 1 Understand format of questions CSV file
โ€”

For this tutorial, use the CSV file we will provide you. But you can create your own using the following guidelines:

  • The CSV file is in UTF-8 format and contains 2 columns, with headers Question and Answer.

  • Make questions actual questions, not just phrases or keywords. You can create alternative questions – for the same answers – by writing a question-answer pair and then on the next row writing another question without an answer (this is an alternative question for the answer in the previous line).

  • Limit answers to 640 characters. For long answers, provide a short answer and send users to an external site. Answers should rephrase question

Here’s an example:

QuestionAnswer
What do you think of my first question?I think this first question is absolutely wonderful.
How much do you love this alternative phrasing of the first question?ย 
Isn’t the first question the most fantastic?ย 
How much do you hate this second question?I think the second question is gross.
Isn’t the second question just the worst?ย 
Wow, did you ever dislike something more than this second question?ย 

More guidelines are in the Help Documentation.

You can create your own in Microsoft Excel, and save it as a CSV UTF-8 (Comma-delimited) (.csv) file.

Step 2 Download CSV with questions
+
Step 3 Create skeleton FAQ bot
+
Step 4 Upload CSV file
+
Step 5 Explore the questions
+
Step 6 Explore the skills
+
Step 7 Test and monitor your bot
+
Step 8 Monitor and improve the bot
+
Step 9 Additional Resources
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 9
1. Understand format of questions CSV file 2. Download CSV with questions 3. Create skeleton FAQ bot 4. Upload CSV file 5. Explore the questions 6. Explore the skills 7. Test and monitor your bot 8. Monitor and improve the bot 9. Additional Resources

Learn more →