Delen via


UsageDetails Class

Definition

Provides usage details about a request/response.

public ref class UsageDetails
public class UsageDetails
type UsageDetails = class
Public Class UsageDetails
Inheritance
UsageDetails

Constructors

UsageDetails()

Properties

AdditionalCounts

Gets or sets a dictionary of additional usage counts.

InputTokenCount

Gets or sets the number of tokens in the input.

OutputTokenCount

Gets or sets the number of tokens in the output.

TotalTokenCount

Gets or sets the total number of tokens used to produce the response.

Methods

Add(UsageDetails)

Adds usage data from another UsageDetails into this instance.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to