Package org.mockserver.llm.realtime
package org.mockserver.llm.realtime
-
ClassDescriptionPure event codec for the Google Gemini Live API (
BidiGenerateContentover WebSocket).Pure event codec for the OpenAI Realtime API (GA 2025 event protocol), spoken over a WebSocket atwss://api.openai.com/v1/realtime.A single scripted realtime WebSocket event: the fully-rendered JSON text frame the mock will send to the client, plus the delay (milliseconds) to wait before sending it.The response modality a scripted realtime turn is rendered as.The realtime (voice / bidirectional WebSocket) LLM protocols MockServer can mock.Deterministic streaming-timing model for realtime WebSocket event codecs — the WebSocket-transport analogue of the SSEStreamingPhysicsused by the HTTP LLM codecs.A provider-neutral description of one scripted assistant response in a realtime voice session — the realtime analogue ofCompletion.