Class: Telnyx::Models::CallAssistantRequest::FallbackConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/call_assistant_request.rb

Overview

See Also:

Defined Under Namespace

Classes: ExternalLlm

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(external_llm: nil, llm_api_key_ref: nil, model: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::CallAssistantRequest::FallbackConfig for more details.

Fallback LLM configuration used when the primary LLM provider is unavailable.

Parameters:

  • external_llm (Telnyx::Models::CallAssistantRequest::FallbackConfig::ExternalLlm) (defaults to: nil)

    External LLM fallback configuration.

  • llm_api_key_ref (String) (defaults to: nil)

    Integration secret identifier for the fallback model API key.

  • model (String) (defaults to: nil)

    Fallback Telnyx-hosted model to use when the primary LLM provider is unavailable



# File 'lib/telnyx/models/call_assistant_request.rb', line 259

Instance Attribute Details

#external_llmTelnyx::Models::CallAssistantRequest::FallbackConfig::ExternalLlm?

External LLM fallback configuration.



244
# File 'lib/telnyx/models/call_assistant_request.rb', line 244

optional :external_llm, -> { Telnyx::CallAssistantRequest::FallbackConfig::ExternalLlm }

#llm_api_key_refString?

Integration secret identifier for the fallback model API key.

Returns:

  • (String, nil)


250
# File 'lib/telnyx/models/call_assistant_request.rb', line 250

optional :llm_api_key_ref, String

#modelString?

Fallback Telnyx-hosted model to use when the primary LLM provider is unavailable.

Returns:

  • (String, nil)


257
# File 'lib/telnyx/models/call_assistant_request.rb', line 257

optional :model, String