EmbeddingsUsageOutput interface
测量此请求和响应中使用的令牌量。
属性
prompt_tokens | 请求中的令牌数。 |
total_tokens | 在此请求/响应中事务的令牌总数。 应等于请求中的令牌数。 |
属性详细信息
prompt_tokens
请求中的令牌数。
prompt_tokens: number
属性值
number
total_tokens
在此请求/响应中事务的令牌总数。 应等于请求中的令牌数。
total_tokens: number
属性值
number