Hello Logan Yang,
Certain restrictions may apply depending on your sponsorship type or available credits. For instance, some enterprise agreements or promotional credits may not include access to all services. Make sure you have the required permissions for your sponsor subscription.
To create an AI Foundry Project under your sponsor subscription in Azure, please follow these steps:
1: Sign in to Azure Portal Go to the Azure Portal and sign in with your credentials. Ensure that you have selected the correct sponsor subscription.
2: Navigate to AI Foundry (Azure AI Studio) Open Azure AI Studio (ai.azure.com) and click on "Create Project" under AI Foundry.
3: Configure Your AI Foundry Project Choose a meaningful Project Name, select your sponsor subscription, and either create or use an existing Resource Group. Select a Region closest to your users. Under Services to Include, choose AI services such as Azure OpenAI, Azure ML, and Cognitive Services (Speech, Vision, Language). Additionally, configure the appropriate Storage & Compute resources for your project.
4: Set Up AI Models Add pre-trained AI models like OpenAI (GPT), Vision, and Speech. Configure API endpoints and authentication and enable fine-tuning if needed.
5: Review & Deploy Click "Review + Create" to validate your configuration. Once confirmed, click "Create" to deploy your AI Foundry Project.
6: Access & Manage After deployment, navigate to Azure AI Studio to access your AI Foundry project. You can use SDKs or APIs to integrate AI services into your applications efficiently.
Yes, the new AI Foundry experience in Azure AI Studio has introduced a more complex interface compared to the previous Azure OpenAI pages. Previously, could directly access the Azure OpenAI Playground, but now, everything is integrated into AI Foundry, making navigation more challenging.
In the new Azure AI Studio, multiple dropdown options are available: Azure OpenAI for accessing GPT models (ChatGPT, GPT-4, fine-tuning, embeddings, etc.), AI Inference for running foundation and custom models efficiently, and Azure ML for training and deploying machine learning models. If you were accustomed to the older Azure OpenAI Service, this structural change might feel unfamiliar.
1.Where to Find a cURL Example for REST API Calls?
Microsoft has changed the way API examples are presented. Instead of explicitly providing cURL commands, they now mostly offer code samples in Python, C#, Node.js, and other languages. However, you can still generate a cURL command manually.
2.How to Generate a cURL Command for REST API Calls in AI Foundry:
- Go to Azure AI Studio.
- Select "Azure OpenAI" from the dropdown in the left panel.
- Click on "Deployments" → Select your model (e.g., GPT-4).
- Click "Use in Code" (top-right button).
- Review the provided Python, JavaScript, or C# samples.
- Manually construct the cURL command using your API key and endpoint.
3.If you need a cURL example, you can manually construct it as follows:
curl -X POST "https://YOUR_AZURE_OPENAI_INSTANCE.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/chat/completions?api-version=2024-02-15-preview" \
-H "Content-Type: application/json" \
-H "api-key: YOUR_AZURE_OPENAI_API_KEY" \
-d '{
"messages": [
{"role": "system", "content": "You are a helpful AI assistant."},
{"role": "user", "content": "What is AI Foundry?"}
],
"temperature": 0.7,
"max_tokens": 100
}'
Attaching a document for your reference Azure OpenAI Service REST API reference.
I hope this helps. And, if you have any further query do let us know.
Thank you!