Class: Braintrust::Models::CodeBundle

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

Defined Under Namespace

Classes: RuntimeContext

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

#bundle_idString

Returns:

  • (String)


8
# File 'lib/braintrust/models/code_bundle.rb', line 8

required :bundle_id, String

#locationBraintrust::Models::CodeBundle::Location::UnnamedTypeWithunionParent0|Braintrust::Models::CodeBundle::Location::UnnamedTypeWithunionParent1

Returns:

  • (Braintrust::Models::CodeBundle::Location::UnnamedTypeWithunionParent0|Braintrust::Models::CodeBundle::Location::UnnamedTypeWithunionParent1)


12
# File 'lib/braintrust/models/code_bundle.rb', line 12

required :location, Braintrust::Unknown

#previewString

A preview of the code

Returns:

  • (String)


21
# File 'lib/braintrust/models/code_bundle.rb', line 21

optional :preview, String

#runtime_contextBraintrust::Models::CodeBundle::RuntimeContext



16
# File 'lib/braintrust/models/code_bundle.rb', line 16

required :runtime_context, -> { Braintrust::Models::CodeBundle::RuntimeContext }