Adding articles to a Q&A bot

An article is the combination of a question, its variations & response to this question. Every consumer’s query is compared to these articles (knowledge base) and the answer that returns the highest confidence level is displayed to the user as the response of the bot.
Use this procedure to add articles to a Q&A bot.

  1. Select a specific Q&A bot to which the articles must be added.
  2. Click Articles. The Knowledge base screen appears.
  3. Click Create new article.
  4. Specify the default question and the associated variants.
  5. Select any of these responses for the article. Possible values:
    Code snippet: The response is created using if-else conditions.
    Conditional response: The response is configured by rules. The response can be in different formats, such as text, carousel, quick reply, image, audio, video, code, and file. You can add multiple responses to an article.
  6. Specify a response that must be displayed to the consumer who queries for this article.
1831
  1. Click Save and train.
  2. Select the category to which the article must be added.

📘

Note:

You can select a category from the existing list or create a new category by specifying the name.

  1. Click Change and save. Once the articles are trained, a success message is displayed.
    You can use:
    • The Save option to save the articles and train later.
    • The Cancel and close option to close the screen without saving. You can continue editing the articles on the screen, using the Keep editing option.

Articles can also be imported to a bot in these ways:
Import from catalogues (beta)
Exact FAQs from link
Import articles from CSV

Extracting FAQs from link

  1. Navigate to the Articles console and click ⋮ next to the Create new article option.
  2. Click the Extract FAQs from link option.
  3. Provide the link that contains your FAQs.
  4. Click Extract.
1607
  1. Select the FAQs you want to add to your bot from the extracted FAQs and click Import.

Importing articles from CSV

Use this procedure to import articles from a CSV file to a Q&A bot.

  1. Navigate to the articles section and click Import articles from CSV.
  2. Click Download sample to view the format in which the articles must be specified.
  3. Specify this data for articles in excel:
    Category
    The category to which the article must be linked
    Response
    The response that must be displayed for the consumer query
    Question variant 1
    The query that a consumer may ask the bot
    Question variant 2
    The variation for the consumer utterance

📘

Note:

A question can be asked in different ways by a consumer. You can specify all the possible variations for the query in the variant fields.

  1. Click Browse and select the excel file that contains all articles.
749
  1. Click Import.