Class: OpenAI::Models::Beta::ThreadCreateParams::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static::Static
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ThreadCreateParams::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static::Static
- Defined in:
- lib/openai/models/beta/thread_create_params.rb
Overview
Instance Attribute Summary collapse
-
#chunk_overlap_tokens ⇒ Integer
The number of tokens that overlap between chunks.
-
#max_chunk_size_tokens ⇒ Integer
The maximum number of tokens in each chunk.
Instance Method Summary collapse
-
#initialize(chunk_overlap_tokens: , max_chunk_size_tokens: ) ⇒ void
constructor
Some parameter documentations has been truncated, see Static for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(chunk_overlap_tokens: , max_chunk_size_tokens: ) ⇒ void
Some parameter documentations has been truncated, see OpenAI::Models::Beta::ThreadCreateParams::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static::Static for more details.
|
|
# File 'lib/openai/models/beta/thread_create_params.rb', line 371
|
Instance Attribute Details
#chunk_overlap_tokens ⇒ Integer
The number of tokens that overlap between chunks. The default value is 400.
Note that the overlap must not exceed half of max_chunk_size_tokens.
362 |
# File 'lib/openai/models/beta/thread_create_params.rb', line 362 required :chunk_overlap_tokens, Integer |
#max_chunk_size_tokens ⇒ Integer
The maximum number of tokens in each chunk. The default value is 800. The
minimum value is 100 and the maximum value is 4096.
369 |
# File 'lib/openai/models/beta/thread_create_params.rb', line 369 required :max_chunk_size_tokens, Integer |