FORWARD-DEPLOYED ENGINEERING 101 · FREE, NO MODEL KEY
Understand it.
Then build it.
You can be an experienced engineer and still be new to agents. Start with what each thing is and how it helps a person do useful work. Explore 64 original introductions across software, agents, cloud, security and delivery. Start here without a model key; each topic connects to deeper instruction and practice.
A place to start.
Choose a short reading route, or look up a concept below.
- 101UnderstandPlain language, visual walkthrough, vocabulary
- 102Build with guidanceOriginal lessons, examples and knowledge checks
- 103Practise and explainRunnable labs, failure cases and handover
Numeric representations and similarity search
What are embeddings and vector search?
An embedding represents content as a list of numbers learned by a model. Vector search compares those representations to find similar items. It helps match meaning beyond exact words, but similarity is a retrieval signal, not a statement that two items are equally true or permitted.
FDEs need to diagnose retrieval quality instead of blaming every bad answer on the language model.
UNDERSTAND THE SYSTEM
Embeddings make similarity searchable
An embedding is a numerical representation of an input. An embedding model maps text or other content into vectors that can be compared for similarity; similarity is not proof of truth.
Read the connections in plain English
- 01Document passages → Embedding model
Create vectors without discarding source references.
- 02Embedding model → Vector index
Keep the embedding model/version associated with the index.
- 03Search question → Embedding model
Use a compatible representation for the query.
- 04Vector index → Candidate passages
Similarity search retrieves candidates; authorization and relevance checks still apply.
Check your understanding: Is a high similarity score a factual confidence score?
No. It measures closeness in a representation, not correctness, authority or whether a passage answers the question.
CONNECT IT TO WHAT YOU KNOW
Start with something familiar.
Imagine placing documents on a map where related meanings tend to be nearby. Distance suggests candidates; it does not tell you which document is authoritative.
An embedding model is different from the model that writes the answer. Changing the embedding model can require re-embedding the stored collection.
Words worth knowing
- Vector
- An ordered list of numbers.
- Chunk
- A selected segment of a larger document.
- Hybrid search
- Combining semantic and lexical retrieval signals.
Useful foundations
Open a definition and diagram here. Your lesson stays in place.
An application pattern: retrieve, then generateWhat is retrieval-augmented generation?
QUICK REFERENCE / 101
What is retrieval-augmented generation?
Retrieval-augmented generation (RAG) is an application pattern. Your software finds relevant information and supplies it to a model before it answers. It is not a language, model or database product. It connects a model to a selected evidence collection without making that collection part of the model's learned parameters. Retrieval can use keyword search, semantic search or a combination.
Enterprise assistants need current company knowledge and clear boundaries on who may see it.
ONE EXAMPLE / FICTIONAL CASE
Follow the connections.
A query for 'motor running hot' may find a procedure titled 'thermal overload', even though the exact words differ.
UNDERSTAND THE SYSTEM
Embeddings make similarity searchable
An embedding is a numerical representation of an input. An embedding model maps text or other content into vectors that can be compared for similarity; similarity is not proof of truth.
Build the index
Read the full worked example
- 01Build the index
Two passages about password resets become vectors linked back to their original documents.
Index record: vector + document ID + version + access metadata
- 02Represent the question
'I cannot access my account' becomes a query vector using the compatible embedding model.
Query: I cannot access my account.
- 03Inspect the matches
A nearby password-reset passage is a candidate. Check its relevance and access before returning it.
Candidate: Password reset guide · similarity match · needs relevance check
Read the connections in plain English
- 01Document passages → Embedding model
Create vectors without discarding source references.
- 02Embedding model → Vector index
Keep the embedding model/version associated with the index.
- 03Search question → Embedding model
Use a compatible representation for the query.
- 04Vector index → Candidate passages
Similarity search retrieves candidates; authorization and relevance checks still apply.
Check your understanding: Is a high similarity score a factual confidence score?
No. It measures closeness in a representation, not correctness, authority or whether a passage answers the question.
Work through it, step by step.
Represent
Split content into useful passages, retain source metadata and embed them consistently.
What you have now: Vectors tied to source passages
Compare
Embed the query with a compatible model and rank candidate passages by the chosen similarity method.
What you have now: A ranked candidate set
Verify
Apply access and relevance checks; compare with keyword or hybrid retrieval on representative queries.
What you have now: Evidence suitable for the answer
EMBEDDINGS · FROM WORDS TO SEARCH
See how a sentence becomes searchable.
Turn a familiar password question into numbers, compare it with four passages, then inspect what the ranking does and does not tell you.
STEP 1 · Turn text into numbers · Same words
Use the account recovery page to choose a new password.
Use the account recovery page to choose a new password.
all-MiniLM-L6-v2Each text becomes an ordered list of 384 numbers.
Query vector first 12 of 384 values
P1 vector first 12 of 384 values
Query -0.030528 · P1 -0.030528
The same position is compared in both vectors. It has no assigned label such as “password” or “permission”. The learned pattern across all 384 values is what we compare.
Colors distinguish positive and negative numbers. Neither color means correct, safe or approved. This is a numeric view of actual model output, not a map with invented semantic axes.
Recorded from the downloadable CPU exercise using a pinned Sentence Transformers model. The browser displays those results; it does not run inference, send text or save practice.
Run your own query in the free CPU lab ↗FROM RECOGNITION TO REASONING
Explain what the search found—and what you still need to know.
- 01
Inspect a vector coordinate, then compare the full-vector rankings for the password paraphrase and the opposite instruction.
- 02
Read P1 and P4. Explain why even a perfect match cannot resolve which instruction is authoritative.
- 03
Try the weather question. Choose your next action and compare its explanation with the password cases.
- 04
Use the free CPU lab to run one new fictional paraphrase. Keep the actual result, including a miss, and name the evidence needed before answering.
A text → vector → ranking explanation, one conflict decision, one no-answer decision and a new query observation.
Compare your reasoning when you are ready
The encoder returns numbers, the search ranks candidates and source review establishes what supports the answer. Both conflicting instructions are searchable in this fixture. A top result can also be unrelated; a ranking does not guarantee that an answer exists.
Keep notes in your own working copy. Moving through these cards does not record completion.
TURN THE IDEA INTO USEFUL WORK
You can now go deeper.
An embedding model is different from the model that writes the answer. Changing the embedding model can require re-embedding the stored collection.
Academy lessons use your existing training access. Free guides stay open.