Package com.openai.models.beta.threads
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
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()Returns the raw JSON value of chunkOverlapTokens. final JsonField<Long>_maxChunkSizeTokens()Returns the raw JSON value of maxChunkSizeTokens. final Map<String, JsonValue>_additionalProperties()final ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.BuildertoBuilder()final ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStaticvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builderbuilder()Returns a mutable builder for constructing an instance of InnerStatic. -
-
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()
-
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()
-
-
-
-