EmbeddingsUsageOutput interface
Measurement of the amount of tokens used in this request and response.
Properties
prompt_tokens | Number of tokens in the request. |
total_tokens | Total number of tokens transacted in this request/response. Should equal the number of tokens in the request. |
Property Details
prompt_tokens
Number of tokens in the request.
prompt_tokens: number
Property Value
number
total_tokens
Total number of tokens transacted in this request/response. Should equal the number of tokens in the request.
total_tokens: 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