AI-102 Exam QuestionsBrowse all questions from this exam

AI-102 Exam - Question 272


HOTSPOT

-

You have an Azure subscription that is linked to a Microsoft Entra tenant. The subscription ID is x1xx11x1-x111-xxxx-xxxx-x1111xxx11x1 and the tenant ID is 1y1y1yyy-1y1y-y1y1-yy11-y1y1y11111y1.

The subscription contains an Azure OpenAI resource named OpenAI1 that has a primary API key of 1111a111a11a111aaa11a1a1a11a11aa. OpenAI1 has a deployment named embeddings1 that uses the text-embedding-ada-002 model.

You need to query OpenAI1 and retrieve embeddings for text input.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Answer
Correct Answer:

Discussion

1 comment
Sign in to comment
fqc
Jul 15, 2024

1 - API key 2 - text-embeddings-ada-002