Chatbots

Create a chatbot

By default "New Chatbot" is always created in each Sub-company.

To switch between chatbots, simply select from the dropdown list as demonstrated below. Moreover, you have the option to create a new chatbot.

To create a new chatbot:

  1. Simply click on open dropdown near "Chatbots" sign.

  2. Click on "+ Create New Chat bot".

  1. In opened Create chatbot pop up choose from 2 options:

  • "New bot" to launch your chatbot from scratch.

  • "Import bot" to upload your existing chatbot and content.

4A. When the "New bot" option was selected: upload chatbot icon (optional), add name and choose default bot language (mandatory fields). Click the "Create" button -> user will be landed on the Settings tab for the created bot. Available languages are set from the default language in this case.

4B. When the "Import bot" option is selected: upload the chatbot icon (optional), add the name and add a zip file with your chatbot (mandatory fields). Click the "Create" button -> user will be landed on the Settings tab for the created bot. Default and available languages are set from the imported bot in this case.

Manage chatbot settings

To adjust chatbot settings, select the desired chatbot from the dropdown menu and navigate to the Settings tab.

You can customize the bot icon, chatbot name, available languages, and default language, and toggle the use of the Large Language Model. When disabled, the bot will exclusively use Proto's native large language model for conversation, while enabling it will allow the bot to utilize a third-party large language model for dialogue generation.

Note! The "Prompts" field appears only when the LLM toggle is enabled.

To further customize your chatbot, you can create instructions dictating its behaviour. This may include setting the tone, brevity, directness, and how it responds to complex queries. For creating effective prompts, you may refer to this guide.

Additionally, there is a "Delete" button available to delete the currently opened bot. Confirm the deletion by clicking the "Delete" button in the pop-up dialogue.

Manage chatbot data sources

Proto streamlines chatbot creation by automatically gathering information from your website, files, or text snippets. This feature simplifies the process of creating a virtual assistant, enabling automation and scalability in your customer support endeavours. The Data Sources page is divided into two sections:

In the top half of the page, you'll find the train bot options with three buttons:

  • "Upload File": Allows you to train the chatbot using content found in the uploaded file.

  • "Add URL": This enables the chatbot to gather information and learn from the entire content available on your site.

  • "Paste Snippet": Use this text as a snippet to train the chatbot.

The bottom part of the page contains the "Existing Content" table, displaying content that was added before using the options mentioned above. You can filter this content using the search bar and/or Type and Status filters.

Train chatbot via Add URL

  1. Click on the "Add URL" button.

  2. Add the name for the URL added.

  3. Input the URL of your website.

  4. Select the Crawl (train on this website and its linked websites) option.

  5. Enable/disable the "Automatically retrain every X hours" option.

  6. Click the "Train chatbot on URL" button.

This process enables the chatbot to gather information and learn from the entire content available on your site. You can then check the training status of your sources by reviewing them in the Existing Content section.

Note! Not all websites can be effectively scraped. This may be due to formatting inconsistencies, permission restrictions, or issues with site mapping. If you encounter difficulties uploading a site, we recommend transferring the content to a Google Doc instead.

Enable proxy bypass

There are instances where the chatbot may not be able to provide users with a response. One possible cause could be difficulties accessing your website due to restrictions imposed by a proxy server. In such cases, you can Enable proxy bypass to circumvent this issue and ensure seamless interaction with the chatbot.

Limit training to a single URL

You also have the option to train your chatbot only on a selected URL. To do so, simply choose the Single URL option.

Exclude pages from being crawled

You can restrict the training of your chatbot to specific pages of your website by listing the corresponding URLs under Exclude patterns. Moreover, you can efficiently exclude a page and its subpages by adding a pattern. For instance, the image below exempts all pages starting with *https://example.com/blog/.*

Automatically retrain bot every X hours

The bot, which is crawling through website pages to check for changes, will undergo a retraining process periodically. This feature is particularly useful for bots as websites frequently update their layouts, content, or underlying code, which can affect the bot's ability to extract information accurately.

Available frequency is 1 hour, 12 hours, 1 day, 1 week.

Train chatbot via Upload File

You have the option to train your chatbot on content found in uploaded files. This serves as an alternative in scenarios where your company's website isn't updated or if you don't have a website.

  • Click "Upload File".

  • Insert name and attach a file (supported file types: CSV, JSON, PDF. Up to 5MB).

  • Click the "Train chatbot on file" button.

You can then check the training status of your sources by reviewing them in the Existing Content section.

Train chatbot via Paste Snippet

  1. Click "Paste Snippet".

  2. Insert name and Snippet text (this text will be used as a snippet to train the chatbot).

  3. Click the "Train chatbot on Snippet" button.

You can then check the training status of your sources by reviewing them in the Existing Content section.

Existing content

After the user clicks on the "Train chatbot on URL/file/snippet" button, the added source appears in the "Existing Content" table, displaying its name, last updated date and status.

Note! When a source is added, it will appear as "Pending" until the process is completed successfully, at which point it will change to "Success". If the process fails, it will show as "Failure". During retraining, it will display "Loading", which will then change to "Success" once the retraining is complete, regardless of the time taken.

Feel free to filter this content using the search bar and/or Type and Status filters for your convenience.

You can open an added source to view detailed information in the right sidebar, including content grabbed from these sources. Hovering over the name field allows you to edit the name. Additionally, URL content has a retrain option next to the close window cross at the top.

To delete the content from the "Existing content" table simply select the desired source in the table, and click the "Delete Content" button. Confirm the deletion by clicking the "Delete" button in the pop-up dialogue.

Allowlist Proto for URL scraping

If your website is hosted with a service provider like Cloudflare, your URLs might be inaccessible to the chatbot. This can occur because many web service providers automatically block automated web traffic.

To fix this issue on Cloudflare:

  1. Go to your site in Cloudflare

  2. Go to Security → WAF → Tools

  1. Enter the IP address 20.198.250.74 in the IP, IP range, country name, or ASN field. Set Action to Allow, then click Add

  1. Back in Proto, add your website and be sure to disable Enable proxy bypass.

Last updated