
Answer-first summary for fast verification
Answer: Use the Azure OpenAI APIs to submit code-related prompts and receive code snippets as responses.
The correct answer is B. To generate code based on natural language descriptions using Azure OpenAI Service, you would use the Azure OpenAI APIs to submit code-related prompts. The APIs will process the prompts and return code snippets as responses. This approach allows for the generation of code based on the natural language input provided by the user.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are working on a project that requires generating code based on natural language descriptions. Your team has decided to use Azure OpenAI Service for this task. Describe the steps you would take to use Azure OpenAI APIs to submit natural language prompts and receive code generation responses.
A
Use the Azure OpenAI APIs to submit natural language prompts and receive natural language responses.
B
Use the Azure OpenAI APIs to submit code-related prompts and receive code snippets as responses.
C
Use the Azure OpenAI APIs to submit image URLs and receive code generation responses.
D
Use the Azure OpenAI APIs to submit prompts in a different language and receive code generation responses.
No comments yet.