UploadKnowledgeSourceFileMultipartRequest interface
Multipart request for uploading a file to a File knowledge source.
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