AI-102 · Question #351
You have an Azure subscription. You need to build an app that will compare documents for semantic similarity. The solution must meet the following requirements: - Return numeric vectors that…
The correct answer is C. embeddings. To compare documents for semantic similarity by returning numeric vectors representing tokens with minimal development effort, you should use an Azure OpenAI embeddings model.
Question
Options
- AGPT-3.5
- BGPT-4
- Cembeddings
- DDALL-E
How the community answered
(57 responses)- A11% (6)
- B4% (2)
- C84% (48)
- D2% (1)
Why each option
To compare documents for semantic similarity by returning numeric vectors representing tokens with minimal development effort, you should use an Azure OpenAI embeddings model.
GPT-3.5 is a generative language model designed for tasks like text generation and summarization, not primarily for creating numerical vector representations for semantic similarity.
GPT-4 is a highly advanced generative language model, but like GPT-3.5, its primary purpose is not generating embeddings for semantic similarity, and using it for this task would be inefficient or require additional processing.
Azure OpenAI embeddings models (like `text-embedding-ada-002`) are specifically designed to convert text into numerical vector representations (embeddings) that capture semantic meaning, making them ideal for tasks like semantic similarity comparison and minimizing development effort by providing a ready-to-use solution for this task.
DALL-E is an image generation model and is completely unrelated to processing text for semantic similarity or returning numeric vectors for documents.
Concept tested: Azure OpenAI embeddings for semantic similarity
Source: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/embeddings
Topics
Community Discussion
No community discussion yet for this question.