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
stepstringThe identifier of the vectorization pipeline step for which the handler is created.
messageIdstringThe identifier of underlying message retrieved from the request source.
parametersDictionary<string, string>The parameters used to initialize the vectorization step handler.
stepsConfigurationIConfigurationSectionThe app configuration section containing the configuration for vectorization pipeline steps.
stateServiceIVectorizationStateServiceThe IVectorizationStateService that manages vectorization state.
serviceProviderIServiceProviderThe IServiceProvider implemented by the dependency injection container.
loggerFactoryILoggerFactoryThe logger factory used to create loggers.
Returns
- IVectorizationStepHandler
 A class implementing IVectorizationStepHandler.