Package com.openai.models
Class StaticFileChunkingStrategy
-
- All Implemented Interfaces:
public final class StaticFileChunkingStrategy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classStaticFileChunkingStrategy.Builder
-
Method Summary
Modifier and Type Method Description final LongchunkOverlapTokens()The number of tokens that overlap between chunks. final LongmaxChunkSizeTokens()The maximum number of tokens in each chunk. final JsonField<Long>_chunkOverlapTokens()The number of tokens that overlap between chunks. final JsonField<Long>_maxChunkSizeTokens()The maximum number of tokens in each chunk. final Map<String, JsonValue>_additionalProperties()final StaticFileChunkingStrategyvalidate()final StaticFileChunkingStrategy.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static StaticFileChunkingStrategy.Builderbuilder()-
-
Method Detail
-
chunkOverlapTokens
final Long chunkOverlapTokens()
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.
-
maxChunkSizeTokens
final Long maxChunkSizeTokens()
The maximum number of tokens in each chunk. The default value is
800. The minimum value is100and the maximum value is4096.
-
_chunkOverlapTokens
final JsonField<Long> _chunkOverlapTokens()
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.
-
_maxChunkSizeTokens
final JsonField<Long> _maxChunkSizeTokens()
The maximum number of tokens in each chunk. The default value is
800. The minimum value is100and the maximum value is4096.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final StaticFileChunkingStrategy validate()
-
toBuilder
final StaticFileChunkingStrategy.Builder toBuilder()
-
builder
final static StaticFileChunkingStrategy.Builder builder()
-
-
-
-