Skip to main content

Azure OpenAI: Creating a gpt-4o-mini Deployment in Europe

This guide details how to set up a gpt-4o-mini model deployment using the Azure OpenAI Service, with a focus on hosting in Europe for GDPR compliance. Following these steps will provide you with the necessary credentials to configure Milou.

Prerequisites

  • An active Microsoft Azure subscription.
  • Access to the Azure OpenAI Service. You may need to apply for access through the Azure portal.

Step 1: Create an Azure OpenAI Resource

First, you need to create an Azure OpenAI resource in your Azure account.

  1. Log in to the Azure Portal.
  2. In the search bar at the top, type "Azure OpenAI" and select it from the results.
  3. Click the Create button.
  4. Fill in the required details for the new resource:
    • Subscription: Choose your Azure subscription.
    • Resource group: Select an existing resource group or create a new one.
    • Region: Select a region in Europe (e.g., "West Europe" or "Sweden Central"). This is crucial for data residency.
    • Name: Give your resource a unique name.
    • Pricing tier: Select the appropriate pricing tier (usually "Standard S0").
  5. Review the settings and click Create.

Navigate to LLM Settings

Step 2: Deploy the gpt-4o-mini Model

Once your Azure OpenAI resource is created, you can deploy the model.

  1. From the deployment confirmation page, click Go to resource.
  2. On the resource's overview page, click Explore in Azure AI Foundry portal. This will redirect you to the Azure AI portal.

Navigate to LLM Settings

  1. In the Azure AI Foundry, select Deployments from the sidebar menu.

  2. Click Deploy model to start a new deployment. A catalog of models will appear.

  3. Select the gpt-4o-mini Chat completion model from the catalog and click Confirm.

    Navigate to LLM Settings

  4. A new dialog will appear to configure the deployment. Fill in the details:

    • Deployment type: Select Data Zone Standard. This is a critical step to ensure that your data is processed exclusively within the European Union, in compliance with GDPR.
    • Deployment name: This will be your Deployment ID in Milou's configuration. It is recommended to use a descriptive name without spaces, for example, gpt-4o-mini-milou.
  5. Click Deploy. The deployment process might take a few minutes.

Navigate to LLM Settings

Step 3: Retrieve API Key and Endpoint

Once the deployment is successful, you will be taken to the deployment's overview page. Here you can find the necessary credentials to connect Milou.

  1. Locate and copy the API Key.
  2. Locate and copy the Target URI.

Navigate to LLM Settings

Next Steps

Now that you have your Azure OpenAI credentials, you can complete the setup in Milou.

Return to the LLM Configuration guide to enter the API Key, Endpoint, and your Deployment Name into the configuration form.

You have now successfully configured Milou to use your gpt-4o-mini deployment on Azure.