LangBot Docs
Embedding Models

获取所有向量模型

获取所有向量模型列表。可通过 provider_uuid 过滤特定供应商的模型。

GET
/api/v1/provider/models/embedding

获取所有向量模型列表。可通过 provider_uuid 过滤特定供应商的模型。

Authorization

X-API-Key<token>

In: header

Query Parameters

provider_uuid?string

按供应商 UUID 过滤

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/api/v1/provider/models/embedding"
{  "code": 0,  "data": {    "models": [      {        "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",        "name": "text-embedding-3-small",        "provider_uuid": "3bed8db6-d8fa-463d-b321-c9d45dadd5e2",        "extra_args": {},        "prefered_ranking": 0,        "created_at": "2019-08-24T14:15:22Z",        "updated_at": "2019-08-24T14:15:22Z"      }    ]  }}