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. A model named here overrides the class's, for this method alone.
Instance Attribute Summary collapse
-
#model ⇒ Object
readonly
Returns the value of attribute model.
-
#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
#model ⇒ Object (readonly)
Returns the value of attribute model
7 8 9 |
# File 'lib/omakase/generation.rb', line 7 def model @model end |
#name ⇒ Object (readonly)
Returns the value of attribute name
7 8 9 |
# File 'lib/omakase/generation.rb', line 7 def name @name end |
#prompt ⇒ Object (readonly)
Returns the value of attribute prompt
7 8 9 |
# File 'lib/omakase/generation.rb', line 7 def prompt @prompt end |
#schema ⇒ Object (readonly)
Returns the value of attribute schema
7 8 9 |
# File 'lib/omakase/generation.rb', line 7 def schema @schema end |
#strategy ⇒ Object (readonly)
Returns the value of attribute strategy
7 8 9 |
# File 'lib/omakase/generation.rb', line 7 def strategy @strategy end |