Class: Aircana::LLM::Base
- Inherits:
-
Object
- Object
- Aircana::LLM::Base
- Defined in:
- lib/aircana/llm/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
- #prompt(text) ⇒ Object
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/aircana/llm/base.rb', line 8 def initialize @spinner = nil end |
Instance Method Details
#prompt(text) ⇒ Object
12 13 14 |
# File 'lib/aircana/llm/base.rb', line 12 def prompt(text) raise NotImplementedError, "Subclasses must implement #prompt" end |