共用方式為


EmbeddingsResultOutput interface

來自內嵌要求之回應數據的表示。 內嵌會測量文字字串的相關性,通常用於搜尋、叢集、建議和其他類似案例。

屬性

data

內嵌要求中提交的提示值。

id

內嵌結果的唯一標識碼。

model

用來產生此結果的模型標識碼。

usage

使用內嵌 API 輸入令牌的使用量計數。

屬性詳細資料

data

內嵌要求中提交的提示值。

data: EmbeddingItemOutput[]

屬性值

id

內嵌結果的唯一標識碼。

id: string

屬性值

string

model

用來產生此結果的模型標識碼。

model: string

屬性值

string

usage

使用內嵌 API 輸入令牌的使用量計數。

usage: EmbeddingsUsageOutput

屬性值