Pipecat v1.12.0 adds Classifiers for voicemail, turn-taking and the screen
1 month ago
Pipecat v1.12.0 adds Classifiers: typed yes-or-no, choice and score questions about a call, answered by Jev in a few hundred milliseconds or by any Pipecat LLM. VoicemailDetector and UIWorker now use them, voice LLMs can ask about the screen without seeing it, a cough that interrupts the bot gets a reply, one pronunciation map works across TTS services, sentence splitting drops NLTK, and MOQTransport redials dropped relays.
Links
Ask about this presentation
Chapters
0:00Pipecat v1.12.0
0:15Classifiers
0:16JevClassifier
0:30LLMClassifier
0:43Voicemail detection
0:45VoicemailDetector waits for silence
1:02One processor
1:16Screen questions
1:17The screen job
1:31UIWorker classifier
1:47Speech and turns
1:49Empty user turns
2:01Pronunciation map
2:18Sentence splitting
2:34Transport and evals
2:36MOQTransport reconnect
2:51Eval judge
3:06Before you upgrade
3:08New requirements
3:24Fixes
3:41Upgrade notes
Show transcriptHide transcript
Pipecat adds Classifiers. A classifier answers typed questions about some state: a yes or no, a choice among options, or a score on a scale, several questions at once, each with a probability.
Classifiers.
The fast backend is Jev, TypeSafe's classification model. Ask whether a caller has finished their turn, and Jev answers in a few hundred milliseconds, with how sure it is. It needs a TypeSafe API key.
LLMClassifier asks the same questions of any Pipecat LLM service. All the questions about one state go out in one call and come back as one JSON object, with a ten second timeout by default.
Voicemail detection.
VoicemailDetector now asks a classifier after every transcription and acts after a second of quiet. “Hi, this is Sam” opens a real answer and a voicemail greeting alike, and the silence after it tells them apart.
The detector is now one processor, in place of a parallel pipeline with its own LLM. Passing an LLM still works for now. The old gate classes are removed, so code importing them breaks.
Screen questions.
The UI worker has a built-in screen job. The voice LLM asks it to find an element, check the screen, or click and fill, and each answer comes back as short data, never the page.
Hand the UI worker a classifier such as Jev, and it decides which element the user means, or whether an event deserves a reply, without an LLM turn. Without one, its own LLM answers more slowly.
Speech and turns.
When a cough cuts the bot off and leaves no transcript, the bot now asks the user to repeat, or picks up where it left off. Noise during a pause gets no reply by default.
Give Pipecat a map from words to IPA, and it writes the markup each TTS service expects: Cartesia, ElevenLabs, Inworld and Deepgram Aura-2. Deepgram Flux has no pronunciation markup, so those words are spoken as written.
Sentence splitting before TTS now runs on sentencex rules in place of NLTK, so the data downloads and tokenizer warm-up are gone. It follows the language setting, and some sentence boundaries may land differently than before.
Transport and evals.
In client mode, the MOQ transport now redials a dropped relay with backoff, and a reconnect stops replaying the whole RTVI log. A missing client gets a minute to return, up from thirty seconds.
The eval judge now decides every verdict with a classifier, and an LLM explains each failure. Borderline replies can get a different verdict than before, and simulations cost more calls, one per bot turn.
Before you upgrade.
xAI speech-to-text now defaults to the second-generation Grok transcription model. The MCP extra runs only on version 2 of the MCP SDK. Local smart turn and Moondream now require Transformers 5.
Word highlighting stays in step on markdown-heavy replies. A Flows node change now delivers the new context and tools even when the user interrupts. And Telnyx calls now carry RTVI messages, which were silently dropped.
Most of what this release deprecates, from the base UI worker to passing an LLM to the eval judge, keeps working until Pipecat 2.0. The upgrade notes for each one are in the Pipecat release notes.
Up next
3:44Pipecat v1.16.0 now hears how your caller sounds, not just their words
@pipecat
2 weeks ago
2:56Pipecat v1.15.0 teaches your voice bot to laugh and match the caller’s mood
@pipecat
4 weeks ago
3:25Pipecat v1.14.0 lets NVIDIA Nemotron Omni hear your users directly
@pipecat
1 month ago
3:25Pipecat v1.13.0 lets users send files and images to your voice bot
@pipecat
1 month ago