Class: Braintrust::Models::CodeBundle
- Defined in:
- lib/braintrust/models/code_bundle.rb
Defined Under Namespace
Classes: RuntimeContext
Instance Attribute Summary collapse
- #bundle_id ⇒ String
- #location ⇒ Braintrust::Models::CodeBundle::Location::UnnamedTypeWithunionParent0|Braintrust::Models::CodeBundle::Location::UnnamedTypeWithunionParent1
-
#preview ⇒ String
A preview of the code.
- #runtime_context ⇒ Braintrust::Models::CodeBundle::RuntimeContext
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
#bundle_id ⇒ String
8 |
# File 'lib/braintrust/models/code_bundle.rb', line 8 required :bundle_id, String |
#location ⇒ Braintrust::Models::CodeBundle::Location::UnnamedTypeWithunionParent0|Braintrust::Models::CodeBundle::Location::UnnamedTypeWithunionParent1
12 |
# File 'lib/braintrust/models/code_bundle.rb', line 12 required :location, Braintrust::Unknown |
#preview ⇒ String
A preview of the code
21 |
# File 'lib/braintrust/models/code_bundle.rb', line 21 optional :preview, String |
#runtime_context ⇒ Braintrust::Models::CodeBundle::RuntimeContext
16 |
# File 'lib/braintrust/models/code_bundle.rb', line 16 required :runtime_context, -> { Braintrust::Models::CodeBundle::RuntimeContext } |