嵌入对象
表示嵌入端点返回的嵌入向量。
配置项
| 配置项 | 类型 | 说明 |
|---|---|---|
| object | string | 对象类型,总是 "embedding" |
| embedding | array | 嵌入向量,它是浮点数列表。向量的长度取决于模型。 |
| index | integer | 嵌入列表中嵌入的索引 |
范例
{
"object": "embedding",
"embedding": [
0.0023064255,
-0.009327292,
-0.0028842222
],
"index": 0
}