Class: Retab::LlmNotJudgedAsCondition
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Retab::LlmNotJudgedAsCondition
- Defined in:
- lib/retab/workflow_tests/llm_not_judged_as_condition.rb
Constant Summary collapse
- HASH_ATTRS =
{ kind: :kind, rubric: :rubric, expected_label: :expected_label }.freeze
Instance Attribute Summary collapse
-
#expected_label ⇒ Object
Returns the value of attribute expected_label.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#rubric ⇒ Object
Returns the value of attribute rubric.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ LlmNotJudgedAsCondition
constructor
A new instance of LlmNotJudgedAsCondition.
Methods inherited from Types::BaseModel
#inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ LlmNotJudgedAsCondition
Returns a new instance of LlmNotJudgedAsCondition.
19 20 21 22 23 24 |
# File 'lib/retab/workflow_tests/llm_not_judged_as_condition.rb', line 19 def initialize(json) hash = self.class.normalize(json) @kind = hash[:kind] @rubric = hash[:rubric] @expected_label = hash[:expected_label] end |
Instance Attribute Details
#expected_label ⇒ Object
Returns the value of attribute expected_label.
14 15 16 |
# File 'lib/retab/workflow_tests/llm_not_judged_as_condition.rb', line 14 def expected_label @expected_label end |
#kind ⇒ Object
Returns the value of attribute kind.
14 15 16 |
# File 'lib/retab/workflow_tests/llm_not_judged_as_condition.rb', line 14 def kind @kind end |
#rubric ⇒ Object
Returns the value of attribute rubric.
14 15 16 |
# File 'lib/retab/workflow_tests/llm_not_judged_as_condition.rb', line 14 def rubric @rubric end |