Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel6
minLevel1
maxLevel6
include
outlinefalse
indent
exclude
stylesquare
excludetypelist
classprintabletrue
class

The role of the loader is to take files from a folder and upload them into the dashboard.

...

In next version, the service will update the ContentSourceName in the content info table to be “FileLoader” and the ContentSourceIP to the host's IP from which the service is running.

Measuring performance

The File uploader sends each document to the Firewall API. Once the Firewall API inserts the document into the content list, it returns to the loader to get the next file.

Based on AGAT typical files, it takes around 0.2 sec for a file
So, if you have 10,000 files, it would take around 0.5 hours.

Syncing performance to the dashboard

Every time (based on PrefromanceFileCount ), the service will write the performance into the log the performance.

In next version, it will sync the data into the preference table. https://agatsoftware.atlassian.net/wiki/spaces/SKYP/pages/3184656385/BusinessGPT-+BG+Tables+SRS#TABLE---BG_PERFORMANCE

...

“CopilotDataFolderLocation”. Each file is parsed, and the prompt and response are sent to the Firewapp API (the same as the proxy sends the data)

The FileLoader sends the user's API key manually updated in the config file.

If the user is missing, send it to Unknown@company.com.

The parser of CoPilot review sets is used by both the File Uploader and the ingestor

The CopliotReviewSetParser is a DLL that unzips the Review Set and extracts the prompt, responses, users, time, and files.