Which Azure OpenAI Model for Document Semantic Similarity

Use Azure OpenAI in Foundry Models to generate content
Answer Correct answer: C — Use the embeddings model to generate numeric vectors representing tokens for document semantic similarity.

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

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.

Community Insight

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.

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

Community Discussion (6 comments)

syupwsh 👍 1 Selected: 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
9c652a0 👍 1 Selected: C
embeddings
mrg998 👍 1
c for sure
testmaillo020 👍 2
embeddings correct
Moneybing 👍 1 Selected: C
Copilot says Azure OpenAI Service embeddings.
fqc 👍 3
correct

Comments & Corrections

No comments 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.

Submitted for moderation before publishing. Keep it helpful and respectful.

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.

Official Reference

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.

Related Analysis

← Back to AI-102 Study Guide