UsageContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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) |