CmdID

CmdID / az / az aimanager / az aimanager modelsource

az aimanager modelsource create

Create a model source in an AI Manager. Azure CLI extensions reference

2 examples 4 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a public Hugging Face model source

az aimanager modelsource create -g myrg --aimanager my-ai-manager -n hf --source-type HuggingFaceIdentify
-gName of resource group.
--aimanagerThe name of the AI Manager resource.
-nThe name of the model source.
--source-typeThe type of the model source.

Create a Hugging Face model source with an access token for gated models

az aimanager modelsource create -g myrg --aimanager my-ai-manager -n hf -s HuggingFace --token hf_xxx --description "Gated models"Identify
-gName of resource group.
--aimanagerThe name of the AI Manager resource.
-nThe name of the model source.
-sThe type of the model source.
--tokenAccess token used by the platform to authenticate to the source.
--descriptionAn optional, free-form description of the model source.

Options

4 in the Azure CLI extensions reference
--custom-headersComma-separated key=value pairs to specify custom headers, this is mainly for internal testing.
--descriptionAn optional, free-form description of the model source.
--source-type, -sThe type of the model source.
--tokenAccess token used by the platform to authenticate to the source.