Updated on 2024-10-12 GMT+08:00

Adding a Q&A-oriented Robot

If there is a large number of Q&A corpora, and complex scenarios such as invoking an interface to dynamically obtain information or performing multiple interactions do not need to be implemented, you can use a Q&A-oriented robot to quickly add questions and answers.

A Q&A-oriented robot answers a customer's questions based on knowledge rather than the customer's objective.

Before adding a Q&A-oriented robot, you need to add an FAQ group, which is similar to a domain used in a task-oriented robot. An FAQ group is used to answer specific business questions, such as a product tariff question.

  1. Choose Configuration Center > Chatbot Management > Semantic Understanding > Knowledge Management > FAQ Management.
  2. Click .
  3. Enter an FAQ group name and click .
  4. Enter a question and click to check whether a similar question has been added to the current FAQ group. If no, go to the next step.
  5. Click the number in the Quantity column. The Manage FAQ Group dialog box is displayed.
  6. Click and set the question, standard answer, and reply type (TTS or Resource template), as shown in the following figure.

  7. To improve the answer matching accuracy, click next to Question or next to Keyword1 to add a similar question or keyword.
  8. Click .
  9. (Optional) To improve efficiency in managing Q&As, enter them in a specified format and import them into the system in batches.

    1. Select a Q&A and click .

      The system exports a .json file, as shown in the following figure.

      Multiple records are supported for simQuestions, simAnswers, and keyWords. They must be entered in formats provided in the preceding figure.

    2. After entering all Q&A records, click , click , select the .json file on the local PC, and click .

      If certain questions to be uploaded exist in the FAQ group, when you select Overwrite Existing Configuration, they overwrite the existing ones. Otherwise, they will be imported as new records.

  10. Test the Q&A-oriented robot.

    1. Click Active in the Status column to activate the Q&A-oriented robot.
    2. Close the Manage FAQ Group * dialog box, click More corresponding to the new FAQ group, choose Test, and select Test activated FAQ group to activate the FAQ group.
    3. In the input area, enter a question or keyword, and click .

      The Q&A-oriented robot returns an answer and a list of similar questions.