Table of Contents

Class ImportFileConfig

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Optional settings for importing an existing Files API file into a FileSearchStore.

public class ImportFileConfig
Inheritance
ImportFileConfig
Derived
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>

See Also