gitinsp.infrastructure.factories

Members list

Type members

Classlikes

object ChatModelFactoryProvider extends LazyLogging

Provider that creates appropriate ChatModelFactory instances based on configuration. This allows for runtime selection of different model providers.

Provider that creates appropriate ChatModelFactory instances based on configuration. This allows for runtime selection of different model providers.

Attributes

Supertypes
trait LazyLogging
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class ClaudeFactoryProviderImpl(config: Config) extends ChatModelFactory, LazyLogging

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

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

Value parameters

config

The application configuration

Attributes

Supertypes
trait LazyLogging
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class GeminiChatModelFactoryImpl(config: Config) extends ChatModelFactory, LazyLogging

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

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

Value parameters

config

The application configuration

Attributes

Supertypes
trait LazyLogging
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class OllamaChatModelFactoryImpl(config: Config) extends ChatModelFactory, LazyLogging

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

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

Value parameters

config

The application configuration

Attributes

Supertypes
trait LazyLogging
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class RAGComponentFactoryImpl(config: Config) extends RAGComponentFactory, LazyLogging

Default implementation of RAGComponentFactory that creates components based on configuration.

Default implementation of RAGComponentFactory that creates components based on configuration.

Value parameters

config

The application configuration

Attributes

Supertypes
trait LazyLogging
class Object
trait Matchable
class Any
class RouterWithStrategy(strategy: QueryRoutingStrategy, retrievers: List[EmbeddingStoreContentRetriever]) extends QueryRouter

A custom router that uses a query routing strategy. This is an adapter that bridges the gap between the QueryRouter interface and the QueryRoutingStrategy.

A custom router that uses a query routing strategy. This is an adapter that bridges the gap between the QueryRouter interface and the QueryRoutingStrategy.

Value parameters

retrievers

The list of content retrievers

strategy

The query routing strategy

Attributes

Supertypes
trait QueryRouter
class Object
trait Matchable
class Any