org.llm4s.llmconnect.provider.OllamaClient
See theOllamaClient companion class
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Constructs an OllamaClient, wrapping any construction-time exception in a Left.
Constructs an OllamaClient, wrapping any construction-time exception in a Left.
Value parameters
-
config
-
Ollama configuration with model name and server base URL.
-
metrics
-
Receives per-call latency and token-usage events. Defaults to MetricsCollector.noop.
Attributes
-
Returns
-
Right(client) on success; Left(LLMError) if construction fails (e.g. invalid base URL).