hiexam
microsoft · AI-102 · Q292 · code_completion · azure_sdk, openai_client, code_completions

Fill in the blanks to complete the code that utilizes the OpenAIClient to generate responses.

Fill in the blanks to complete the code that utilizes the OpenAIClient to generate responses.
OpenAIClient client =
new OpenAIClient(new Uri(endpoint), new AzureKeyCredential(key));
Response<Completions> response =
client.{{slot1}}(deploymentName, "What is Microsoft Azure?");
Console.WriteLine({{slot2}});
Correct slot values

Answer hidden

Unlock AI-102

First 5 questions of every exam are free. Unlock the rest.

Includes
  • · All — questions
  • · Verified answers + AI explanations
  • · Spaced-repetition mistake notebook
  • · Phone, tablet, laptop sync

One-time payment. Doesn't auto-renew. · Already paid? Sign in