Class: Braintrust::Models::ProjectScoreCategory

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/braintrust/models/project_score_category.rb

Instance Attribute Summary collapse

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

Returns:

  • (String)


9
# File 'lib/braintrust/models/project_score_category.rb', line 9

required :name_, String

#valueFloat

Numerical value of the category. Must be between 0 and 1, inclusive

Returns:

  • (Float)


14
# File 'lib/braintrust/models/project_score_category.rb', line 14

required :value, Float