Optional
additionalGets or sets a dictionary of additional usage counts.
All values set here are assumed to be summable. For example, when middleware makes multiple calls to an underlying service, it may sum the counts from multiple results to produce an overall UsageDetail
Optional
inputGets or sets the number of tokens in the input.
Optional
outputGets or sets the number of tokens in the output.
Optional
totalGets or sets the total number of tokens used to produce the response.
Adds usage data from another UsageDetails into this instance
Provides usage details about a request/response.