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