fbpx
Reading:
Leadoo AI: What is a Knowledge Base and How to Build One

Leadoo Help Center

Search

Leadoo AI: What is a Knowledge Base and How to Build One

November 5, 2024

If you’re new to Leadoo AI jump over to this article to give you an overview of what it is and how you can use it in your Leadoo bots – Leadoo AI Overview: Understanding its Features and Integrating with Your Bots.

If you’re looking for a step-by-step guide on how to use AI in your Leadoo bots, this is the place to start! 

Contents

  1. What is a Knowledge Base?
  2. How to Build Your First Knowledge Base
  3. Adding data sources
  4. Training your Knowledge Base
  5. Editing the content in the Knowledge Base
  6. Troubleshooting
  7. What to read next

What is a Knowledge Base?

A knowledge base is Leadoo AI’s library of all the information it needs to know to answer your customer queries. This is where you train the AI on all the content and information you think will be most relevant.

You can train the AI using a combination of URLs and documents, and the AI can scan and train on your content in just a few minutes, making setup quick and easy!

Our #1 Tip: Use Multiple Knowledge Bases

Think of your knowledge bases as organised “buckets” of information. If everything is thrown together, it can be tricky for the AI to find the most relevant answers, which can reduce response accuracy. That’s why Leadoo AI gives you the option to create multiple knowledge bases and use them all within one AI node for more precise results.

For instance, if you run an e-commerce business, you might set up separate knowledge bases for “Product Details,” “Shipping & Delivery,” “Returns & Exchanges,” and “Account Help.” This way, customers get responses tailored to their specific needs—whether they’re looking for product specs, order tracking, or account support.

By giving each knowledge base a clear title and description, you make it easy for the AI to understand what information resides in each “bucket.” With this guidance, the AI can quickly search the right knowledge base and deliver accurate, relevant answers to your customers.

How to Build Your First Knowledge Base

1. Navigate to AI in the left-hand menu, then click Create an AI knowledge base in the top-right corner.

AD 4nXdHQa PlM7kBVsApS0oV4lWVVUQUwJ0ABzgiFPmpBtv sXpw74p58AUXlmZph1QJh dom15y2g9s BLl5arG hAboDNlwJ2 2A0uZPoaXuR kEwSwliaa6vWGfJC MeuNYUdfUFlizZJrjSrXLMk sIYerz?key=aviZP0Rn698sd7NbUCE2SA Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

2. Provide a name and description for your knowledge base. If you have multiple knowledge bases, including a clear description is important. Leadoo AI first reviews the descriptions of each knowledge base to determine which one to use to find the answer to the user’s question. After that, it examines the content of the selected knowledge base.

For example, on our knowledge base about embedding, this is the description that accompanies it:

This knowledge base contains information about how to embed Leadoo’s bots. This includes adding chatbot, CTAbot, InpageBot and VisualBot to websites.

Nayttokuva 2024 11 05 kello 12.16.30 Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

3. Choose automatic rescanning frequency. If your website is regularly updated, it’s best practice to enable automatic rescanning to keep the AI’s knowledge fresh.

AD 4nXcDJCC 8zMfAGsdqFvly0xYPYFgCDksKV9PvogRIvvOeKfRoowk6GYoTM5RvCO7ICZOgzkfB7d5BuBkVHc mewm qZy7K10624ipX79fIuOWq1UfDKWyaf6zo Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

Adding data sources

You can add multiple data sources:

Document Scanning: Useful for content stored outside public web pages, such as PDFs or spreadsheets with product details or FAQs.

AD 4nXd4PnukxlfzEYWZ3lah3GTo0oG4qUlL34Mr2GkXezwy U9VY J0Jx9YjNhBAzEMtplUBv1lgUCeEOV06NFJT2si2ASv8rFRdRGqStJ3vwbJSBqkOWRDLND nbqdKhP5TfbHvIfV0ft Nd m3nJSfZQQgRmR?key=aviZP0Rn698sd7NbUCE2SA Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

Domain Scanning: Automatically search your website by including/excluding specific keywords. This method focuses on relevant content rather than scanning the entire site. 

For example, to build a knowledge base on “Leadoo Insights,” set up the search using rules the rules below.

AD 4nXdm2 5pG2xSZQSjQup3ayv5e qhFNYvp6IT Pq87priCdOfudSU Wn9AARu56ZZY QaIDeIgkif4 sdrrZQynV3jh icRidJoEnwFWY4Y8yUTvie0LJiTxfZ7D1uRn9zv0rT6u0v 9g 691 ZXvJfkm JQ?key=aviZP0Rn698sd7NbUCE2SA Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

1. Select domain as the source type

2. Add your website URL: https://leadoo.com

3. Include rules: *insights* 

The asterisk (*) acts as a wildcard in this case, allowing the crawler to search all URLs on leadoo.com that contain the word “insights” anywhere in the URL, regardless of what comes before or after it. If we only used *insights, the crawler would not include any URLs that had any other text after the word “insights.”

You can add multiple include or exclude rules by clicking on the plus button. This works as an OR condition e.g. scan all pages that include insights or conversion.

4. Select the maximum number of pages you want to scan.

5. Click Scan webpages. After a few minutes, you should see pages populating in the AI knowledge base section below.

Page Scanning: Manually add specific URLs by selecting the “Page” data source.

Text scanning: Manually input text for AI training.

Training your Knowledge Base

As your data is scanned, sources will show statuses such as Scanning, Ready to Train, or Trained.

Screen Shot 2024 10 21 at 11.08.39 AM Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One
Screen Shot 2024 10 21 at 11.08.50 AM Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One
Screen Shot 2024 10 21 at 11.09.28 AM Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One
Screen Shot 2024 10 21 at 11.13.54 AM Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

Once trained you can review the content by clicking the status label, which will display the information that has been captured.

AD 4nXd01kmlXvk0QYK3ndEasRLB8tl Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

Editing the content in the Knowledge Base

If, for any reason, you’re unhappy with the content that the Knowledge Base has scanned and trained you can edit this directly. Simply click on the pencil icon before the page, document etc. This will allow you to make any changes without the need for recanning and training content.

AD 4nXcUJMl7EWg1Fubw2QIoAcFb6cfuu2VOMMjVQ80OTfbloqLf v7Wqc0K15qUkMjXATPrCfwPSRwJD0AJbjlRWmk3fy8RxGyVBw85RD8sLBzNiQk1ZOWE7 zznWjeJAgJw4BwaNEzQaMJelA9VLS5BPpo7SI?key=aviZP0Rn698sd7NbUCE2SA Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

Your knowledge base is now ready to use within your Leadoo bot! Remember you can add and remove sources from a knowledge base at any time.

Troubleshooting

No pages are appearing when I try to scan by domain

1. Ensure you’ve adjusted the number of pages to scan

AD 4nXc36cmuaDPnOidGsDiwvayB3RyVHA1euMFkuhC9HwSraGAhfx0cR Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

2. Ensure You Have a Public Sitemap
Domain scanning requires your website to have a public sitemap, which is also essential for SEO. To check if you have one, visit: https://[YOUR WEBSITE URL]/robots.txt. If this doesn’t work then contact your website developers for more information.

You should see something like this:

AD 4nXeTZr9f4irXppa5Q50ideszahZFTOBmtS4wmjqMTWb2hawzsA0LIsS6UXpS9z6PRGUz0hz Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

My sources are scanning but some of the status messages show as Train Error

Try rescanning the source. Click the rescan icon on the right-hand side or, tick the box on the left-hand side of the source and click Sync Selected.

AD 4nXdaFCIOQAmIP3EdlZyGtPauSgTXMWlFYXW NF1p LTnbeVH7F2b6U2LCnQLcwVddOsyqBx94utLsaRnsh sU bfwOohmAsBk7gHoos DMV0MujSx0QPFvXv Leadoo ai Leadoo AI: What is a Knowledge Base and How to Build One

The AI isn’t picking up all the content from the source

Occasionally, Leadoo AI may not capture all the content from your sources. This can occur due to certain webpage elements optimised for page speed or user experience that are incompatible with AI crawlers. These issues can also inadvertently affect your SEO. Understanding these problematic elements can help ensure that essential content remains accessible to the AI.

Elements That Can Cause Problems:

  • Accordions
    Content within accordion sections is only visible when a user clicks to expand them. AI crawlers typically cannot interact with these elements, resulting in missed content. To ensure this information is included, consider expanding important accordions or providing alternative ways for the AI to access the hidden content.
  • Dynamic Content
    Content that only loads when selected or scrolled into view can be problematic. Since AI crawlers cannot trigger these actions, such content may remain uncaptured. To mitigate this, ensure that critical information is loaded statically or provide separate pages where essential content is fully visible without user interaction.
  • Linked Content
    Information that is hyperlinked to other pages may not be automatically followed by the AI. To ensure comprehensive coverage, you need to add the URLs of these linked pages individually to your knowledge base. This ensures that the AI can access and utilise all relevant information across your website.
  • Gated Content
    Content behind a login, form, or other gatekeepers is inaccessible to AI crawlers. If this information is crucial, consider providing alternative access methods or excluding such content from the knowledge base if it cannot be made publicly available. This ensures that the AI does not leave gaps in its responses.
  • Text Content Stored as Images
    When text is embedded within images, the AI cannot recognise or process it. This issue often arises with documents where text has been converted into images. To ensure all text is accessible, provide the content in a text-based format or use Optical Character Recognition (OCR) tools to convert images back into editable text.

If you need help building your knowledge base, reach out to your Customer Success Manager or our support team at [email protected].

Did you find this article helpful?
0 out of 0 found this helpful

Related Stories

You can now try Leadoo for FREE