Class: Braintrust::Models::PromptData
- Defined in:
- lib/braintrust/models/prompt_data.rb
Defined Under Namespace
Classes: Options, Origin, Parser
Instance Attribute Summary collapse
- #options ⇒ Braintrust::Models::PromptData::Options
- #origin ⇒ Braintrust::Models::PromptData::Origin
- #parser ⇒ Braintrust::Models::PromptData::Parser
- #prompt ⇒ Braintrust::Models::PromptData::Prompt::UnnamedTypeWithunionParent13|Braintrust::Models::PromptData::Prompt::UnnamedTypeWithunionParent14|Braintrust::Models::PromptData::Prompt::UnnamedTypeWithunionParent15
- #tool_functions ⇒ Array<Braintrust::Models::PromptData::ToolFunction::UnnamedTypeWithunionParent16|Braintrust::Models::PromptData::ToolFunction::UnnamedTypeWithunionParent17>
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
#options ⇒ Braintrust::Models::PromptData::Options
8 |
# File 'lib/braintrust/models/prompt_data.rb', line 8 optional :options, -> { Braintrust::Models::PromptData::Options } |
#origin ⇒ Braintrust::Models::PromptData::Origin
12 |
# File 'lib/braintrust/models/prompt_data.rb', line 12 optional :origin, -> { Braintrust::Models::PromptData::Origin } |
#parser ⇒ Braintrust::Models::PromptData::Parser
16 |
# File 'lib/braintrust/models/prompt_data.rb', line 16 optional :parser, -> { Braintrust::Models::PromptData::Parser } |
#prompt ⇒ Braintrust::Models::PromptData::Prompt::UnnamedTypeWithunionParent13|Braintrust::Models::PromptData::Prompt::UnnamedTypeWithunionParent14|Braintrust::Models::PromptData::Prompt::UnnamedTypeWithunionParent15
20 |
# File 'lib/braintrust/models/prompt_data.rb', line 20 optional :prompt, Braintrust::Unknown |
#tool_functions ⇒ Array<Braintrust::Models::PromptData::ToolFunction::UnnamedTypeWithunionParent16|Braintrust::Models::PromptData::ToolFunction::UnnamedTypeWithunionParent17>
24 |
# File 'lib/braintrust/models/prompt_data.rb', line 24 optional :tool_functions, Braintrust::ArrayOf.new(Braintrust::Unknown) |