Jaa


UsageContent Class

Definition

Represents usage information associated with a chat response.

public ref class UsageContent : Microsoft::Extensions::AI::AIContent
public class UsageContent : Microsoft.Extensions.AI.AIContent
type UsageContent = class
    inherit AIContent
Public Class UsageContent
Inherits AIContent
Inheritance
UsageContent

Constructors

UsageContent()

Initializes a new instance of the UsageContent class with an empty UsageDetails.

UsageContent(UsageDetails)

Initializes a new instance of the UsageContent class with the specified UsageDetails instance.

Properties

AdditionalProperties

Gets or sets additional properties for the content.

(Inherited from AIContent)
Details

Gets or sets the usage information.

RawRepresentation

Gets or sets the raw representation of the content from an underlying implementation.

(Inherited from AIContent)

Methods

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