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 | { contents: FileContents, contentType?: string, filename?: string }

Property Value

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

metadata

The JSON metadata describing the file.

metadata: FileUploadMetadata

Property Value