Class: OpenAI::Models::Beta::ThreadCreateAndRunParams::Thread::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static

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

Defined Under Namespace

Classes: Static

Instance Attribute Summary collapse

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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:

  • type (defaults to: :static) —

    Always static.



# File 'lib/openai/models/beta/thread_create_and_run_params.rb', line 707

Instance Attribute Details

#static ⇒ OpenAI::Models::Beta::ThreadCreateAndRunParams::Thread::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static::Static

Parameters:

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

Returns:



694
695
696
697
698
699
# File 'lib/openai/models/beta/thread_create_and_run_params.rb', line 694

required(
  :static,
  -> {
    OpenAI::Beta::ThreadCreateAndRunParams::Thread::ToolResources::FileSearch::VectorStore::ChunkingStrategy::Static::Static
  }
)

#type ⇒ :static

Always static.

Returns:

  • (:static)


705
# File 'lib/openai/models/beta/thread_create_and_run_params.rb', line 705

required :type, const: :static

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


694
# File 'sig/openai/models/beta/thread_create_and_run_params.rbs', line 694

def to_hash: -> {