Class: Deeprails::Models::MonitorEventDetailResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Deeprails::Models::MonitorEventDetailResponse
- Defined in:
- lib/deeprails/models/monitor_event_detail_response.rb
Overview
Defined Under Namespace
Modules: RunMode, Status Classes: Capability, File
Instance Attribute Summary collapse
-
#capabilities ⇒ Array<Deeprails::Models::MonitorEventDetailResponse::Capability>?
The capabilities associated with the monitor event.
-
#eval_time ⇒ String?
The time spent on the evaluation in seconds.
-
#evaluation_result ⇒ Hash{Symbol=>Object}?
The result of the evaluation of the monitor event.
-
#event_id ⇒ String?
A unique monitor event ID.
-
#files ⇒ Array<Deeprails::Models::MonitorEventDetailResponse::File>?
The files associated with the monitor event.
-
#guardrail_metrics ⇒ Array<String>?
The guardrail metrics evaluated by the monitor event.
-
#model_input ⇒ Hash{Symbol=>Object}?
The model input used to create the monitor event.
-
#model_output ⇒ String?
The output evaluated by the monitor event.
-
#monitor_id ⇒ String?
Monitor ID associated with this event.
-
#nametag ⇒ String?
A human-readable tag for the monitor event.
-
#run_mode ⇒ Symbol, ...
The run mode used to evaluate the monitor event.
-
#status ⇒ Symbol, ...
Status of the monitor event’s evaluation.
-
#timestamp ⇒ Time?
The time the monitor event was created in UTC.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(file_id: nil, file_name: nil, file_size: nil) ⇒ Object
|
|
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 120
|
Instance Attribute Details
#capabilities ⇒ Array<Deeprails::Models::MonitorEventDetailResponse::Capability>?
The capabilities associated with the monitor event.
11 12 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 11 optional :capabilities, -> { Deeprails::Internal::Type::ArrayOf[Deeprails::MonitorEventDetailResponse::Capability] } |
#eval_time ⇒ String?
The time spent on the evaluation in seconds.
18 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 18 optional :eval_time, String |
#evaluation_result ⇒ Hash{Symbol=>Object}?
The result of the evaluation of the monitor event.
24 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 24 optional :evaluation_result, Deeprails::Internal::Type::HashOf[Deeprails::Internal::Type::Unknown] |
#event_id ⇒ String?
A unique monitor event ID.
30 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 30 optional :event_id, String |
#files ⇒ Array<Deeprails::Models::MonitorEventDetailResponse::File>?
The files associated with the monitor event.
36 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 36 optional :files, -> { Deeprails::Internal::Type::ArrayOf[Deeprails::MonitorEventDetailResponse::File] } |
#guardrail_metrics ⇒ Array<String>?
The guardrail metrics evaluated by the monitor event.
42 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 42 optional :guardrail_metrics, Deeprails::Internal::Type::ArrayOf[String] |
#model_input ⇒ Hash{Symbol=>Object}?
The model input used to create the monitor event.
48 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 48 optional :model_input, Deeprails::Internal::Type::HashOf[Deeprails::Internal::Type::Unknown] |
#model_output ⇒ String?
The output evaluated by the monitor event.
54 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 54 optional :model_output, String |
#monitor_id ⇒ String?
Monitor ID associated with this event.
60 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 60 optional :monitor_id, String |
#nametag ⇒ String?
A human-readable tag for the monitor event.
66 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 66 optional :nametag, String |
#run_mode ⇒ Symbol, ...
The run mode used to evaluate the monitor event.
72 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 72 optional :run_mode, enum: -> { Deeprails::MonitorEventDetailResponse::RunMode } |
#status ⇒ Symbol, ...
Status of the monitor event’s evaluation.
78 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 78 optional :status, enum: -> { Deeprails::MonitorEventDetailResponse::Status } |
#timestamp ⇒ Time?
The time the monitor event was created in UTC.
84 |
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 84 optional :timestamp, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/deeprails/models/monitor_event_detail_response.rb', line 162
|