FrontToken: ********************{
"createBy": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"remark": "string",
"params": {
"property1": {},
"property2": {}
},
"id": 0,
"schedulingGroupKey": "string",
"team": "string",
"modelType": "TO_TEXT",
"isEnabled": true,
"defaultModel": "string",
"k8sConfigJson": "string",
"metadataJson": "string",
"billingConfig": "string",
"supportedTasks": "string",
"lwsConfigYaml": "string",
"scalingAlgorithm": "string",
"maxLorasPerInstance": 0,
"podStartupTimeSeconds": 0,
"slaTargetSeconds": 0,
"slaTtftSeconds": 0,
"slaQueueWaitMs": 0,
"rpm": 0,
"context": "string",
"isDeepThink": true,
"modelIntroduction": "string"
}curl --location --request POST '/system/inference/config' \
--header 'FrontToken: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"createBy": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"remark": "string",
"params": {
"property1": {},
"property2": {}
},
"id": 0,
"schedulingGroupKey": "string",
"team": "string",
"modelType": "TO_TEXT",
"isEnabled": true,
"defaultModel": "string",
"k8sConfigJson": "string",
"metadataJson": "string",
"billingConfig": "string",
"supportedTasks": "string",
"lwsConfigYaml": "string",
"scalingAlgorithm": "string",
"maxLorasPerInstance": 0,
"podStartupTimeSeconds": 0,
"slaTargetSeconds": 0,
"slaTtftSeconds": 0,
"slaQueueWaitMs": 0,
"rpm": 0,
"context": "string",
"isDeepThink": true,
"modelIntroduction": "string"
}'{
"code": 0,
"msg": "string",
"data": {},
"error": true,
"success": true
}