Package com.openai.models.beta.threads
Class ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy
-
- All Implemented Interfaces:
public final class ThreadCreateParams.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
ThreadCreateParams.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
ThreadCreateParams.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<ThreadCreateParams.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 ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject asStatic()
-
accept
final <T extends Any> T accept(ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Visitor<T> visitor)
-
ofAuto
final static ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy ofAuto()
The default strategy. This strategy currently uses a
max_chunk_size_tokens
of800
andchunk_overlap_tokens
of400
.
-
-
-
-