Table of Contents

Class UploadToFileSearchStoreConfig

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Optional settings for uploading a file directly into a FileSearchStore. Sent as the JSON metadata of the uploadToFileSearchStore request.

public class UploadToFileSearchStoreConfig
Inheritance
UploadToFileSearchStoreConfig
Inherited Members
Extension Methods

Properties

ChunkingConfig

How the service should chunk the file.

[JsonPropertyName("chunkingConfig")]
public ChunkingConfig? ChunkingConfig { get; set; }

Property Value

ChunkingConfig

CustomMetadata

User provided custom metadata stored as key-value pairs, usable for filtering at query time.

[JsonPropertyName("customMetadata")]
public List<CustomMetadata>? CustomMetadata { get; set; }

Property Value

List<CustomMetadata>

DisplayName

Display name of the created document.

[JsonPropertyName("displayName")]
public string? DisplayName { get; set; }

Property Value

string

MimeType

MIME type of the uploaded data. When uploading a local file and this is not set, it is inferred from the file extension.

[JsonPropertyName("mimeType")]
public string? MimeType { get; set; }

Property Value

string

See Also