Class AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy
-
- All Implemented Interfaces:
public final class AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy
The chunking strategy used to chunk the file(s). If not set, will use the
auto
strategy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Visitor
An interface that defines how to map each variant of ChunkingStrategy to a value of type T.
public final class
AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject
-
Method Summary
-
-
Method Detail
-
auto
final Optional<JsonValue> auto()
The default strategy. This strategy currently uses a
max_chunk_size_tokens
of800
andchunk_overlap_tokens
of400
.
-
static_
final Optional<AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject> static_()
-
asAuto
final JsonValue asAuto()
The default strategy. This strategy currently uses a
max_chunk_size_tokens
of800
andchunk_overlap_tokens
of400
.
-
asStatic
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject asStatic()
-
accept
final <T extends Any> T accept(AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Visitor<T> visitor)
-
validate
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy validate()
-
ofAuto
final static AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy ofAuto()
The default strategy. This strategy currently uses a
max_chunk_size_tokens
of800
andchunk_overlap_tokens
of400
.
-
-
-
-