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
IVectorizationStateServiceThe state service used to pull the existing pipeline state.
vectorizationResourceProvider
VectorizationResourceProviderServiceThe vectorization resource provider used to poll vectorization request statuses.
pipelineName
stringThe name of the pipeline being executed.
pipelineExecutionId
stringThe unique identifier of the pipeline execution.
userIdentity
UnifiedUserIdentityThe UnifiedUserIdentity providing information about the calling user identity.
Returns
- Task<VectorizationProcessingState>
The current pipeline processing state.