LangBot Docs
Embedding Models

测试向量模型

向指定的向量模型发送测试请求,验证模型是否可用。

POST
/api/v1/provider/models/embedding/{model_uuid}/test

向指定的向量模型发送测试请求,验证模型是否可用。

Authorization

X-API-Key<token>

In: header

Path Parameters

model_uuid*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/provider/models/embedding/497f6eca-6276-4993-bfeb-53cbbbba6f08/test" \  -H "Content-Type: application/json" \  -d '{}'
{  "code": 0}