Module: Telnyx::Models::AI::ChatCompletionRequest::Stop
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/telnyx/models/ai/chat_completion_request.rb,
sig/telnyx/models/ai/chat_completion_request.rbs
Overview
Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.
Constant Summary collapse
- StringArray =
Telnyx::Internal::Type::ArrayOf[String]
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Class Method Details
.variants ⇒ Array(String, Array<String>)
|
|
# File 'lib/telnyx/models/ai/chat_completion_request.rb', line 362
|
Instance Method Details
#self?.variants ⇒ ::Array[Telnyx::Models::AI::ChatCompletionRequest::stop]
325 |
# File 'sig/telnyx/models/ai/chat_completion_request.rbs', line 325
def self?.variants: -> ::Array[Telnyx::Models::AI::ChatCompletionRequest::stop]
|