你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.