CertBrain
Sign in
← Back to decks
Sign in to save your progress.Sign in

Deploying a Model in the Foundry Portal

A model in the catalog cannot answer anything until it is deployed into a project. This lesson follows the portal path from project to deployment to playground, and explains why the deployment name matters in code.

11 cards

Deploying a Model in the Foundry Portal

In this lesson · 5 sections

Terms you'll meet

Tap a card to see what it means.

Step 1 of 5

A model in the catalog cannot answer anything until it is deployed into a project. This lesson follows the portal path from project to deployment to playground, and explains why the deployment name matters in code.

What a deployment is

A catalog entry describes a model; a deployment makes that model callable from your project. After deploying, your application refers to the deployment by its deployment name, and Microsoft's deployment guidance has requests carry that name as their model value. The deployment name and the model name are separate settings. Microsoft's walkthrough happens to give them the same value, but the Azure CLI shows two distinct options, and you can deploy one model several times under different deployment names, for instance to try different content filters. If code copied from a sample names a model, and your deployment has another name, the sample needs editing. How a deployment is hosted and billed is the subject of the earlier lesson on deployment options, so it is not repeated here. Instant access models, which skip deployment, are the exception: in Microsoft's get-started code quickstart the model name stands in wherever a sample asks for a deployment name, and Microsoft marks them Preview.