Error
其他
Embeddings
通过 OpenAI 兼容 /v1/embeddings 生成文本向量
POST
Error
POST /v1/embeddings 用于把文本转换为向量,适合语义检索、聚类、召回和重排前的候选生成。
请求示例
常见用法
- 将知识库文档切片后写入向量数据库。
- 对用户查询生成向量,用于相似内容召回。
- 与模型列表接口结合,按 Token 可用模型动态选择 embedding 模型。
Authorizations
Authorization: Bearer
Body
application/json
The body is of type object.
Response
200 - application/json
OK
The response is of type object.
