UpdateKnowledgeSourceFileRequest interface

Multipart request for updating a file in a File knowledge source.

Properties

content

The raw file content.

metadata

The JSON metadata describing the file.

Property Details

content

The raw file content.

content: FileContents | { contentType?: string, contents: FileContents, filename?: string }

Property Value

FileContents | { contentType?: string, contents: FileContents, filename?: string }

metadata

The JSON metadata describing the file.

metadata: FileUploadMetadata

Property Value