Class: Braintrust::Models::ExperimentEvent::Context

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

#caller_filenameString

Name of the file in code where the experiment event was created

Returns:

  • (String)


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

optional :caller_filename, String

#caller_functionnameString

The function in code which created the experiment event

Returns:

  • (String)


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

optional :caller_functionname, String

#caller_linenoInteger

Line of code where the experiment event was created

Returns:

  • (Integer)


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

optional :caller_lineno, Integer