cURL
curl --request POST \ --url http://localhost:5300/api/v1/provider/models/embedding/{model_uuid}/test \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "text": "Hello" } '
{ "code": 0 }
向指定的向量模型发送测试请求,验证模型是否可用。
测试用的文本
"Hello"
操作成功
0