AI Server. Delete Folder/File#

The block deletes a folder or file from the knowledge base on the Sherpa AI Server.

GUID/Path to file or folder

[Text] GUID of the item or path to the folder or file. When specifying the path to the file, you must include the file name and extension.

For example, "Folder 1\Subfolder 2\Subfolder 3" or "Folder 1\Subfolder 2\Subfolder 3\Document.docx".

Processing Type

Select the type of processing.

Values:

  • Auto - automatic mode;
  • File - delete file;
  • Directory - delete directory.
Timeout[Number] Maximum wait time for a response in seconds.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that the blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.