Module: OpenAI::Models::Beta::ThreadCreateParams::ToolResources::FileSearch::VectorStore::ChunkingStrategy
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/beta/thread_create_params.rb
Overview
The chunking strategy used to chunk the file(s). If not set, will use the ‘auto` strategy.
Defined Under Namespace
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: :auto) ⇒ Object
The default strategy.
Methods included from Internal::Type::Union
==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Class Method Details
.variants ⇒ Array(OpenAI::Models::Beta::ThreadCreateParams::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Auto, OpenAI::Models::Beta::ThreadCreateParams::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static)
|
# File 'lib/openai/models/beta/thread_create_params.rb', line 382
|
Instance Method Details
#initialize(type: :auto) ⇒ Object
The default strategy. This strategy currently uses a ‘max_chunk_size_tokens` of `800` and `chunk_overlap_tokens` of `400`.
|
# File 'lib/openai/models/beta/thread_create_params.rb', line 327
|