CypherMonkeyAI omni-channel lab

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

Prompting and evals · L2 · 15 min

Latency and a toy budget

Learn in five minutes

  • Latency is time, usually milliseconds.
  • An average hides the slow tail. Lab 08 looks at a stage p95.
  • A budget is a limit you chose for a lesson, not a vendor SLA.
  • Voice feels worse than chat at the same delay because the person is waiting in real time.
  • Confirm any published SLA before you repeat it. This page states none.

If the speech stage is 900 toy milliseconds and the model stage is 200, the speech stage is the one to study. The average of the two would hide that.

This section HTML

Visual

T3-R5 diagram

Diagram SVGDiagram PNGDiagram HTML

Read lab 08's idea

  1. Run python3 labs/08-voice-latency-budget.py.
  2. Read which stage the report calls out.
  3. Write one sentence: the slow stage is the one a person would notice.
  4. Do not convert the toy numbers into a price.

This section HTML

Quiz

What does an average hide?

The slow stage is the lesson.

What is a budget on this page?

The page states no SLA.

Why does voice feel stricter than chat?

Waiting is part of the turn.

This section HTML

Ecosystem

p95
A point on the slow tail: about 95 of 100 samples are faster.

Sisters: JSON schema, Rubrics, Regression tests.

The same job-shape-test card works for chat, voice, and a tool result.

The capstone reuses this card.

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