Which Azure OpenAI Model for Document Semantic Similarity

AI-102 By islever Editorial Last updated

Short answer

C Use the embeddings model to generate numeric vectors representing tokens for document semantic similarity.

Question

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 represent the tokens of each document. • Minimize development effort. Which Azure OpenAI model should you use?
  1. GPT-3.5
  2. GPT-4
  3. embeddings Correct Answer
  4. DALL-E

Key Takeaways

This question tests knowledge of Azure OpenAI model capabilities, specifically that embeddings models output numeric vectors for semantic similarity, avoiding the trap of choosing a generative text model like GPT-4.

Choosing the correct Azure OpenAI model for document semantic similarity requires understanding the specific output of each model type. This page confirms that the embeddings model is the correct choice for returning numeric vectors representing tokens to minimize development effort.

Common mistake: Choosing GPT-4 because it is the most advanced text model, but it generates text completions rather than numeric vectors required for semantic comparison.

Expert Analysis

Why the Answer Is Correct

The embeddings model in Azure OpenAI is explicitly designed to convert text into high-dimensional numeric vectors that capture semantic meaning. By comparing these vectors using distance metrics like cosine similarity, applications can easily determine the semantic similarity between documents. This directly fulfills the requirement to return numeric vectors and minimizes development effort since no custom vectorization logic is needed.

Why the Other Options Are Wrong

GPT-3.5 and GPT-4 are generative language models designed to predict and output text, not numeric vectors. While they process text semantically, their output format does not meet the requirement to return numeric vectors representing tokens. DALL-E is an image generation model and is entirely irrelevant to text or document semantic similarity tasks.

Community Comment Notes

Community consensus firmly supports the embeddings model. As user syupwsh noted, "embeddings is CORRECT because it is designed to convert text into numeric vectors". Others simply referenced that "Azure OpenAI Service embeddings" is the designated service feature for this task.

Exam Strategy

When a question asks for numeric vectors or semantic similarity representations from text, immediately look for the "embeddings" option. Generative models like GPT-3.5 and GPT-4 output text, while embeddings output vectors.

Community Votes

C
100%

100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 6 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 6

  1. syupwsh 👍 1 Answered C
    embeddings is CORRECT because it is designed to convert text into numeric vectors that represent the semantic meaning of tokens within a document. These embeddings can then be compared to assess the similarity between documents. This approach directly meets the requirement to return numeric vectors and minimizes development effort, as the embeddings model is specifically built for this purpose. C
  2. Moneybing 👍 1 Answered C
    Copilot says Azure OpenAI Service embeddings.
  3. fqc 👍 3
    correct
  4. testmaillo020 👍 2
    embeddings correct
  5. 9c652a0 👍 1 Answered C
    embeddings
Show 1 more comment
  1. mrg998 👍 1
    c for sure

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to AI-102 Study Guide