Skip to main content
In this quickstart, you use Azure AI Foundry to:
  • Create a project
  • Deploy a model
  • Run a chat completion
  • Create and run an agent
  • Upload files to the agent The Azure AI Foundry SDK is available in multiple languages, including Python, Java, JavaScript, and C#. This quickstart provides instructions for each of these languages.
The rest of this article shows how to use a Foundry project. Select hub based project at the top of this article if you want to use a hub based project instead. Which type of project do I need?

Prerequisites

  • An Azure subscription. If you don’t have an Azure subscription, create a free account before you begin.
  • You must be Owner of the subscription to receive the appropriate access control needed to use your project.
Items marked (preview) in this article are currently in public preview. This preview is provided without a service-level agreement, and we don’t recommend it for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.

Start with a project and model

  1. Sign in to the Azure AI Foundry portal.
  2. On the home page, search and then select the gpt-4o model.
  1. On the model details page, select Use this model.
  2. Fill in a name to use for your project and select Create.
  3. Once your resources are created, you are in the chat playground.

Set up your environment

No installation is necessary to use the Azure AI Foundry portal.

Run a chat completion

Chat completions are the basic building block of AI applications. Using chat completions you can send a list of messages and get a response from the model.
  1. In the chat playground, fill in the prompt and select the Send button.
  2. The model returns a response in the Response pane.