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