Class: Revox::Models::AssistantRetrieveResponse::FaqItem
Defined Under Namespace
Modules: Source
Instance Attribute 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(answer:, question:, id: nil, needs_human_answer: nil, source: nil) ⇒ Object
|
# File 'lib/revox/models/assistant_retrieve_response.rb', line 1553
|
Instance Attribute Details
#answer ⇒ String
1531
|
# File 'lib/revox/models/assistant_retrieve_response.rb', line 1531
required :answer, String
|
#id ⇒ String?
1541
|
# File 'lib/revox/models/assistant_retrieve_response.rb', line 1541
optional :id, String
|
#needs_human_answer ⇒ Boolean?
1546
|
# File 'lib/revox/models/assistant_retrieve_response.rb', line 1546
optional :needs_human_answer, Revox::Internal::Type::Boolean
|
#question ⇒ String
1536
|
# File 'lib/revox/models/assistant_retrieve_response.rb', line 1536
required :question, String
|
#source ⇒ Symbol, ...
1551
|
# File 'lib/revox/models/assistant_retrieve_response.rb', line 1551
optional :source, enum: -> { Revox::Models::AssistantRetrieveResponse::FaqItem::Source }
|
Instance Method Details
#to_hash ⇒ {
1281
|
# File 'sig/revox/models/assistant_retrieve_response.rbs', line 1281
def to_hash: -> {
|