Class: Revox::Models::CallSearchResponse::Call::LlmModel::UnionMember1

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/revox/models/call_search_response.rb,
sig/revox/models/call_search_response.rbs

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

#initializeObject



2509
# File 'sig/revox/models/call_search_response.rbs', line 2509

def initialize: (

Instance Attribute Details

#openrouter_model_idString

The model ID to use from OpenRouter. eg: openai/gpt-4.1

Parameters:

  • value (String)

Returns:

  • (String)


2965
# File 'lib/revox/models/call_search_response.rb', line 2965

required :openrouter_model_id, String

#openrouter_providerString

The provider to use from OpenRouter. eg: nebius, openai, azure, etc.

Parameters:

  • value (String)

Returns:

  • (String)


2971
# File 'lib/revox/models/call_search_response.rb', line 2971

required :openrouter_provider, String

#typeSymbol, :openrouter

Use a model from OpenRouter.

Parameters:

  • value (:openrouter)

Returns:

  • (Symbol, :openrouter)


2977
# File 'lib/revox/models/call_search_response.rb', line 2977

required :type, const: :openrouter

Instance Method Details

#to_hash{

Returns:

  • ({)


2515
# File 'sig/revox/models/call_search_response.rbs', line 2515

def to_hash: -> {