Class: Omakase::Generation

Inherits:
Data
  • Object
show all
Defined in:
lib/omakase/generation.rb

Overview

A method the agent declares but does not implement: the prompt is its body, the schema is its return type, the strategy is how it gets there.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/omakase/generation.rb', line 6

def name
  @name
end

#promptObject (readonly)

Returns the value of attribute prompt

Returns:

  • (Object)

    the current value of prompt



6
7
8
# File 'lib/omakase/generation.rb', line 6

def prompt
  @prompt
end

#schemaObject (readonly)

Returns the value of attribute schema

Returns:

  • (Object)

    the current value of schema



6
7
8
# File 'lib/omakase/generation.rb', line 6

def schema
  @schema
end

#strategyObject (readonly)

Returns the value of attribute strategy

Returns:

  • (Object)

    the current value of strategy



6
7
8
# File 'lib/omakase/generation.rb', line 6

def strategy
  @strategy
end