Table of Contents

Class VectorizationStateServiceExtensions

Namespace
FoundationaLLM.Vectorization.Extensions
Assembly
FoundationaLLM.Vectorization.Engine.dll

Extension methods for the IVectorizationStateService class.

public static class VectorizationStateServiceExtensions
Inheritance
VectorizationStateServiceExtensions
Inherited Members

Methods

GetPipelineExecutionProcessingState(IVectorizationStateService, VectorizationResourceProviderService, string, string, UnifiedUserIdentity)

Retrieves the state of the specified pipeline execution by polling the status of the vectorization requests created by the pipeline execution.

public static Task<VectorizationProcessingState> GetPipelineExecutionProcessingState(this IVectorizationStateService stateService, VectorizationResourceProviderService vectorizationResourceProvider, string pipelineName, string pipelineExecutionId, UnifiedUserIdentity userIdentity)

Parameters

stateService IVectorizationStateService

The state service used to pull the existing pipeline state.

vectorizationResourceProvider VectorizationResourceProviderService

The vectorization resource provider used to poll vectorization request statuses.

pipelineName string

The name of the pipeline being executed.

pipelineExecutionId string

The unique identifier of the pipeline execution.

userIdentity UnifiedUserIdentity

The UnifiedUserIdentity providing information about the calling user identity.

Returns

Task<VectorizationProcessingState>

The current pipeline processing state.

Exceptions

VectorizationException