Spring Boot AI + Azure OpenAI Hello World Example

Video
This tutorial is explained in the below Youtube Video.Step 1: Access the Azure Portal
Begin by logging into the Azure portal at portal.azure.com. This will give you access to all Azure services, including Azure OpenAI.

Step 2: Navigate to Azure AI Services
From the Azure homepage, locate Azure OpenAI service by:
- Looking under "Azure services" section
- Clicking the "Azure OpenAI" icon with the star symbol

Step 3: Create a New Azure OpenAI Resource
In the Azure AI services section:
- Click the "Create" button to initiate a new Azure OpenAI instance setup
- This will direct you to the resource creation form

Step 4: Configure Your Azure OpenAI Resource
Fill in the following details in the creation form:
- Subscription: Select your subscription
- Resource group: "java"
- Region: "East US" (crucial for model availability)
- Name: "javainuse"
- Pricing tier: "Standard S0"

Step 5: Access and Setup
After resource creation:
- Verify your "javainuse" OpenAI resource is listed
- Navigate to the resource overview page
- Click "Go to Azure AI Foundry portal"



Step 6: Model Deployment
In the Azure AI Foundry:
- Click "+ Create new deployment"
- Select "Deploy base model"
- Choose "GPT-4o" from the model list
- Name your deployment (e.g., "gpt-4o")
- Configure deployment options




