GeminiCascade (engines/gemini-cascade.ts)

Patter · libraries/typescript/src/engines/gemini-cascade.ts · typescript · MIT
voice, Voice / Speech

* Gemini Cascade engine — marker class for Patter client dispatch. Selects the cascade voice architecture: Gemini Live for STT + reasoning (TEXT modality, returns transcript) piped into a Gemini TTS leg for high-quality voice synthesis. The two legs communicate inside {@link impo

// Source: https://github.com/PatterAI/Patter | License: MIT | Copyright 2026 Patter Contributors
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Gemini Cascade engine — marker class for Patter client dispatch.
 *
 * Selects the cascade voice architecture: Gemini Live for STT + reasoning
 * (TEXT modality, returns transcript) piped into a Gemini TTS leg for
 * high-quality voice synthesis. The two legs communicate inside
 * {@link import('../providers/gemini-cascade').GeminiCascadeAdapter}.
 *
 * Like other engine markers this is a tiny immutable config object. The
 * runtime session lives in `GeminiCascadeAdapter` (constructed server-side
 * by `buildAIAdapter`).
 *
 * @example
 * ```ts
 * import { Patter, Twilio, GeminiCascade } from "getpatter";
 *
 * const phone

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key