Class: Braintrust::Models::ProjectScoreConfig

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

Defined Under Namespace

Classes: Destination

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

#destinationSymbol

One of the constants defined in Destination

Returns:

  • (Symbol)


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

optional :destination, enum: -> { Braintrust::Models::ProjectScoreConfig::Destination }

#multi_selectBoolean

Returns:

  • (Boolean)


13
# File 'lib/braintrust/models/project_score_config.rb', line 13

optional :multi_select, Braintrust::BooleanModel

#onlineBraintrust::Models::OnlineScoreConfig



17
# File 'lib/braintrust/models/project_score_config.rb', line 17

optional :online, -> { Braintrust::Models::OnlineScoreConfig }