VectorStoreStaticChunkingStrategyOptions(Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET