Table of Contents

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

string

Methods

Invoke(VectorizationRequest, VectorizationState, UnifiedUserIdentity, CancellationToken)

Invokes the handler.

Task<bool> Invoke(VectorizationRequest request, VectorizationState state, UnifiedUserIdentity userIdentity, CancellationToken cancellationToken)

Parameters

request VectorizationRequest

The VectorizationRequest for which the step should be handled.

state VectorizationState

The VectorizationState holding the state associated with the vectorization request.

userIdentity UnifiedUserIdentity

The UnifiedUserIdentity providing information about the calling user identity.

cancellationToken CancellationToken

The CancellationToken to monitor for cancellation requests.

Returns

Task<bool>

True if the vectorization step request was handled successfully.