Table of Contents

Class CompletionRequestBase

Namespace
FoundationaLLM.Common.Models.Orchestration.Request
Assembly
FoundationaLLM.Common.dll

Base for completion requests

public class CompletionRequestBase
Inheritance
CompletionRequestBase
Derived
Inherited Members
Extension Methods

Properties

FileHistory

Gets or sets the file history associated with the completion request.

[JsonPropertyName("file_history")]
public List<FileHistoryItem> FileHistory { get; set; }

Property Value

List<FileHistoryItem>

LongRunningOperation

Gets or sets a flag that indicates whether this is a long-running operation.

[JsonPropertyName("long_running_operation")]
public bool LongRunningOperation { get; set; }

Property Value

bool

MessageHistory

Gets or sets the message history associated with the completion request.

[JsonPropertyName("message_history")]
public List<MessageHistoryItem>? MessageHistory { get; set; }

Property Value

List<MessageHistoryItem>

OperationId

Gets or sets the operation identifier of the completion request.

[JsonPropertyName("operation_id")]
public string? OperationId { get; set; }

Property Value

string

SessionId

Gets or sets the conversation identifier.

[JsonPropertyName("session_id")]
public string? SessionId { get; set; }

Property Value

string

UserPrompt

Gets or sets the user prompt.

[JsonPropertyName("user_prompt")]
public required string UserPrompt { get; set; }

Property Value

string

UserPromptRewrite

Gets or sets the rewrite of the user prompt.

[JsonPropertyName("user_prompt_rewrite")]
public string? UserPromptRewrite { get; set; }

Property Value

string