ChatTurnDetails.Usage Property
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.
Gets or sets usage details for the chat conversation turn (including input and output token counts).
public:
property Microsoft::Extensions::AI::UsageDetails ^ Usage { Microsoft::Extensions::AI::UsageDetails ^ get(); void set(Microsoft::Extensions::AI::UsageDetails ^ value); };
public Microsoft.Extensions.AI.UsageDetails? Usage { get; set; }
member this.Usage : Microsoft.Extensions.AI.UsageDetails with get, set
Public Property Usage As UsageDetails
Property Value
Remarks
Returns null
if usage details were not available via Usage.