Class VectorizationStepHandlerFactory
- Namespace
- FoundationaLLM.Vectorization.Handlers
- Assembly
- FoundationaLLM.Vectorization.Engine.dll
Implements a factory that creates vectorization step handlers.
public class VectorizationStepHandlerFactory
- Inheritance
-
VectorizationStepHandlerFactory
- Inherited Members
- Extension Methods
Methods
Create(string, string, Dictionary<string, string>, IConfigurationSection?, IVectorizationStateService, IServiceProvider, ILoggerFactory)
Creates a vectorization step handler capable of handling a specified vectorization pipeline step.
public static IVectorizationStepHandler Create(string step, string messageId, Dictionary<string, string> parameters, IConfigurationSection? stepsConfiguration, IVectorizationStateService stateService, IServiceProvider serviceProvider, ILoggerFactory loggerFactory)
Parameters
step
stringThe identifier of the vectorization pipeline step for which the handler is created.
messageId
stringThe identifier of underlying message retrieved from the request source.
parameters
Dictionary<string, string>The parameters used to initialize the vectorization step handler.
stepsConfiguration
IConfigurationSectionThe app configuration section containing the configuration for vectorization pipeline steps.
stateService
IVectorizationStateServiceThe IVectorizationStateService that manages vectorization state.
serviceProvider
IServiceProviderThe IServiceProvider implemented by the dependency injection container.
loggerFactory
ILoggerFactoryThe logger factory used to create loggers.
Returns
- IVectorizationStepHandler
A class implementing IVectorizationStepHandler.