Table of Contents

Class InternalTextOperationRequest

Namespace
FoundationaLLM.Gateway.Models
Assembly
FoundationaLLM.Gateway.dll

Represents internal text operation requests processed by the FoundationaLLM Gateway.

public class InternalTextOperationRequest
Inheritance
InternalTextOperationRequest
Inherited Members
Extension Methods

Properties

AccountName

The name of the account used for the text operation.

[JsonPropertyName("account_name")]
public required string AccountName { get; set; }

Property Value

string

DeploymentName

Gets or sets the name of the deployment used for the text operation.

[JsonPropertyName("deployment_name")]
public required string DeploymentName { get; set; }

Property Value

string

Id

The unique identifier of the internal request.

[JsonPropertyName("id")]
public int Id { get; set; }

Property Value

int

ModelName

The name of the model used for the text operation.

[JsonPropertyName("model_name")]
public required string ModelName { get; set; }

Property Value

string

ModelParameters

Gets or sets the model parameters used for the text operation.

[JsonPropertyName("model_properties")]
public Dictionary<string, object> ModelParameters { get; set; }

Property Value

Dictionary<string, object>

ModelVersion

The version of the model used for the text operation.

[JsonPropertyName("model_version")]
public required string ModelVersion { get; set; }

Property Value

string

OperationsDetails

The details of the text operations from the text chunks. For each text operation id, holds the list of the positions of the text chunks from the current request.

[JsonPropertyName("operations_details")]
public Dictionary<string, List<int>> OperationsDetails { get; }

Property Value

Dictionary<string, List<int>>

TextChunks

Gets or sets the list of text chunks from the current request.

[JsonIgnore]
public List<TextChunk> TextChunks { get; set; }

Property Value

List<TextChunk>

TextChunksCount

Gets the total number of text chunks in the request.

[JsonPropertyName("text_chunks_count")]
public int TextChunksCount { get; }

Property Value

int

TokensCount

Gets the total number of tokens used in the request.

[JsonPropertyName("tokens_count")]
public int TokensCount { get; }

Property Value

int