Class LongRunningOperation
- Namespace
 - FoundationaLLM.Common.Models.Orchestration
 
- Assembly
 - FoundationaLLM.Common.dll
 
Represents the current state of a long-running operation.
public class LongRunningOperation
  - Inheritance
 - 
      
      LongRunningOperation
 
- Inherited Members
 
- Extension Methods
 
Properties
Id
The identifier of the long-running operation.
[JsonPropertyName("id")]
public string? Id { get; }
  Property Value
LastUpdated
The time stamp of the last update to the operation.
[JsonPropertyName("last_updated")]
public DateTime? LastUpdated { get; set; }
  Property Value
OperationId
The identifier of the long-running operation.
[JsonPropertyName("operation_id")]
public string? OperationId { get; set; }
  Property Value
PromptTokens
The number of tokens in the prompt.
[JsonPropertyName("prompt_tokens")]
public int PromptTokens { get; set; }
  Property Value
Result
The result of the operation.
[JsonIgnore]
[JsonPropertyName("result")]
public object? Result { get; set; }
  Property Value
Status
The status of the long-running operation.
[JsonPropertyName("status")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public required OperationStatus Status { get; set; }
  Property Value
StatusMessage
The message describing the current state of the operation.
[JsonPropertyName("status_message")]
public string? StatusMessage { get; set; }
  Property Value
TTL
The time-to-live (TTL) for the log entry.
[JsonPropertyName("ttl")]
public int TTL { get; set; }
  Property Value
Type
The document type.
[JsonPropertyName("type")]
public string Type { get; }
  Property Value
UPN
Gets or sets the User Principal Name (UPN) of the user who triggered the long-running operation.
[JsonPropertyName("upn")]
public string? UPN { get; set; }