Class DataPipelineRunWorkItem
- Namespace
- FoundationaLLM.Common.Models.DataPipelines
- Assembly
- FoundationaLLM.Common.dll
Represents a work item in a data pipeline run.
public class DataPipelineRunWorkItem
- Inheritance
-
DataPipelineRunWorkItem
- Inherited Members
- Extension Methods
Constructors
DataPipelineRunWorkItem()
Initializes a new instance of the DataPipelineRunWorkItem class.
public DataPipelineRunWorkItem()
Properties
Completed
Gets or sets the completion status of the work item.
[JsonPropertyName("completed")]
[JsonPropertyOrder(7)]
public bool Completed { get; set; }
Property Value
ContentItemCanonicalId
Gets or sets the identifier of the data pipeline run input artifact that is referenced by the work item.
[JsonPropertyName("content_item_canonical_id")]
[JsonPropertyOrder(6)]
public required string ContentItemCanonicalId { get; set; }
Property Value
Errors
Gets or sets the error message if the work item failed.
[JsonPropertyName("errors")]
[JsonPropertyOrder(9)]
public List<string> Errors { get; set; }
Property Value
FailedProcessingAttempts
Gets or sets the number of failed processing attempts for the work item.
[JsonPropertyName("failed_processing_attempts")]
[JsonPropertyOrder(11)]
public int FailedProcessingAttempts { get; set; }
Property Value
Id
Gets or sets the unique identifier of the work item.
[JsonPropertyName("id")]
[JsonPropertyOrder(1)]
public required string Id { get; set; }
Property Value
PreviousStage
Gets or sets the name of the data pipeline stage that preceeded the stage provided in the Stage property.
[JsonPropertyName("previous_stage")]
[JsonPropertyOrder(4)]
public string? PreviousStage { get; set; }
Property Value
ProcessingAttempts
Gets or sets the number of processing attempts for the work item.
[JsonPropertyName("processing_attempts")]
[JsonPropertyOrder(10)]
public int ProcessingAttempts { get; set; }
Property Value
RunId
Gets or sets the identifier of the data pipeline run that is processing the content item.
[JsonPropertyName("run_id")]
[JsonPropertyOrder(3)]
public required string RunId { get; set; }
Property Value
Stage
Gets or sets the name of the stage in the data pipeline run that is processing the work item.
[JsonPropertyName("stage")]
[JsonPropertyOrder(5)]
public required string Stage { get; set; }
Property Value
Successful
Gets or sets the success status of the work item.
[JsonPropertyName("successful")]
[JsonPropertyOrder(8)]
public bool Successful { get; set; }
Property Value
Type
Gets or sets the Cosmos DB item type.
[JsonPropertyName("type")]
[JsonPropertyOrder(2)]
public string Type { get; set; }
Property Value
Remarks
Must always be set to DataPipelineRunWorkItem.