Class: Revox::Models::CallSearchResponse::Call::LastCallAttempt::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_search_response.rb', line 3199
|
Instance Attribute Details
#content ⇒ String
3170
|
# File 'lib/revox/models/call_search_response.rb', line 3170
required :content, String
|
3175
3176
|
# File 'lib/revox/models/call_search_response.rb', line 3175
required :role,
enum: -> { Revox::Models::CallSearchResponse::Call::LastCallAttempt::PostCallTranscript::Role }
|
3181
3182
|
# File 'lib/revox/models/call_search_response.rb', line 3181
optional :tool_arguments,
union: -> { Revox::Models::CallSearchResponse::Call::LastCallAttempt::PostCallTranscript::ToolArguments }
|
3187
|
# File 'lib/revox/models/call_search_response.rb', line 3187
optional :tool_is_error, Revox::Internal::Type::Boolean
|
3192
|
# File 'lib/revox/models/call_search_response.rb', line 3192
optional :tool_name, String
|
3197
|
# File 'lib/revox/models/call_search_response.rb', line 3197
optional :tool_output, String
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/revox/models/call_search_response.rb', line 3216
|
Instance Method Details
#to_hash ⇒ {
2589
|
# File 'sig/revox/models/call_search_response.rbs', line 2589
def to_hash: -> {
|