Class: Braintrust::Models::PromptData::Options

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/braintrust/models/prompt_data.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

#modelString

Returns:

  • (String)


29
# File 'lib/braintrust/models/prompt_data.rb', line 29

optional :model, String

#paramsBraintrust::Models::PromptData::Options::Params::UnnamedTypeWithunionParent10|Braintrust::Models::PromptData::Options::Params::UnnamedTypeWithunionParent11|Braintrust::Models::PromptData::Options::Params::UnnamedTypeWithunionParent12|Braintrust::Models::PromptData::Options::Params::UnnamedTypeWithunionParent8|Braintrust::Models::PromptData::Options::Params::UnnamedTypeWithunionParent9

Returns:

  • (Braintrust::Models::PromptData::Options::Params::UnnamedTypeWithunionParent10|Braintrust::Models::PromptData::Options::Params::UnnamedTypeWithunionParent11|Braintrust::Models::PromptData::Options::Params::UnnamedTypeWithunionParent12|Braintrust::Models::PromptData::Options::Params::UnnamedTypeWithunionParent8|Braintrust::Models::PromptData::Options::Params::UnnamedTypeWithunionParent9)


33
# File 'lib/braintrust/models/prompt_data.rb', line 33

optional :params, Braintrust::Unknown

#positionString

Returns:

  • (String)


37
# File 'lib/braintrust/models/prompt_data.rb', line 37

optional :position, String