AI workflows / Practical field guide / November 22, 2026

Similar isn't proof.

A semantic search can put two opposite rules near the same question. Use FastEmbed to retrieve candidates locally, then check which source belongs in the next AI prompt.

In this field note · 6 sections
  1. Search four fictional notes
  2. Read the match and its metadata
  3. Make it your own
  4. Keep the evidence in scope
  5. Read the primary sources
  6. Get the practice and posting files

Imagine a small AI assistant that searches office notes before drafting an answer. A keyword search looks for matching terms; an embedding model represents text as vectors so you can rank candidates by similarity. That can help find related wording. The score does not establish whether a note is current or whether its statement answers the question.

What we ran. Actual local CPU embedding inference with FastEmbed 0.9.1 and the quantized BGE-small English model on Windows CPython 3.13.15. Four authored notes, two queries, no generated answer, no company data and no performance benchmark.
Cream-paper AI Anonymous Field Notes poster with bold black headline "SIMILAR ISN'T PROOF." and subtitle "Search by meaning. Check the source." A detailed brass compass rests on an oak research desk among index cards joined by amber threads. Two cream documents stand in brass clips: one is stamped ARCHIVED, while the other has a CURRENT tab beneath a brass magnifying glass enlarging a check box. A fountain pen, ink well, ledger, brass ruler and pencil shavings surround the compass. Footer: "RETRIEVE. READ. VERIFY." and "JABSystems.io / AI Anonymous." Original AI-generated conceptual editorial illustration, not a software screenshot or measured result.
Original AI-generated conceptual artwork. The actual search results appear below.

01 / Reproduce

Search four fictional notes

Download the practice ZIP and extract it into a fresh folder. It contains search-notes.py, notes.json, requirements.txt and a README. With Python 3.10 or newer installed, open PowerShell in that folder:

python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe .\search-notes.py

Installation downloads the pinned packages. The first run also downloads five public model files into model-cache, including 66,465,124 bytes of ONNX weights. No AI API key, GPU or Qdrant server is required. The script runs inference in the local Python process using the CPU provider. We did not audit every dependency's network behavior.

The model identifier is BAAI/bge-small-en-v1.5. This lab explicitly downloads Qdrant's quantized ONNX port at revision aa8f8b060edb00e03bfdd08813a2949946c8ba55 and loads that directory. Our output was:

Python 3.13.15 / FastEmbed 0.9.1 / CPU / 384 dimensions
Query: Can I bring my dog to the office on Friday?
All notes:
  P-OLD 0.8485 current=false
  P-NOW 0.8041 current=true
  VPN 0.5195 current=true
  KITCHEN 0.4635 current=true
Current notes only:
  P-NOW 0.8041 current=true
  VPN 0.5195 current=true
  KITCHEN 0.4635 current=true
Read the source text in report.json before deciding whether it answers the query.

Open lab-output/report.json. It retains each candidate's ID, full source text, revision label, current flag and unrounded score. It also records the query, package versions, source-file SHA256, model revision and five model-file hashes. The output folder must be new; an accidental rerun into the same folder stops before downloading or inference.

02 / Inspect

Read the match and its metadata

These are the two deliberately similar policy notes. Both are fictional:

  • P-OLD, fictional-v1, current=false: “Office policy: Employees may bring dogs to work on Fridays.”
  • P-NOW, fictional-v2, current=true: “Office policy: Employees may not bring dogs to work on Fridays.”

The archived permissive note ranked first in our unfiltered run. The current restrictive note also scored highly. A value of 0.8485 is a cosine similarity between vectors in this run. It is not an 84.85% chance the policy is correct, current or applicable.

The lab uses passage_embed for note text and query_embed for the question. It computes cosine similarity explicitly:

def cosine_scores(passages, query):
    return passages @ query / (np.linalg.norm(passages, axis=1) * np.linalg.norm(query))

Here passages is a matrix with one 384-value vector per note, and query is one vector. The script creates a second ranking using only notes whose authored current field is true. Metadata is kept outside the embedded text; the filter can exclude P-OLD because someone supplied that status:

eligible = [i for i, note in enumerate(notes) if note["current"]]
current = sorted(eligible, key=lambda i: (-float(scores[i]), notes[i]["id"]))

This makes the current policy the first eligible candidate in this fixture. Read its actual sentence before using it. The model did not discover which version was authoritative, and a true flag does not prove a note is accurate. In a real assistant, source ownership, revision status and access permissions need a maintained system of record. This toy filter implements only the supplied current flag.

03 / Make it your own

Ask something the collection cannot answer

Try an out-of-scope question without changing the notes. Use a new output directory:

.\.venv\Scripts\python.exe .\search-notes.py --query "Where should I park my bicycle?" --output adapted-output

Our first current candidate was VPN at 0.4447. Its source says: “Remote access: Use the company VPN when connecting from home.” None of the four notes gives a bicycle parking location. Sorting candidates still produces a first result when the collection lacks an answer.

Compare the two reports and read the source text next to every score. For your own small synthetic collection, include one current answer, an archived contradiction and a question with no answer. Decide what a reviewer must inspect before a candidate enters the answer prompt. Check source applicability and permission before exposing it to a user or downstream model.

A cutoff needs evidence from your task. This four-note exercise cannot justify a universal similarity threshold. The model author's guidance warns against interpreting the absolute score in isolation and recommends choosing any threshold using your own data.

04 / Boundaries

Keep the evidence in scope

We ran both queries with the pinned model revision, verified 384-dimensional finite vectors, inspected the rankings and full text, checked current-only exclusion, preserved input bytes, and exercised the new-output-directory guard. The downloadable kit was also rerun from an extracted archive. The recorded package set includes NumPy 2.5.5 and ONNX Runtime 1.32.0. Printed scores are rounded to four decimals; other systems may differ slightly.

These are observed results for four authored short English notes. They do not measure retrieval accuracy on a real collection, establish a safe threshold, test a generative model or prove an end-to-end RAG assistant works. We did not benchmark speed, test multilingual text, implement authorization, or audit network isolation. The model registry lists 512-token input truncation; large-document chunking needs its own design and checks.

Optional AI review prompt, not run: “Review these fictional retrieved candidates and their current flags. Identify contradictions and whether any candidate explicitly answers the question. Quote the relevant supplied sentence, preserve its source ID, and say when the collection has no answer. Do not treat a similarity score as proof.”

05 / Primary sources

Read the primary sources

Sources checked November 22, 2026. This is a practical walkthrough of established tools, not a claim that semantic search or this model was released today.

06 / Keep it handy

Get the practice and posting files

The practice ZIP contains the script, fictional notes, pinned requirements and README. Model files download separately when the script runs. The posting ZIP contains the original portrait, teaser caption, alt text and full article URL. Social content is prepared for manual posting; it has not been scheduled or published.

Browse more AI Anonymous field notes or talk with JABSystems about your workflow.

Did this help?

Please don't include personal or confidential information.

Ask or suggest

Please don't include personal or confidential information.

What would you like to send?

Share this post.

Found this useful? Pass it along. Download the artwork, add your own take, and tag @jabsystems.io so I can see your post.