Track lessons
  1. 1How a language model works: parameters and inferenceVideo 3 min
  2. 2How AI finds text by meaning: embeddings and hybrid searchVideo 3 min
  3. 3How AI answers from verified sources: RAGVideo 3 min
  4. 4In-house enterprise AI: VM, GPU node and proxyVideo 2 min
  5. 5Why one machine is rarely enough: memory and queuesVideo 2 min
  6. 6Where your data goes: external models vs in-house proxyVideo 3 min
AI Garage · try it
Lesson 2 of 6 · Video 3 min

How AI searches by meaning: embeddings and hybrid lookup.

Keyword search misses synonyms; embeddings group related phrasing on a map. Yet pure meaning search blurs near-identical part codes and ignores revision status unless metadata and BM25 work alongside it.

Level: For learners · 15 min

In lesson 1 we saw that models predict fluent words without opening files. Here is how files become searchable by meaning first.

In one sentence

Meanings cluster on a numeric map, while metadata filters and exact lexical lookup keep part codes, plants and active revisions apart.

Dark visual meaning map with three lit document clusters: deliveries left, service codes right, invoices bottomDark visual meaning map with three lit document clusters: deliveries left, service codes right, invoices bottom
Illustrative diagram · semantic mapWhat to look for: click callouts 1–3: similar concepts sit together, yet part codes AB-17 and AB-71 sit close unless exact search separates them.
  1. 1Meaning cluster: Shipping, courier delays and goods damaged sit nearby even without sharing literal keywords.
  2. 2Metadata filter check: Document site, department and Active/Obsolete tags must filter chunks ahead of similarity ranking.
  3. 3Code collision danger: Embeddings put AB-17 and AB-71 next door — only BM25 lexical lookup enforces the exact digit.
Read as · choose your angleLevel: For learners · 15 min

In 30 seconds · takeaway

Search understands intent — except when exact codes matter

  1. Embeddings translate text paragraphs into map coordinates so «crushed pallet» finds «goods damaged in transit».
  2. Two traps catch pilot teams off guard: exact product codes (AB-17 vs AB-71) and scanned PDFs missing an OCR text pass.
  3. Production search combines three pieces: meaning map + keyword match (BM25) + strict folder/status metadata.

What this means for you: Ask for hybrid search plus OCR + revision tags — vector similarity alone confuses SKUs and superseded specs.

Short clip before testing · 41 s

Digital avatar and synthetic voice of Lorenzo Dalci. All examples and companies are fictional.

Test the meaning map

Close on the map means similar meaning.

Illustrative projection · fictional clusters Pick everyday business requests and watch where coordinates land — then compare both traps: false neighbours and exact codes.

How text maps to search coordinates

Deliveries & shippingService, codes & faultsInvoices & paymentsWaybill 112CourierSpindle / AB-17Cabinet / AB-71Wire transferReminder

Choose a phrase and watch where the model maps it.

Critical cases: false neighbour and exact code

[ … ]

The query starts at centre: pick a case to see where it lands.

What to look for click «The lorry is delayed» after «goods shipped», then switch to «Part code AB-17» to see why pure meaning fails exact identifiers.

Real embeddings live in hundreds of dimensions; here 2D screen coordinates illustrate domain clustering accurately.

Short clip · Decision maker · 39 s

Digital avatar and synthetic voice of Lorenzo Dalci. All examples and companies are fictional.

Decision makerSearch quality is won inside document hygiene · pre-indexing checks, pitfalls and 3 supplier questionsDeep dive collapsed · click to expand
Decision maker · archive readiness & search precision

Search quality is won inside document hygiene

Mandatory hygiene before indexing

1

Hybrid search on day one

How to assess it

Never accept pure vector search for technical, legal or warehouse archives containing part codes, DIN numbers or invoice IDs.

2

Separate active vs superseded drafts

How to assess it

Tag document status, effective date, site and department in index metadata so old PDFs cannot outrank live procedures.

3

Audit scanned documents via OCR

How to assess it

Supplier delivery notes and legacy manuals often sit as flat raster PDFs; un-OCRed files stay invisible to every search engine.

What you gain

  • Teams locate procedures fast even when using informal everyday terms.
  • Eliminates costly part-code mismatches across engineering and warehouse teams.
  • Surfaces clear gaps (missing OCR, conflicting revisions) early in pilot setup.

What you manage

  • False neighbours pulling instructions for another assembly line or voltage range.
  • Zero hits returned silently because scanned PDFs contained image pages only.
  • Deleted/renamed documents lingering in vector indices unless delta sync runs cleanly.

Why retrieval stumbles before an answer is ever written

Before
Semantic search ranks AB-71 ahead of AB-17
After
BM25 flags the exact part number

Illustrative examples

Three supplier questions

  1. «Does retrieval fuse vector embeddings with BM25 lexical keyword matching?»
  2. «How are scanned PDFs detected and processed with OCR before chunking?»
  3. «Can users filter strictly by site, language and Active status prior to ranking?»
Timing, prerequisites and examples

Pilot prep: audit 50 representative files for OCR readability and naming/status conventions.

  • List shared folders containing official policies vs raw draft folders.
  • Identify core identifier patterns (part numbers, customer IDs, batch lots).
  • Define ownership for updating or retiring superseded procedure files.

Industrial maintenance

A technician looks up part AB-17. Semantic embeddings rank AB-71 higher because surrounding descriptions read almost identically; only BM25 flags exact digits.

Logistics & claims

Warehouse scans signed delivery receipts daily without running OCR. Searches for damage notes miss half the archive completely without throwing any error.

Short clip · Technical lead · 42 s

Digital avatar and synthetic voice of Lorenzo Dalci. All examples and companies are fictional.

Technical leadChunking, Reciprocal Rank Fusion and metadata pre-filtering · dense+BM25 RRF fusion, chunk granularity, OCR gates and vector privacyDeep dive collapsed · click to expand
Technical lead · retrieval engineering

Chunking, Reciprocal Rank Fusion and metadata pre-filtering

Chunk boundary discipline

Oversized chunks dilute vector specificity; tiny fragments strip table context and headings. Store document hierarchy headings on every chunk.

Hybrid fusion (Dense + BM25 + RRF)

Merge dense cosine scores with BM25 lexical ranks via Reciprocal Rank Fusion so exact alphanumeric SKUs always anchor top ranks.

Hard pre-filtering on metadata

Apply tenant/ACL/status predicates before ANN index traversal rather than filtering post-topk, avoiding empty final contexts.

Embeddings still reveal source content

Research demonstrates embeddings are nearly invertible back to original phrasing: protect vector indices at the same security tier as raw text files.

Technical sources and verified references (6)
Short clip · Put it to the test · 32 s

Digital avatar and synthetic voice of Lorenzo Dalci. All examples and companies are fictional.

For learnersTest meaning closeness vs false neighboursHighlighted for your level
For learners · guided practice

Test meaning closeness vs false neighbours

Try every phrase and both critical edge cases in the interactive map above, then verify your choices below.

1 · Open files and spot false neighbours vs exact codes

To do

Illustrative exercise Line B maintenance asks: «Replacement tolerance on spindle AB-17, Line B?». Vector-only search retrieves 4 passages — open each card first.

Open the files below to inspect them before choosing:

2 · Why ALL-2021 never shows up in searches

To do

Illustrative exercise Engineering complains that legacy annex ALL-2021 stays completely missing across both semantic and exact SKU queries.

GlossaryKey terms in this lesson (7)Highlighted
Embedding
Translating the meaning of text into numbers; passages with similar meaning land close together on the map.
Chunk
A short passage (a few paragraphs) sliced from a document for indexing and retrieval.
Vector index
A searchable database storing the embeddings of every chunk alongside metadata (document ID, revision, department, permissions).
Indexing
Reading source documents, splitting them into chunks and computing embeddings; it must be updated whenever a document changes.
False neighbour
A chunk that sits close by in meaning but is wrong for the request: wrong site, wrong department or an outdated revision.
Hybrid search
Combining meaning-based search (embeddings) with exact keyword or part-code matching (BM25).
OCR
Optical Character Recognition for scanned pages and images: without OCR, a scan contains no searchable words.
Lesson recap

What you learnt.

  • ○Understood how meaning coordinates find paraphrased text without identical wording.
  • ○Identified false neighbours, part-code ambiguity (AB-17/AB-71) and missing OCR scans.
  • ○Completed all 5 verification checks with clean hybrid-search logic.
Take into your meeting

Lesson 2 takeaway · Embeddings & Hybrid Search

Loading summary…

Educational self-assessment sheet generated locally inside your browser. Zero data sent over the network; not a compliance audit.

Check · 5 questions drawn from 9

Did it click? Put it to the test.

1. What does an embedding actually do to a paragraph of text?
2. Someone searches «goods delayed for client» and finds «late delivery notice» without sharing a word. Why?
3. Why is embeddings-only search risky for exact spare-part codes like AB-17 vs AB-71?
4. A query returns a spotless clause from Plant 1 instead of Plant 2 because the wording looks identical. What happened?
5. Why does engineering upload 50 scanned assembly PDFs and search finds zero matches?
Go to next lesson →

Answers remain inside your browser: missing one brings in a fresh question.

Up next: Now you can locate relevant passages across thousands of files. Next lesson connects that index directly to answers with clickable citations.

Want to see this on your workflows?

Six lessons show what to check before introducing AI into daily work. In a 30-minute call we can walk through it on one of your real processes — or design tailored team training with Wise Academy.