Package com.openai.models.beta.threads
Class ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy
-
- All Implemented Interfaces:
public final class ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategyThe chunking strategy used to chunk the file(s). If not set, will use the
autostrategy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.VisitorAn interface that defines how to map each variant of ChunkingStrategy to a value of type T.
public final classThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static
-
Method Summary
-
-
Method Detail
-
auto
final Optional<JsonValue> auto()
The default strategy. This strategy currently uses a
max_chunk_size_tokensof800andchunk_overlap_tokensof400.
-
static_
final Optional<ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static> static_()
-
asAuto
final JsonValue asAuto()
The default strategy. This strategy currently uses a
max_chunk_size_tokensof800andchunk_overlap_tokensof400.
-
asStatic
final ThreadCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static 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_tokensof800andchunk_overlap_tokensof400.
-
-
-
-