exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 7 question 20 discussion

Actual exam question from Microsoft's AI-102
Question #: 20
Topic #: 7
[All AI-102 Questions]

You have an Azure subscription and 10,000 ASCII files.

You need to identify files that contain specific phrases. The solution must use cosine similarity.

Which Azure OpenAI model should you use?

  • A. text-embedding-ada-002
  • B. GPT-4
  • C. GPT-35 Turbo
  • D. GPT-4-32k
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
a8da4af
Highly Voted 3 months, 2 weeks ago
Selected Answer: A
Answer is A, models that use mathematical-based searches are always related to embeddings. ChatGPT answer: The correct answer is: A. text-embedding-ada-002 Reasoning: To identify files that contain specific phrases using cosine similarity, you should use an embedding model. The text-embedding-ada-002 model is specifically designed to create embeddings (numerical representations of text) that can be used for similarity searches, such as cosine similarity. This model is efficient and optimized for tasks that involve finding similarity between pieces of text, making it ideal for identifying files with specific phrases. The other options (GPT-4, GPT-3.5 Turbo, and GPT-4-32k) are primarily designed for text generation and do not specialize in embedding-based similarity tasks.
upvoted 5 times
...
syupwsh
Most Recent 1 day, 8 hours ago
Selected Answer: A
https://learn.microsoft.com/en-us/azure/ai-services/openai/tutorials/embeddings?tabs=python-new%2Ccommand-line&pivots=programming-language-powershell https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/understand-embeddings Answer is A
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago