Class: Braintrust::Scorer::ID

Inherits:
Struct
  • Object
show all
Defined in:
lib/braintrust/scorer.rb

Overview

Value object wrapping a remote scorer function UUID. Used by Eval.run to distinguish remote scorers from local callables.

Instance Attribute Summary collapse

Instance Attribute Details

#function_idObject

Returns the value of attribute function_id

Returns:

  • (Object)

    the current value of function_id



168
169
170
# File 'lib/braintrust/scorer.rb', line 168

def function_id
  @function_id
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



168
169
170
# File 'lib/braintrust/scorer.rb', line 168

def version
  @version
end