Module: Deeprails::Models::MonitorCreateParams::GuardrailMetric
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/deeprails/models/monitor_create_params.rb
Constant Summary collapse
- CORRECTNESS =
:correctness- COMPLETENESS =
:completeness- INSTRUCTION_ADHERENCE =
:instruction_adherence- CONTEXT_ADHERENCE =
:context_adherence- GROUND_TRUTH_ADHERENCE =
:ground_truth_adherence- COMPREHENSIVE_SAFETY =
:comprehensive_safety
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(guardrail_metrics:, name:, description: nil, file_search: nil, web_search: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Deeprails::Models::MonitorCreateParams for more details.
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, values
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/deeprails/models/monitor_create_params.rb', line 71
|
Instance Method Details
#initialize(guardrail_metrics:, name:, description: nil, file_search: nil, web_search: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Deeprails::Models::MonitorCreateParams for more details.
61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/deeprails/models/monitor_create_params.rb', line 61 module GuardrailMetric extend Deeprails::Internal::Type::Enum CORRECTNESS = :correctness COMPLETENESS = :completeness INSTRUCTION_ADHERENCE = :instruction_adherence CONTEXT_ADHERENCE = :context_adherence GROUND_TRUTH_ADHERENCE = :ground_truth_adherence COMPREHENSIVE_SAFETY = :comprehensive_safety # @!method self.values # @return [Array<Symbol>] end |