你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EmbeddingsUsageOutput interface

测量此请求和响应中使用的令牌量。

属性

prompt_tokens

请求中的令牌数。

total_tokens

在此请求/响应中事务的令牌总数。 应等于请求中的令牌数。

属性详细信息

prompt_tokens

请求中的令牌数。

prompt_tokens: number

属性值

number

total_tokens

在此请求/响应中事务的令牌总数。 应等于请求中的令牌数。

total_tokens: number

属性值

number