Lesson 1 of 2 Using Models in the Foundry Portal

Organizing Foundry Resources, Projects and the Portal

This lesson explains the Azure resources every Foundry solution starts with: what a Foundry resource and a project are, how they relate, and how you reach them in the Foundry portal and in code.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe what a Foundry resource provides.
  • Describe what a project holds and how it uses its parent resource's deployments.
  • Identify what the Foundry portal provides.
  • Decide whether a setting belongs to the resource or the project.

The Foundry resource

A Foundry resource is an Azure resource (type Microsoft.CognitiveServices/accounts, kind AIServices) created in a subscription, resource group and region. It provides the endpoints that applications call, holds model deployments and their quota, and gives access to Foundry Tools such as Azure Language, Azure Speech and Azure Content Understanding through the same resource. Security settings such as authentication methods and network access are set on the resource, and costs are billed to its subscription.

Projects

A project is a child of a Foundry resource and is where development work happens. It holds agents, uploaded files, conversations, evaluations and connections to other resources, and it can use the model deployments of its parent resource. Several teams can share one resource and keep their work separate in different projects. A project has its own endpoint, https://<resource>.services.ai.azure.com/api/projects/<project>, which the Foundry SDK uses.

The following diagram shows two projects sharing one Foundry resource.

A Foundry resource and its projects. The resource holds the model deployments and their quota. Each project is a child of the resource where development work happens: it holds agents, uploaded files, conversations, evaluations and connections, and it can use the parent resource's deployments. Several teams can share one resource and keep their work separate in their own projects, each with its own endpoint.
Deployments belong to the resource; development work belongs to projects.
Sort into groups

Resource or project?

Exam skills 2.1.2

Decide whether each item belongs to the Foundry resource or to a project inside it.

Log in to try this activity Interactive activities are free with an account.

The Foundry portal

The Foundry portal at ai.azure.com is the web interface for Foundry. When you create a project in the portal, it can create the Foundry resource and resource group at the same time. The portal provides the model catalog, deployment management, playgrounds for models, agents, images and Foundry Tools such as speech and language, agent building, evaluation and monitoring. The project's overview page shows its endpoint, which you copy into application settings.

Access is controlled with Azure role-based access control (RBAC). Users who build and test with models and agents need a data-plane role such as Foundry User (formerly Azure AI User) on the resource or project; owners and contributors manage the resource itself.

Scenario questions

Finding your way in the portal

Exam skills 2.1.2

Practise everyday decisions about the Foundry portal and access.

Log in to try this activity Interactive activities are free with an account.
Worked example

Resource or project

Two teams in a company each build their own agents but should share the same GPT model deployment and quota, which IT manages centrally. How should the Foundry environment be organized?

Deployments and quota belong to the resource, and agents belong to projects.

One Foundry resource with the shared deployment, and a separate project for each team, meets the requirement. Two separate resources would split the quota and require two deployments. One shared project would mix the teams' agents and files.

Check yourself

What does the Foundry SDK connect to?

Show answer

The project endpoint.

Exam Tips

Remember for the exam

  • The Foundry resource holds deployments, quota, Foundry Tools and security settings.
  • Projects hold agents, files, conversations and evaluations and use the resource's deployments.
  • The project endpoint is what the Foundry SDK connects to.