Class: Revox::Models::CallRetrieveResponse::Call::CallAttempt::PostCallTranscript
Defined Under Namespace
Modules: Role, ToolArguments
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(content:, role:, tool_arguments: nil, tool_is_error: nil, tool_name: nil, tool_output: nil) ⇒ Object
|
# File 'lib/revox/models/call_retrieve_response.rb', line 2142
|
Instance Attribute Details
#content ⇒ String
2113
|
# File 'lib/revox/models/call_retrieve_response.rb', line 2113
required :content, String
|
2118
2119
|
# File 'lib/revox/models/call_retrieve_response.rb', line 2118
required :role,
enum: -> { Revox::Models::CallRetrieveResponse::Call::CallAttempt::PostCallTranscript::Role }
|
2124
2125
|
# File 'lib/revox/models/call_retrieve_response.rb', line 2124
optional :tool_arguments,
union: -> { Revox::Models::CallRetrieveResponse::Call::CallAttempt::PostCallTranscript::ToolArguments }
|
2130
|
# File 'lib/revox/models/call_retrieve_response.rb', line 2130
optional :tool_is_error, Revox::Internal::Type::Boolean
|
2135
|
# File 'lib/revox/models/call_retrieve_response.rb', line 2135
optional :tool_name, String
|
2140
|
# File 'lib/revox/models/call_retrieve_response.rb', line 2140
optional :tool_output, String
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/revox/models/call_retrieve_response.rb', line 2159
|
Instance Method Details
#to_hash ⇒ {
1734
|
# File 'sig/revox/models/call_retrieve_response.rbs', line 1734
def to_hash: -> {
|