ChatModelFactory

gitinsp.domain.interfaces.infrastructure.ChatModelFactory

Factory trait for creating chat models from different providers. This abstraction allows for switching between different model implementations (Ollama, Gemini).

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def createChatModel(): ChatLanguageModel

Creates a chat model for standard (non-streaming) interactions.

Creates a chat model for standard (non-streaming) interactions.

Attributes

Returns

A ChatLanguageModel implementation specific to the provider

def createStreamingChatModel(): StreamingChatLanguageModel

Creates a streaming chat model.

Creates a streaming chat model.

Attributes

Returns

A streaming chat model implementation specific to the provider