ImportFileRequest

@Serializable
data class ImportFileRequest(val fileName: String, val customMetadata: List<CustomMetadata>? = null, val chunkingConfig: ChunkingConfig? = null)

Request body for importing a File from File Service to a FileSearchStore.

Constructors

Link copied to clipboard
constructor(fileName: String, customMetadata: List<CustomMetadata>? = null, chunkingConfig: ChunkingConfig? = null)

Properties

Link copied to clipboard

Config for telling the service how to chunk the file.

Link copied to clipboard

Custom metadata to be associated with the file.

Link copied to clipboard
val fileName: String

Required. The name of the File to import.