Module: Zavudev::Models::CallHangupResponse::Call::Transcript::Role

Extended by:
Internal::Type::Enum
Defined in:
lib/zavudev/models/call_hangup_response.rb,
sig/zavudev/models/call_hangup_response.rbs

Overview

Who produced the turn. tool records a tool call the agent made during the conversation.

See Also:

  • Zavudev::Models::CallHangupResponse::Call::Transcript#role

Constant Summary collapse

USER =

Returns:

  • (:user)
:user
ASSISTANT =

Returns:

  • (:assistant)
:assistant
TOOL =

Returns:

  • (:tool)
:tool

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

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

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/zavudev/models/call_hangup_response.rb', line 255

Instance Method Details

#self?.values ⇒ ::Array[Zavudev::Models::CallHangupResponse::Call::Transcript::role]

Returns:

  • (::Array[Zavudev::Models::CallHangupResponse::Call::Transcript::role])


188
# File 'sig/zavudev/models/call_hangup_response.rbs', line 188

def self?.values: -> ::Array[Zavudev::Models::CallHangupResponse::Call::Transcript::role]