Interface IVectorizationStepHandler
- Namespace
- FoundationaLLM.Vectorization.Interfaces
- Assembly
- FoundationaLLM.Vectorization.Engine.dll
Handles requests associated with a specific vectorization pipeline step.
public interface IVectorizationStepHandler
- Extension Methods
Properties
StepId
The identifier of the vectorization pipeline step.
string StepId { get; }
Property Value
Methods
Invoke(VectorizationRequest, VectorizationState, UnifiedUserIdentity, CancellationToken)
Invokes the handler.
Task<bool> Invoke(VectorizationRequest request, VectorizationState state, UnifiedUserIdentity userIdentity, CancellationToken cancellationToken)
Parameters
request
VectorizationRequestThe VectorizationRequest for which the step should be handled.
state
VectorizationStateThe VectorizationState holding the state associated with the vectorization request.
userIdentity
UnifiedUserIdentityThe UnifiedUserIdentity providing information about the calling user identity.
cancellationToken
CancellationTokenThe CancellationToken to monitor for cancellation requests.