nerdexam
Salesforce

AI-201 · Question #243

Coral Cloud Resorts is implementing Agentforce retrieval. Customers sometimes type ambiguous terms (for example, "package" could mean vacation package or baggage). Which retrieval strategy best…

The correct answer is A. Use hybrid search, which combines keyword matching for precision with semantic embeddings. Hybrid search combines two complementary retrieval methods: keyword (lexical) matching and semantic vector embeddings. Keyword matching ensures that exact or near-exact terms in the query are surfaced precisely, while semantic embeddings capture the contextual intent behind…

AI Features for Service (e.g., Einstein Bots, Next Best Action)

Question

Coral Cloud Resorts is implementing Agentforce retrieval. Customers sometimes type ambiguous terms (for example, "package" could mean vacation package or baggage). Which retrieval strategy best balances precision and contextual disambiguation?

Options

  • AUse hybrid search, which combines keyword matching for precision with semantic embeddings
  • BUse semantic search only, which captures intent but may struggle with ambiguous terms when no
  • CUse keyword search only, which prioritizes exact term matching but risks missing contextual

How the community answered

(27 responses)
  • A
    74% (20)
  • B
    11% (3)
  • C
    15% (4)

Explanation

Hybrid search combines two complementary retrieval methods: keyword (lexical) matching and semantic vector embeddings. Keyword matching ensures that exact or near-exact terms in the query are surfaced precisely, while semantic embeddings capture the contextual intent behind ambiguous words. For a term like 'package,' keyword search alone would return all documents containing that word with no sense of context, and pure semantic search might still be confused by the term's dual meaning. Hybrid search mitigates both weaknesses: the keyword component anchors results to the literal term, and the semantic component uses surrounding context (e.g., 'I booked a trip' vs. 'my luggage was lost') to disambiguate intent. This is the recommended approach in Agentforce Data Cloud/Einstein Search for retrieval-augmented generation (RAG) scenarios where precision and relevance both matter.

Topics

#Hybrid Search#Semantic Search#Keyword Search#Contextual Disambiguation

Community Discussion

No community discussion yet for this question.

Full AI-201 Practice