Table of Contents

Class RagFileChunkingConfig

Namespace
GenerativeAI.Types.RagEngine
Assembly
GenerativeAI.dll

Specifies the size and overlap of chunks for RagFiles.

public class RagFileChunkingConfig
Inheritance
RagFileChunkingConfig
Inherited Members
Extension Methods

Properties

ChunkOverlap

The overlap between chunks.

[JsonPropertyName("chunkOverlap")]
[Obsolete("Use FixedLengthChunking property instead. ChunkOverlap property will be removed in a future version.")]
public int? ChunkOverlap { get; set; }

Property Value

int?

ChunkSize

The size of the chunks.

[JsonPropertyName("chunkSize")]
[Obsolete("Use FixedLengthChunking property instead. ChunkSize property will be removed in a future version.")]
public int? ChunkSize { get; set; }

Property Value

int?

FixedLengthChunking

Specifies the fixed length chunking config.

[JsonPropertyName("fixedLengthChunking")]
public RagFileChunkingConfigFixedLengthChunking? FixedLengthChunking { get; set; }

Property Value

RagFileChunkingConfigFixedLengthChunking