Class: OpenAI::Models::Beta::AssistantCreateParams::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/openai/models/beta/assistant_create_params.rb,
sig/openai/models/beta/assistant_create_params.rbs

Defined Under Namespace

Classes: Static

Instance Attribute Summary collapse

Instance Method Summary collapse

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, meta_info, 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(static:, type: :static) ⇒ Object

Parameters:



# File 'lib/openai/models/beta/assistant_create_params.rb', line 318

Instance Attribute Details

#staticOpenAI::Models::Beta::AssistantCreateParams::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static::Static

Parameters:

  • value (OpenAI::Beta::AssistantCreateParams::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static::Static)

Returns:



309
310
# File 'lib/openai/models/beta/assistant_create_params.rb', line 309

required :static,
-> { OpenAI::Beta::AssistantCreateParams::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static::Static }

#typeSymbol, :static

Always static.

Parameters:

  • value (:static)

Returns:

  • (Symbol, :static)


316
# File 'lib/openai/models/beta/assistant_create_params.rb', line 316

required :type, const: :static

Instance Method Details

#to_hash{

Returns:

  • ({)


221
# File 'sig/openai/models/beta/assistant_create_params.rbs', line 221

def to_hash: -> {