Package com.openai.models
Interface FileChunkingStrategyParam.Visitor
-
- All Implemented Interfaces:
public interface FileChunkingStrategyParam.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitAutoFileChunkingStrategyParam(AutoFileChunkingStrategyParam autoFileChunkingStrategyParam)
The default strategy. abstract T
visitStaticFileChunkingStrategyObjectParam(StaticFileChunkingStrategyObjectParam staticFileChunkingStrategyObjectParam)
T
unknown(JsonValue json)
-
-
Method Detail
-
visitAutoFileChunkingStrategyParam
abstract T visitAutoFileChunkingStrategyParam(AutoFileChunkingStrategyParam autoFileChunkingStrategyParam)
The default strategy. This strategy currently uses a
max_chunk_size_tokens
of800
andchunk_overlap_tokens
of400
.
-
visitStaticFileChunkingStrategyObjectParam
abstract T visitStaticFileChunkingStrategyObjectParam(StaticFileChunkingStrategyObjectParam staticFileChunkingStrategyObjectParam)
-
-
-
-