使用 API 获取“general-v1.3”模型的概念列表时,使用以下请求
curl -X GET \
https://api.clarifai.com/v2/models/aaa03c23b3724a16a56b629203edc62c/output_info \
-H 'authorization: Key xxx-api-key-xxx'
我正在使用以下格式获取模型的所有可用输出的列表:
{
...
"model": {
"aaa03c23b3724a16a56b629203edc62c",
"name": "general-v1.3",
"created_at": "2016-03-09T17:11:39.608845Z",
"app_id": "main",
"output_info": {
"data": {
"concepts": [
{
"id": "ai_jH6mzv12",
"name": "Adriatic",
"created_at": "2016-03-17T11:43:01.223962Z",
"language": "en",
"app_id": "main",
"definition": "an arm of the Mediterranean between Slovenia and Croatia and Montenegro and Albania on the east and Italy on the west"
},
...
每个概念都有一个 id。例如,考虑到“通用”模型更新到 v1.4,我想它会获得一个新的 model_id,但这些概念 ID 会改变吗?