Class AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject.Static
-
- All Implemented Interfaces:
public final class AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject.Static
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject.Static.Builder
A builder for Static.
-
Method Summary
Modifier and Type Method Description final Long
chunkOverlapTokens()
The number of tokens that overlap between chunks. final Long
maxChunkSizeTokens()
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 AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject.Static
validate()
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject.Static.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject.Static.Builder
builder()
Returns a mutable builder for constructing an instance of Static. -
-
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 is100
and 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 is100
and the maximum value is4096
.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject.Static validate()
-
toBuilder
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject.Static.Builder toBuilder()
-
builder
final static AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject.Static.Builder builder()
Returns a mutable builder for constructing an instance of Static.
The following fields are required:
.chunkOverlapTokens() .maxChunkSizeTokens()
-
-
-
-