POST /v1/embeddingsgithub.com/QuantumNous/new-api/router.SetRelayRouter.func15。external_api_client。confirmed-openapi-source。字段为动态上游数据或回调负载时,文档会明确标记,不能补造 Schema。x-debug 里的占位符;示例不含真实密码、API Key、签名、Cookie 或 Provider 密钥。Authorization: Bearer ********************{
"model": "text-embedding-ada-002",
"input": "string",
"encoding_format": "float",
"dimensions": 0
}curl --location 'http://api-dev.opensosen.cn/v1/embeddings' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "text-embedding-ada-002",
"input": "string",
"encoding_format": "float",
"dimensions": 0
}'{
"object": "list",
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [
0
]
}
],
"model": "string",
"usage": {
"prompt_tokens": 0,
"total_tokens": 0
}
}