Class CompletionUsage
- Namespace
- FoundationaLLM.Common.Models.Orchestration.Direct
- Assembly
- FoundationaLLM.Common.dll
Contains the usage statistics for a completion.
public class CompletionUsage
- Inheritance
-
CompletionUsage
- Inherited Members
- Extension Methods
Properties
CompletionTokens
The number of tokens used for the completion.
[JsonPropertyName("completion_tokens")]
public int CompletionTokens { get; set; }
Property Value
PromptTokens
The number of tokens used for the prompt.
[JsonPropertyName("prompt_tokens")]
public int PromptTokens { get; set; }
Property Value
TotalTokens
The total number of tokens used for the completion.
[JsonPropertyName("total_tokens")]
public int TotalTokens { get; set; }