EmbeddingsUsage interface
Measurement of the amount of tokens used in this request and response.
Properties
prompt |
Number of tokens sent in the original request. |
total |
Total number of tokens transacted in this request/response. |
Property Details
promptTokens
Number of tokens sent in the original request.
promptTokens: number
Property Value
number
totalTokens
Total number of tokens transacted in this request/response.
totalTokens: number
Property Value
number
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for