Class ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic
-
- All Implemented Interfaces:
public final class ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.BuilderA builder for InnerStatic.
-
Method Summary
-
-
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()
Returns the raw JSON value of chunkOverlapTokens.
Unlike chunkOverlapTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_maxChunkSizeTokens
final JsonField<Long> _maxChunkSizeTokens()
Returns the raw JSON value of maxChunkSizeTokens.
Unlike maxChunkSizeTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder toBuilder()
-
validate
final ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder builder()
Returns a mutable builder for constructing an instance of InnerStatic.
The following fields are required:
.chunkOverlapTokens() .maxChunkSizeTokens()
-
-
-
-