CypherMonkeyAI omni-channel lab

A lifelong-learner lab on AI omni-channel agents, including voice and the contact center. Free to read. Nothing sold.

Retrieval · L1 · 15 min

Why retrieve

Learn in five minutes

  • A model does not contain your private notes.
  • Retrieval finds passages and puts them in the call.
  • The 2020 RAG paper is the usual citation for that pattern.
  • If retrieval misses, a fluent answer is still ungrounded.
  • Say which passage you used.

Two systems can share a model and differ only in the notes they retrieve. The notes are the part you control.

This section HTML

Visual

T4-R1 diagram

Diagram SVGDiagram PNGDiagram HTML

Flow SVGFlow PNGFlow HTML

Answer from one card

  1. Write three sentences on a card.
  2. Ask a question the card answers.
  3. Quote the sentence.
  4. Ask a question the card does not answer and refuse.

This section HTML

Quiz

What does retrieval add?

The passages are the new evidence.

What paper is the usual RAG citation?

That paper names the pattern.

If the search misses, what is a fluent answer?

No passage, no grounding.

This section HTML

Ecosystem

Passage
A chunk of source text the answer may use.

Sisters: Search indexes, Embeddings, Rerankers, Citations.

A voice agent and a chat agent can share the same note index.

The capstone answers only from notes you are allowed to use.

Config

  • Write the goal in one sentence.
  • Name the input and the allowed output.
  • Save the trace next to the result.

Troubleshooting

  • The answer looks fluent and is wrong. Check whether a source passage actually contains the claim.
  • The loop never stops. Set a step cap and stop when the tool result repeats.

This section HTML

Sources HTML

Sources and go deeper

sources.json