Settings

Database

The Most Important Aspect Influencing Chatbot Performance


Currently, the only available source is the website; full functionality will be available from July 1, 2024.

What is a Database?

A database is a resource of information that your chatbot uses to generate responses. This functionality allows you to dynamically fine-tune the chatbot's responses by manipulating its knowledge base. A single database can contain a variety of information sources, such as:

  1. Websites
  2. Files in .pdf, .txt, .xlsx, .docx formats, and many others
  3. Google Drive
  4. Notion

Creating Your First Database

To create your first database for the chatbot:

  1. Go to: https://botuj.pl/panel/database/all
  2. Click the Create Database button, then enter a name for the database (the name does not affect the chatbot's performance).
  3. You're done!

create_db

You can easily test different databases using the activation feature. When a database is marked as active, the chatbot can use it to generate responses. You can change its status to inactive at any time, which will prevent the bot from using it.

Regardless of the source type, you can edit the uploaded files directly in the panel. This makes it easy to correct minor errors in the chatbot's knowledge.

Website as a Knowledge Source

In most cases, your website will serve as an ideal knowledge base for the chatbot. To add it, click the plus icon next to the "Websites" tab. In the opened window, you have two options:

  1. Add Website
  2. Add Link

The "Add Website" option will scrape the entire website, while "Add Link" will scrape a single page from the provided link.

Let’s choose the first option.

create_scrape

After a few seconds, your website will be displayed. The orange dot indicates that all possible links have been scraped. Now, you need to select the links you want to include in your database.

Click the button that appears when you hover over a link (a button with three dots) and select the Choose links option.

awaiting

In the new window, select the links you want and click Save.

After a few minutes, the dot should turn green, indicating that all links have been scraped and are now being used by the chatbot.

Files

In addition to websites, you can also add files as knowledge sources. Just like websites, these files can be easily edited without the need to re-upload them.

.csv files are an exception.

.csv files are added as a separate category and are not treated like other formats.

awaiting

As shown in the image above, .csv files are classified into separate categories. In certain industries, such as e-commerce, the bot needs accurate information regarding prices, stock levels, etc. .csv files are processed as separate JSON structures, giving the bot access to all up-to-date information.

Soon, direct integration with platforms like Shopify, BaseLinker, and others will be available, enabling automatic product list updates.