Class Usage

Info

Usage statistics for the completion request.

public class Usage

Inheritance

objectUsage

Inherited Members

Constructors

Usage()

public Usage()

Properties

CompletionTokens

Number of tokens in the generated completion.

[JsonProperty("completion_tokens")]
public int CompletionTokens { get; set; }

Property Value

int

PromptTokens

Number of tokens in the prompt.

[JsonProperty("prompt_tokens")]
public int PromptTokens { get; set; }

Property Value

int

TotalTokens

Total number of tokens used in the request (prompt + completion).

[JsonProperty("total_tokens")]
public int TotalTokens { get; set; }

Property Value

int

Namespace: Documentize Assembly: Documentize.dll

 English