Class: Omakase::Generation
- Inherits:
-
Data
- Object
- Data
- Omakase::Generation
- 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
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#prompt ⇒ Object
readonly
Returns the value of attribute prompt.
-
#schema ⇒ Object
readonly
Returns the value of attribute schema.
-
#strategy ⇒ Object
readonly
Returns the value of attribute strategy.
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
6 7 8 |
# File 'lib/omakase/generation.rb', line 6 def name @name end |
#prompt ⇒ Object (readonly)
Returns the value of attribute prompt
6 7 8 |
# File 'lib/omakase/generation.rb', line 6 def prompt @prompt end |
#schema ⇒ Object (readonly)
Returns the value of attribute schema
6 7 8 |
# File 'lib/omakase/generation.rb', line 6 def schema @schema end |
#strategy ⇒ Object (readonly)
Returns the value of attribute strategy
6 7 8 |
# File 'lib/omakase/generation.rb', line 6 def strategy @strategy end |