Training your Conversation AI Bot

Modified on Mon, 11 Dec 2023 at 09:38 AM

Welcome to the guide on how to train your Conversation AI Bot effectively. Training your bot is crucial for ensuring it provides accurate and relevant responses to user queries. The training process can be accomplished in two ways: 

  1. by providing a URL of a website or for web crawling
  2. by adding question-answer pairs in the Customize Bot Response section.



What is Bot Training and why is it important?


Bot training equips the Conversation AI Bot with the knowledge and capabilities it needs to interact intelligently with users. This involves teaching the bot to understand user queries and respond accurately, either by inputting data manually or by letting the bot crawl web content. 

A well-trained bot can enhance customer support, streamline information retrieval, and improve user experiences. Regularly updating and refining a bot's training ensures it stays up-to-date, adapts to changing user needs, and consistently delivers high-quality assistance.


Ways to Train the Conversation AI Bot


Via Web URLs

Say goodbye to time-consuming manual input when training your bot. Now, you can effortlessly provide it with website or blog URLs (yes, plural), and let the bot do the heavy lifting for you. Whenever a contact poses a question, the bot will seamlessly derive the right answers from the information you've provided.

URL Crawling Modes

  1. Exact URL

    • This is the recommended option for precise training. With the Exact URL method, the bot will crawl the exact URL provided and train itself based on the information it finds there.
    • How to use Exact URL Mode:
      1. Go to the "Bot Training" in Conversation AI Bot's settings.
      2. Choose the option "Exact URL."
      3. Enter the URL you want to crawl and hit "Get Data."
  2. All URLs in this Domain

    • If you want to train your bot with a broader range of information from a specific domain, you can choose the "All URLs in this Domain" option. The bot will crawl all the pages and links on the specified domain and provide you with the option to select which pages to train from.
    • How to use All URLs in this Domain Mode:
      1. Go to the "Bot Training" in Conversation AI Bot's settings.
      2. Choose the option "All URLs in this domain."
      3. Enter the URL and hit "Get Data."
      4. Wait for the pages to load, and then you'll be presented with a list of available URLs.
      5. Choose the pages that will be relevant to training the bot and hit "Train Bot."
    • During page selection (Step 5 above), you'll encounter two lists:
      • New Pages - Fresh URLs not part of the bot's current training data. Selecting them will add them to the "Uploaded Links" table once the training is completed
      • Existing Pages - URLs already part of the bot's current training dataset and visible in the "Uploaded Links" table below. Selecting them will refresh all the URLs selected
  3. All URLs with this Path

    • The bot will crawl all pages on the provided URL and allow you to select which pages to train from, based on the existence of the specified path in the page URL
    • How to use All URLs with this Path Mode:
      1. Go to the "Bot Training" in Conversation AI Bot's settings.
      2. Choose the option "All URLs with this Path."
      3. Enter the URL and hit "Get Data."
      4. Wait for the pages to load, and then you'll be presented with a list of available URLs.
      5. Choose the pages that will be relevant to training the bot and hit "Train Bot."


Uploaded Links Table

All the links/URLs that the bot has been trained on are visible in the Uploaded link table


Each URL will have one of these 2 statuses:

  • Trained - The bot successfully learned from this URL. The "Last data refreshed at" date-time is also visible which can be used to identify if a fresh data refresh is required for that specific URL
  • Failed - The bot failed to train for this URL. You can either refresh and try again or delete the URL
- URLs are not instantly added to the Uploaded Links table. Wait for all URLs to appear in the table before using the Conversation AI bot - On refreshing a URL, wait for the last data refresh timestamp to update before testing the bot - Maintaining concise and relevant data significantly boosts the bot's performance and responses. Regularly review and remove irrelevant URLs from the Uploaded Links table


Manually via Questions and Answers

In addition to training via URL crawling, you can manually add question-answer pairs to customize your bot's responses. This method allows you to fine-tune the bot's knowledge to address specific queries from your users.

How to manually train the bot:

  1. Access the Conversation AI Bot settings.
  2. Locate the "Customize Bot Response" section.
  3. Add a new question and its corresponding answer.
  4. Repeat this process for each question-answer pair you want to include in the bot's training.


FAQs

Q: Can the Bot book appointments on the calendar rather than sending the booking link?

A: Currently, the bot can only send the booking to the contacts and not book an appointment directly but this is in development and will be out soon.


Q: Can the bot be trained based on Google Sheets and Docs?

A: The bot only supports webpages or blogs for now. Google Sheet and Docs support coming soon.


Q: I am not able to find Conversation AI settings in sub-account settings.

A: Try enabling "Conversation AI" in the "Company" tab in the Agency Settings sidebar or contact support.


Q: Can I Upload documents (PDF, text, or doc) to train the bot?

A: Bot training on file upload is coming soon.


Q: What is the purpose of the "thumbs up" and "thumbs down" icons on the Bot Trial Page?

A: These icons serve as a feedback mechanism. The "thumbs up" icon indicates that the bot's response is correct, while the "thumbs down" icon allows users to edit the bot's response or the question.


Q: How does the feedback mechanism on the Conversation Page differ from the Bot Trial Page?

A: The Conversation Page mirrors the functionality of the Bot Trial Page. Both pages allow users to provide feedback or make corrections using the "thumbs up" and "thumbs down" icons.


Q: How does the "Train Bot" feature work?

A: After making necessary edits to a bot's response or question, users can click "Train Bot" to add the updated Q&A pair to the bot's FAQ database. This action refines the bot's knowledge base, allowing it to provide better responses in future interactions.


Q: Can I edit both the question and the answer when I click the "thumbs down" icon?

A: Yes, the "thumbs down" icon opens a pop-up window where you can edit both the question and the answer provided by the bot.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article