Table of Contents

Class VectorizationPipelineState

Namespace
FoundationaLLM.Vectorization.Models
Assembly
FoundationaLLM.Vectorization.Engine.dll

Represents the state of a run of a vectorization pipeline.

public class VectorizationPipelineState
Inheritance
VectorizationPipelineState
Inherited Members
Extension Methods

Properties

ErrorMessages

A list of error messages that includes content that was rejected at creation time along with the error.

[JsonPropertyOrder(6)]
[JsonPropertyName("error_messages")]
public List<string> ErrorMessages { get; set; }

Property Value

List<string>

ExecutionEnd

Time in UTC the pipeline run was completed.

[JsonPropertyOrder(3)]
[JsonPropertyName("execution_end")]
public DateTime? ExecutionEnd { get; set; }

Property Value

DateTime?

ExecutionId

The unique identifier of the pipeline execution.

[JsonPropertyOrder(-2)]
[JsonPropertyName("id")]
public required string ExecutionId { get; set; }

Property Value

string

ExecutionStart

Time in UTC the pipeline run was started.

[JsonPropertyOrder(2)]
[JsonPropertyName("execution_start")]
public DateTime? ExecutionStart { get; set; }

Property Value

DateTime?

PipelineObjectId

The object id of the pipeline resource being executed.

[JsonPropertyOrder(1)]
[JsonPropertyName("pipeline_object_id")]
public required string PipelineObjectId { get; set; }

Property Value

string

ProcessingState

The processing state of the pipeline execution. New -> empty vectorization requests collection InProgress -> at least one vectorization request in progress Failed -> at least one vectorization request failed Completed -> all vectorization requests completed successfully

[JsonPropertyOrder(5)]
[JsonPropertyName("processing_state")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public VectorizationProcessingState ProcessingState { get; set; }

Property Value

VectorizationProcessingState

VectorizationRequestObjectIds

The vectorization requests associated with the pipeline execution and their status. Key: vectorization request resource object id Value: the processing state of the request

[JsonPropertyOrder(4)]
[JsonPropertyName("vectorization_request_object_ids")]
public List<string> VectorizationRequestObjectIds { get; set; }

Property Value

List<string>