OllamaChatModelFactoryImpl

gitinsp.infrastructure.factories.OllamaChatModelFactoryImpl
class OllamaChatModelFactoryImpl(config: Config) extends ChatModelFactory, LazyLogging

Ollama implementation of ChatModelFactory. This factory creates chat models that connect to an Ollama server.

Value parameters

config

The application configuration

Attributes

Graph
Supertypes
trait LazyLogging
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def createChatModel(): ChatLanguageModel

Creates a standard (non-streaming) chat model.

Creates a standard (non-streaming) chat model.

Attributes

Returns

An OllamaChatModel

Definition Classes
override def createStreamingChatModel(): StreamingChatLanguageModel

Creates a streaming chat model.

Creates a streaming chat model.

Attributes

Returns

An OllamaStreamingChatModel

Definition Classes

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging