Class: Braintrust::Models::ExperimentEvent::SpanAttributes

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

Defined Under Namespace

Classes: Type

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

#name_String

Name of the span, for display purposes only

Returns:

  • (String)


149
# File 'lib/braintrust/models/experiment_event.rb', line 149

optional :name_, String

#typeSymbol

Type of the span, for display purposes only One of the constants defined in Type

Returns:

  • (Symbol)


155
# File 'lib/braintrust/models/experiment_event.rb', line 155

optional :type, enum: -> { Braintrust::Models::ExperimentEvent::SpanAttributes::Type }