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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET