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 · L2 · 15 min

Cite or refuse

Learn in five minutes

  • Every factual sentence needs a passage or a refusal.
  • A citation the index did not return is not a citation.
  • OWASP's LLM project lists risks including overreliance and sensitive data. Read the current list before you treat a version as final.
  • Refusal is a successful output when the notes are silent.
  • This lab invents no customer story.

The worked example is a library card, not a person. If the card lacks a due date, the answer is that the card lacks it.

This section HTML

Visual

T4-R5 diagram

Diagram SVGDiagram PNGDiagram HTML

A silent card

  1. Card text: title and author only.
  2. Question: when is it due?
  3. Accepted answer: the card does not say.
  4. Rejected answer: any date.

This section HTML

Quiz

When is refusal a success?

Silence is data.

What is wrong with an invented citation?

A title you made up is not a source.

What does this lab invent?

Examples are generic on purpose.

This section HTML

Ecosystem

Citation
A pointer to a passage you actually retrieved.

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