Class: Braintrust::Models::Scorer
- Defined in:
- lib/braintrust/models/scorer.rb
Defined Under Namespace
Classes: Type
Instance Attribute Summary collapse
- #index ⇒ Integer
-
#type ⇒ Symbol
One of the constants defined in Type.
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
#index ⇒ Integer
8 |
# File 'lib/braintrust/models/scorer.rb', line 8 required :index, Integer |
#type ⇒ Symbol
One of the constants defined in Type
13 |
# File 'lib/braintrust/models/scorer.rb', line 13 required :type, enum: -> { Braintrust::Models::Scorer::Type } |