Class: Revox::Models::CampaignGetRowsResponse::Row::Call::CallAttempt::Transcript
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/campaign_get_rows_response.rb', line 2320
|
Instance Attribute Details
#content ⇒ String
2291
|
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2291
required :content, String
|
2296
2297
|
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2296
required :role,
enum: -> { Revox::Models::CampaignGetRowsResponse::Row::Call::CallAttempt::Transcript::Role }
|
2302
2303
|
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2302
optional :tool_arguments,
union: -> { Revox::Models::CampaignGetRowsResponse::Row::Call::CallAttempt::Transcript::ToolArguments }
|
2308
|
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2308
optional :tool_is_error, Revox::Internal::Type::Boolean
|
2313
|
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2313
optional :tool_name, String
|
2318
|
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2318
optional :tool_output, String
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2337
|
Instance Method Details
#to_hash ⇒ {
1907
|
# File 'sig/revox/models/campaign_get_rows_response.rbs', line 1907
def to_hash: -> {
|