Class: GetStream::Generated::Models::AgentReviewSummaryResponse
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::AgentReviewSummaryResponse
- Defined in:
- lib/getstream_ruby/generated/models/agent_review_summary_response.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Float
Verdict confidence from 0 to 1.
-
#flag_assessment ⇒ String
Whether the flag matches the content.
-
#recommended_action ⇒ String
The action Nora recommends.
-
#status ⇒ String
Pending, processing, done, failed, or skipped.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ AgentReviewSummaryResponse
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ AgentReviewSummaryResponse
Initialize with attributes
26 27 28 29 30 31 32 |
# File 'lib/getstream_ruby/generated/models/agent_review_summary_response.rb', line 26 def initialize(attributes = {}) super(attributes) @confidence = attributes.fetch(:confidence) { attributes.fetch('confidence', nil) } @status = attributes.fetch(:status) { attributes.fetch('status', nil) } @flag_assessment = attributes.fetch(:flag_assessment) { attributes.fetch('flag_assessment', nil) } @recommended_action = attributes.fetch(:recommended_action) { attributes.fetch('recommended_action', nil) } end |
Instance Attribute Details
#confidence ⇒ Float
Returns Verdict confidence from 0 to 1.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/agent_review_summary_response.rb', line 14 def confidence @confidence end |
#flag_assessment ⇒ String
Returns Whether the flag matches the content. Set once the review is done.
20 21 22 |
# File 'lib/getstream_ruby/generated/models/agent_review_summary_response.rb', line 20 def flag_assessment @flag_assessment end |
#recommended_action ⇒ String
Returns The action Nora recommends. Set once the review is done.
23 24 25 |
# File 'lib/getstream_ruby/generated/models/agent_review_summary_response.rb', line 23 def recommended_action @recommended_action end |
#status ⇒ String
Returns pending, processing, done, failed, or skipped.
17 18 19 |
# File 'lib/getstream_ruby/generated/models/agent_review_summary_response.rb', line 17 def status @status end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
35 36 37 38 39 40 41 42 |
# File 'lib/getstream_ruby/generated/models/agent_review_summary_response.rb', line 35 def self.json_field_mappings { confidence: 'confidence', status: 'status', flag_assessment: 'flag_assessment', recommended_action: 'recommended_action' } end |