UsageDetails 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.
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. |
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.