class

Piebox::AI::OllamaClient

Inherits Piebox::AI::Client < Reference < Object

Constructors

new(model : String = "llama3", host : String = "localhost", port : Int32 = 11434)
Source

Instance methods

generate(prompt : String) : String
Source