Network Shared Drive Data Sources

A Network Shared Drive data source enables you to enrich your KB with internal documents, policies, or FAQs, improving the accuracy and comprehensiveness of your AI Agent responses. By incorporating Network Shared Drive data sources, you will extract paragraphs from Excel, Word, and PDF files stored on your network.

Druid supports adding and extracting data from the following storage types:

  • Local File: Extract data from files located on the same machine as the KB Agent.
  • Local Share: Access and process information from files stored on a shared drive within your network, accessible to the KB Agent.
  • FTP: Integrate data from an FTP server using TLS implicit encryption (for cloud deployments only).
  • SFTP: Integrate data from an SFTP server using TLS implicit encryption (for cloud deployments only).

NOTE: While all storage options are available for Druid hybrid (KB Agent installed on premises) and full on-premise deployments, FTP and SFTP storage stand as the sole option available for KB in the cloud.

This section will guide you through the process of adding data from network shared drive to the KB:

Step 1: Create the data source

To begin, follow the step-by-step instructions in Data Source Creation. In the Add New Data Source modal, follow these instructions to create a data source based on your storage type.

Step 2. Crawl the data source

The data source configuration page appears by default on the Extracted paragraphs tab. The content of the root reflects the file structure from the Uri link you provided during data source creation. By default, all folders and files are excluded from scraping. To include files / folders for scrapping, hover the mouse over the desired item in the tree, click the Actions menu (the three dots) and select Include.

Click the Crawl button at the top-right corner of the page. In the Start Crawling Parameters modal, define the crawling policy by setting the parameters described in the table below.

Parameter Description
URL Automatically populated with the Uri (or the Host for FTP storage) you specified when adding the data source.
Depth

The number of directory levels the crawler will explore from the URL.

NOTE: To improve crawling efficiency, crawl each node individually instead of the entire root, especially if the storage has a deep structure. Set the depth to '0' to achieve this.

Click Start.

Info: Based on the crawling policy set, it might take up to a few minutes for the crawling to complete. You might want to refresh from time to time to see when the action has completed.

To crawl specific nodes, click the dots next to the desired node in the file repository explorer and select Crawl Path.

When the crawling completes, the extracted articles display under the Extracted paragraphs tab.

Step 3. Train the data source

To ensure the KB Engine searches through the data source paragraphs, train your data source by clicking the Train button at the top-left corner of the data source or select Train data source from the actions menu. Alternatively, you can Train all data sources.