Class: Braintrust::Models::PromptData::Parser
- Defined in:
- lib/braintrust/models/prompt_data.rb
Defined Under Namespace
Classes: Type
Instance Attribute Summary collapse
- #choice_scores ⇒ Hash
-
#type ⇒ Symbol
One of the constants defined in Type.
- #use_cot ⇒ Boolean
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
#choice_scores ⇒ Hash
57 |
# File 'lib/braintrust/models/prompt_data.rb', line 57 required :choice_scores, Hash |
#type ⇒ Symbol
One of the constants defined in Type
62 |
# File 'lib/braintrust/models/prompt_data.rb', line 62 required :type, enum: -> { Braintrust::Models::PromptData::Parser::Type } |
#use_cot ⇒ Boolean
66 |
# File 'lib/braintrust/models/prompt_data.rb', line 66 required :use_cot, Braintrust::BooleanModel |