It’s live! Access exclusive 2024 live chat benchmark data & see how well your team is performing.

Get the data
How to Use Generative Answers
Introduction

Generative answers in Comm100 refer to responses generated by our Chatbot through deep learning and analysis of the extensive information sources you provide using Large Language Models (LLMs). These responses are not predefined or stored in a database; they are automatically generated to provide coherent, informative, and contextually relevant outputs that closely resemble the source data.

Our system employs Tokens to measure the usage of Generative Answers. Token represents number of words, where 100 tokens equate approximately 75 words. This calculation encompasses both the words presented in the generated response and the supporting materials extracted from the information sources. If a word repeats within a single question-answer scenario, it is counted based on the actual frequency of its occurrence. When crafting responses to one visitor question, approximately 5,000 tokens are typically consumed.

Enable Generative Answers

When creating a new Chatbot or editing a Chatbot, turn on the Use Generative Answers toggle.

enablegene1.jpeg

Note: Generative Answers are not applicable to Third-party Chatbots.
Add Content for Chatbot to Fetch Information

Content is the information resources that Chatbot fetches and utilizes to interact with your visitors. Comm100 Chatbot supports the following types of Content:

  • Online webpages. You can provide an accessible URL for the Chatbot to retrieve public webpage resources.
  • Local files. You can upload your local files (DOCX, HTML, MD, PDF, or TXT files) for the Chatbot to use. 
  • YouTube videos. You can provide a YouTube video URL for the Chatbot to fetch information. Videos without English subtitles cannot be used.
  • Knowledge Base articles. You can add your Knowledge Base articles from Comm100 or connected Confluence Cloud account for the Chatbot to use.
  • SharePoint Online files. You can add your files stored on SharePoint Online for the Chatbot to use by connecting your SharePoint account with Comm100.  

Input a Webpage URL

To use online public webpages as the Content, follow these steps:

  1. On the Comm100 Control Panel, go to Bot > Chatbot > Generative Answers.
    menu.png
  2. Click New Content and choose Webpage. The New Content - Webpage drawer appears from the right.
    newcontent.png
  3. Input an accessible public URL for Chatbot to access the content. You can use regular expressions to filter out the webpages.
    New-Content.png
    Note: 
    • For the best results, providing your public help center homepage link is recommended.
    • Avoid entering a single page URL, such as https://www.yourcompany.com/index.html, as this will only retrieve that particular page.
    • The configured URL is set as the starting page. The Chatbot crawls and imports all the webpages starting with the URL you enter.
    • The URL matching rule enables you to filter out the pages you wish to sync. The setup requires a basic understanding of regular expressions. You can consult with your technical team or access basic information by clicking here.
      • When no URL matching rule is defined, all HTML webpages within the URL path are imported.
      • When a URL matching rule is defined, the Chatbot imports the webpages that match the rule, regardless of whether they are within the URL path or not.
      • With multiple rules in place, a webpage is imported as long as it matches one of the defined rules.
  4. Click Sync Now. The system starts to fetch valuable information based on the content available on the website and shows the processing status.
    sync progress.png
    Note: For each source, the total content size cannot be more than 50MB. The crawling task stops once this number is reached and more pages are ignored.
  5. (Optional) To cancel a syncing task waiting in line or in progress, click Manage Resources, then delete the task from the resource list.

Upload Local Files

To upload your local files as the Content, follow these steps:

  1. On the Comm100 Control Panel, go to Bot > Chatbot > Generative Answers.
  2. Click New Content and choose File. The New Content - File drawer appears from the right.
    newcontent.png
  3. To upload your files, drag and drop your files into the file box or click to choose your files. During the upload process, you can view the progress of uploading.
  4. (Optional) To cancel an uploading task, click the Delete button for a single file, or click Cancel All Uploads to cancel the entire task.
    cancel upload.png
Note: 
  • Supported file formats: DOCX, HTML, MD, PDF, and TXT.
  • The maximum size for a single file to upload is 20.00MB.
  • During the file uploading process, if you choose Cancel All Uploads, all the files in this task are removed, no matter whether the file has been uploaded or not. 


Provide a YouTube Video URL

You can provide a YouTube video URL for the Chatbot to use YouTube resources. The Chatbot extracts English subtitles from the video and uses them as Content. Videos with no English subtitles cannot be used.

To use YouTube videos as Content, follow these steps:

  1. On the Comm100 Control Panel, go to Bot > Chatbot > Generative Answers.
  2. Click New Content and choose Video. The New Content - Video drawer appears from the right.
    newcontent.png
  3. Provide the URL of the YouTube video. For multiple videos, enter one URL per line.
    url.png
    Note: Both webpage URL and sharing URL of the YouTube video are supported.
    • The webpage URL can be found in the address bar of your web browser.
      webURL.png
    • The sharing URL can be obtained by clicking the Share button under the video.
      shareURL.png
  4. Click ProcessThe system starts to process the video and shows the processing status.
    progress.png
    After processing completes, the video appears in the Content list.
    Note: Videos with no English subtitle cannot be processed. The system shows the failed URL list for you to download. If you close the drawer before downloading the list, the failed URL list will be unavailable.
    fail1.png

Add Knowledge Base Articles 

If you are using Comm100 Knowledge Base or Confluence Cloud, you can add the Knowledge Base articles from the connected accounts for the chatbot to use. 

  • If your site has Comm100 Knowledge Base subscription, you can use the articles directly by selecting it as the KB product. 
  • To use Confluence Knowledge Base articles, you need to connect your Confluence account from Apps & Integrations > Confluence first.
    path1.jpeg


To add Knowledge Base articles, follow these steps:

  1. On the Comm100 Control Panel, go to Bot > Chatbot > Generative Answers.
  2. Click New Content and choose KB article. The New Content - KB Article drawer appears from the right.
    newcontent.png
    Note: For Comm100 KB, if you have defined your branding name from the Comm100 Partner Portal, the product name will be consistent with your branding name in the XX KB pattern.
  3. Choose Comm100 KB or Confluence Cloud from the KB product dropdown list, then choose the KBs or spaces that are synced from Comm100 KB or your Confluence Cloud account.
    choosekb.png
    Note: 
    • All the published pages in the selected KBs or spaces are imported. Draft pages are ignored.
    • All the text-based elements are imported. Images, medias, and files are ignored.
    • For Comm100 KBs, the system auto-syncs the updates in real-time. For Confluence KB spaces, the system auto-syncs the updates every 12 hours. You can also manually sync the KB for the latest updates. 
  4. Click Sync Now. The system starts to import knowledge base articles from the selected spaces and shows the processing status.
    process.png
  5. (Optional) To cancel a syncing task waiting in line or in progress, click the gear icon, then delete the task from the KB resource list.

Add SharePoint Online Files

To use files stored on SharePoint Online as the Content, you need to connect your SharePoint account from Apps & Integrations > SharePoint first.
menu1.jpeg


After connecting your SharePoint account, follow these steps to add the files:

  1. On the Comm100 Control Panel, go to Bot > Chatbot > Generative Answers.
  2. Click New Content and choose Cloud file.
    newcontent.png
    The New Content - Cloud file drawer appears from the right.
  3. Choose the cloud directories that are synced from your SharePoint account.
    selectcontent.png
  4. Click Sync Now. The system starts to import files from the selected directory and shows the processing status. You can click the gear icon to view the status in real time
    manage1.jpeg
  5. (Optional) To cancel a syncing task waiting in line or in progress, click the gear icon, then delete the task from the directory list.
Note: 
  • All the supported files in the selected directories are imported. Supported file formats: DOCX, HTML, MD, PDF, and TXT.
  • After the cloud directories are added, the cloud files from the directories are auto-updated every 12 hours. You can also manually sync the directories for the latest updates. 
  • If a directory is deleted from SharePoint after being synced to Comm100, the directory still exists as an item in the Contents list, but the sync will fail at next sync.
Manage Contents
After contents are added, you can view and manage the contents from the content list. You can:
  • Filter the content list by choosing the content type from the dropdown list or by search keywords.
    filter.png   
  • Enable or disable the contents. All the contents are enabled when being added to the Comm100 system. For outdated contents, you can disable them to stop the Chatbot from using the information. To disable contents, select the items in the list, then click Disable on the top toolbar.
    disable1.jpeg
    For webpages, KB articles, and cloud files, you can disable all the contents from a source URL, KB, or cloud directory. To disable a source URL, KB, or cloud directory, click the gear icon on the Generative Answers page, then turn off the enable toggle on the Manage Sources (or Manage KBs / Cloud Directories) drawer that appears.
    dsiablesource1.jpeg
  • Show or hide the content in reference when the Chatbot provides an answer. By default, when the chatbot generates an answer based on a specific content, the content appears in the reference part in the Chatbot's answer. For file type of contents, visitors can click the reference link to view the details.
    reference.png
    To hide contents in reference, select the contents in the list, then click Hide in Reference on the top toolbar.
    hide1.jpeg
    You can also hide an individual content item by clicking it in the list, then turn off the Show in Reference toggle.
    hide2.jpeg
  • Sync contents for Chatbot to retrieve updates. When webpage URLs, Knowledge Base articles, and SharePoint files are added, the system syncs the Contents for the Chatbot to use. The system sync happens in fixed intervals thereafter. If you’ve made substantial updates, you can manually click Sync to have the system start syncing newly updated contents immediately.
    You can sync an individual webpage, Knowledge Base article, or SharePoint file by clicking it in the list, then click Sync on the details drawer that appears.
    sync2.jpeg
    To sync all the contents from a source URL, KB, or cloud directory, click the gear icon on the Generative Answers page, click the three dots icon and choose Sync on the Manage Sources (or Manage KBs / Cloud Directories) drawer that appears.
    sync1.jpeg
    Note:
    • For public webpages, the source sync typically takes few hours as the system retrieves all webpages under the provided public URL. The sync process happens every 7 days automatically. 
    • For SharePoint files and Confluence KB spaces, the sync duration depends on the size of the spaces and files. The sync process happens every 12 hours automatically.
    • For Comm100 KBs, the system auto-syncs the updates in real-time. 
  • Delete contents.
    • To delete videos and files, you can select them from the content list, then click Delete on the top toolbar.delete2.jpeg
    • To delete webpages, KB articles, or cloud files, you need to delete the source webpage URL, KB, or cloud directory that the contents are synced from. To delete a source URL, KB, or cloud directory, click the gear icon on the Generative Answers page, click the three dots icon and choose Delete on the Manage Sources (or Manage KBs / Cloud Directories) drawer that appears. 
How Chatbot Provides Answers 

Small Talk, Custom Answers, Generative Answers, and Smart Triggers are the four primary sources for Chatbot to locate suitable responses or perform proper actions. When all four types are equipped with valid answers or operations, Chatbot will provide responses in the following order of priority:

  1. Small Talk
    If the visitor’s question matches a Small Talk with a High Confidence Score, the Chatbot responds using the Small Talk flow. If there is no High Confidence Score match from Small Talk, the Chatbot proceeds to search for responses within the Custom Answers.
  2. High Confidence Answer from Custom Answers
    If the visitor’s question matches an Intent question with a High Confidence Score, the Chatbot provides the High Confidence Answer from your Custom Answers. While if no High Confidence Answer can be found, the Chatbot begins searching for responses within the Generative Answers.
  3. Generative Answers
    When a direct answer is available, it is provided directly to the visitor. However, if the Chatbot can only find highly related content, the Chatbot responds with a Possible Answer, including URLs to these related resources for the visitor's reference and further assistance. If the Chatbot cannot provide generative answers, it then uses the possible answers from Custom Answers.
  4. Possible Answers from Custom Answers
    If the answer’s confidence score falls within the Possible Answer range, the Chatbot responds with the possible Intents. While if the Chatbot finds no Intents meeting the Possible Answer threshold, it triggers the "Event when Chatbot cannot answer the visitor's question" flow defined in Event Messages.
    sensitivity.png
  5. Smart Triggers
    Smart triggers are the instructions for the chatbot to perform certain actions based on pre-defined conditions. It lets you define certain rules to have specific actions automatically. To learn more about Smart Triggers, see this article.

To learn more about Chatbot Sensitivity, see this article.
To learn more about Event Messages, see this article.