{
"model": "123111",
"model_type": "text-embedding",
"credentials": {
"server_url": "1111111",
"model_uid": "22222222"
},
"load_balancing": {
"enabled": false,
"configs": []
}
}curl --location --request POST 'http://172.20.238.8:48806/ai-portal/proxy/console/api/workspaces/current/model-providers/xinference/models' \
--header 'Pragma: no-cache' \
--header 'authorization: debug userId=19645' \
--header 'content-type: application/json' \
--data-raw '{
"model": "123111",
"model_type": "text-embedding",
"credentials": {
"server_url": "1111111",
"model_uid": "22222222"
},
"load_balancing": {
"enabled": false,
"configs": []
}
}'{}