Configuring Data Sources

The AI Agent requires at least one knowledge source to be able to answer customer questions. These knowledge source are business-specific data repositories that are added to AI Agents, to refer and pull answers from to provide resolution for customer queries.

Users can configure data sources by adding portals, topics, and subtopics from the eGain Knowledge system, and by uploading website URLs, eGain portals, and files. Regular updates and syncing keep the AI Agent’s knowledge base current, enhancing its ability to generate relevant and accurate responses.

To configure data sources for AI Agents:
  1. Create an AI Agent.

  2. On the Point to Content step, you can upload  files, websites, or eGain portals as data sources. 

Uploading Files

  1. From the Files tab, click anywhere in the Drag & drop files here or Browse Files section to upload any of the supported file types (.pdf, .docx, or .html) as data sources for the AI Agent.

    Users can add up to 10 files at once, each with a maximum size of 5 MB.

  2. Once the text content is extracted, you can view all imported files.

    Add Data Source Files

  3. To delete any file, select the checkbox next to the file and click the Delete Selected option.

  4. After you have uploaded all requisite file sources, you can either choose to upload website URLs or provide an eGain Portal as your data sources or proceed to the next step of uploading transcripts.

Uploading Website Sources

The crawling limit is 200 URLs.

  1. From the Websites tab, users can add websites as knowledge sources by using one of the following options:

    1. Website URLs: Select this option to add a website URL as the data source. In the Website URL field, input the URL and click the Crawl button. The AI Agent begins crawling and provides a list of URLs for all the webpages in the source URL.

      Add Website Data Sources

       

    2. Upload a text file with a list of URLs: Select this option to upload file (.csv or .txt) with URLs list to configure. You can also upload the file by either dragging and dropping or browsing. After successful upload, the AI Agent begins crawling and provides a list of URLs.

    3. Enter list of URLs: Select this option to manually enter a list of URLs (one in each line) to crawl.

    4. Upload Sitemap: Select this option to upload a sitemap with URLs to configure. After successful upload, the AI Agent begins crawling and provides a list of URLs.

  2. Invalid URLs are not added to the list and an error message is displayed notifying the number of invalid URLs.

  3. To delete any URLs, select the checkbox next to the URL and click the Delete Selected option.

Using eGain Portals as Sources

The crawling limit is 1200 URLs.

  1. From the eGain Portal tab, users can add their existing eGain portals and use them as data sources for their AI Agent in the following ways:
    • Authenticated Portals: To use an authenticated portal as your data source, provide the Portal URL, Username and Password. This option is available for local users only.
    • Unauthenticated Portals: To use unauthenticated portals, you need to provide the Portal URL.
  2. Click the Crawl button to extract the content of the portal.

    portal

  3. Once the crawling is complete, all imported URLs are displayed.
  4. To delete any portal URLs, select the checkbox next to the URL and click the Delete Selected option.