Choose exact lookup or semantic search for a reference number

Use exact matching when a task depends on a unique identifier. Semantic search can help locate related descriptions but may retrieve a nearby record with a similar value.

Example

A fictional query asks for CASE-214. An embedding search also returns CASE-241 because the notes are topically similar.

What to do

  1. List which fields require exact equality and which can use semantic relevance.
  2. Test near matches and include missing identifiers.
  3. Verify filters and authorization before any retrieved record reaches the model.

How to verify

A request for the test reference returns the exact permitted record or a documented missing outcome.

Limits

An exact match does not grant access. Apply tenant and user permissions separately.

Spendplane for this workflow

See the masking demo and synthetic benchmark

Related reading