Skip to main content
GET
/
api
/
v1
/
provider
/
models
/
embedding
/
{model_uuid}
获取单个向量模型
curl --request GET \
  --url http://localhost:5300/api/v1/provider/models/embedding/{model_uuid} \
  --header 'X-API-Key: <api-key>'
{
  "code": 0,
  "data": {
    "model": {
      "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "text-embedding-3-small",
      "provider_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "extra_args": {},
      "prefered_ranking": 0,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

model_uuid
string<uuid>
required

Response

成功

code
integer
Example:

0

data
object