次の方法で共有


VectorStoreStaticChunkingStrategyOptions(Int32, Int32) Constructor

Definition

Initializes a new instance of VectorStoreStaticChunkingStrategyOptions.

public VectorStoreStaticChunkingStrategyOptions (int maxChunkSizeTokens, int chunkOverlapTokens);
new Azure.AI.Projects.VectorStoreStaticChunkingStrategyOptions : int * int -> Azure.AI.Projects.VectorStoreStaticChunkingStrategyOptions
Public Sub New (maxChunkSizeTokens As Integer, chunkOverlapTokens As Integer)

Parameters

maxChunkSizeTokens
Int32

The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.

chunkOverlapTokens
Int32

The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.

Applies to