Class: Braintrust::Models::ProjectScoreCategory
- Defined in:
- lib/braintrust/models/project_score_category.rb
Instance Attribute Summary collapse
-
#name_ ⇒ String
Name of the category.
-
#value ⇒ Float
Numerical value of the category.
Method Summary
Methods inherited from BaseModel
#[], #initialize, #inspect, #to_h, #to_s
Constructor Details
This class inherits a constructor from Braintrust::BaseModel
Instance Attribute Details
#name_ ⇒ String
Name of the category
9 |
# File 'lib/braintrust/models/project_score_category.rb', line 9 required :name_, String |
#value ⇒ Float
Numerical value of the category. Must be between 0 and 1, inclusive
14 |
# File 'lib/braintrust/models/project_score_category.rb', line 14 required :value, Float |