curl --request GET \
--url http://localhost:5300/api/v1/provider/models/llm \
--header 'X-API-Key: <api-key>'{
"code": 0,
"data": {
"models": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "gpt-4o",
"provider_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"abilities": [
"chat",
"vision",
"tool-use"
],
"extra_args": {},
"prefered_ranking": 0,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
}获取所有大语言模型列表。可通过 provider_uuid 过滤特定供应商的模型。
curl --request GET \
--url http://localhost:5300/api/v1/provider/models/llm \
--header 'X-API-Key: <api-key>'{
"code": 0,
"data": {
"models": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "gpt-4o",
"provider_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"abilities": [
"chat",
"vision",
"tool-use"
],
"extra_args": {},
"prefered_ranking": 0,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
}