rich-application-94483
05/07/2026, 10:29 AMtall-airline-16756
05/07/2026, 10:29 AMtall-airline-16756
05/07/2026, 10:29 AMsession.say() with precomputed audio, but there is no built-in automatic LLM input/output caching for Gemini.
If you want, tell me which type of caching you need (TTS audio, LLM text responses, or both) and your tech stack (server language or storage preference) and I’ll suggest a concrete implementation approach.
Sources: Introducing LiveKit Inference: A unified model interface for voice AI | Liv... | Audio customization | LiveKit Documentation, with interactive elementsrich-application-94483
05/07/2026, 10:31 AMtall-airline-16756
05/07/2026, 10:32 AMgemini-pro, gemini-1.5, or other)?
• Which LiveKit interface are you calling (Inference REST API, Node SDK, or Python SDK)? Please share a short request snippet or JSON payload if possible.
• Do you want to cache only the system prompt or the full conversation context?
• Any preferences for cache scope and storage (per-user vs global, in-memory vs Redis, TTL)?
If you prefer, tell me two lines: model + SDK and whether system-only or full-context caching. I’ll confirm whether LiveKit supports prompt_cache_key (or equivalent) for your setup and provide a concrete config/code example or a recommended workaround.
Sources: Kimi LLM | LiveKit Documentation | Understand and Improve Agent Latency | LiveKit, with interactive elementsrich-application-94483
05/07/2026, 10:34 AMgemini-2.5-flash
we're using the python SDK
only the system prompt for now
would need per session cache scopetall-airline-16756
05/07/2026, 10:34 AM