QuestionQ11
Implement AI solutions by using Microsoft FoundryYou have a Microsoft Foundry project named project1 that contains an Azure OpenAI resource named Resource1.
A gpt-4.1-mini model is deployed to Resource1 by using the model deployment named my-mini-gpt.
You need to connect to my-mini-gpt from an application.
How should you complete the Python code? Each value may be used once, more than once, or not at all.
Drag & Drop
gpt-4.1-mini
my-mini-gpt
project1
resource1
client = OpenAI(api_key="...", base_url="https://.openai.azure.com/openai/v1/",) response = client.responses.create( model="", ... )
Community Discussion