Class: ActiveHarness::ModelPricing

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_harness/result.rb

Overview

Pricing rates for a model (per-token, from Pricing registry). nil when the model is not found in the pricing registry.

Instance Attribute Summary collapse

Instance Attribute Details

#inputObject

Returns the value of attribute input

Returns:

  • (Object)

    the current value of input



8
9
10
# File 'lib/active_harness/result.rb', line 8

def input
  @input
end

#outputObject

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



8
9
10
# File 'lib/active_harness/result.rb', line 8

def output
  @output
end