Class: Ollama::Parsers::Chat
Overview
Parses chat completion responses
Instance Method Summary collapse
- #call(transport_response) ⇒ Object
-
#initialize(provider: nil) ⇒ Chat
constructor
A new instance of Chat.
Constructor Details
#initialize(provider: nil) ⇒ Chat
Returns a new instance of Chat.
10 11 12 13 |
# File 'lib/ollama/parsers/chat.rb', line 10 def initialize(provider: nil) super() @provider = provider end |