Uses of Class
org.mockserver.model.StreamingPhysics
-
Packages that use StreamingPhysics Package Description org.mockserver.client org.mockserver.llm org.mockserver.llm.codec org.mockserver.model -
-
Uses of StreamingPhysics in org.mockserver.client
Methods in org.mockserver.client that return StreamingPhysics Modifier and Type Method Description static StreamingPhysicsLlm. jitter(double jitter)Creates a StreamingPhysics with the given jitter.static StreamingPhysicsLlm. streamingPhysics()Creates a new StreamingPhysics builder.static StreamingPhysicsLlm. tokensPerSecond(int tokensPerSecond)Creates a StreamingPhysics with the given tokens per second. -
Uses of StreamingPhysics in org.mockserver.llm
Methods in org.mockserver.llm with parameters of type StreamingPhysics Modifier and Type Method Description static List<SseEvent>StreamingPhysicsExpander. applyPhysics(List<SseEvent> rawEvents, StreamingPhysics physics)Apply streaming physics delays to SSE events.default List<SseEvent>ProviderCodec. encodeStreaming(Completion completion, String model, StreamingPhysics physics) -
Uses of StreamingPhysics in org.mockserver.llm.codec
Methods in org.mockserver.llm.codec with parameters of type StreamingPhysics Modifier and Type Method Description List<SseEvent>AnthropicCodec. encodeStreaming(Completion completion, String model, StreamingPhysics physics)List<SseEvent>AzureOpenAiCodec. encodeStreaming(Completion completion, String model, StreamingPhysics physics)List<SseEvent>BedrockCodec. encodeStreaming(Completion completion, String model, StreamingPhysics physics)List<SseEvent>GeminiCodec. encodeStreaming(Completion completion, String model, StreamingPhysics physics)List<SseEvent>OllamaCodec. encodeStreaming(Completion completion, String model, StreamingPhysics physics)List<SseEvent>OpenAiChatCompletionsCodec. encodeStreaming(Completion completion, String model, StreamingPhysics physics)List<SseEvent>OpenAiResponsesCodec. encodeStreaming(Completion completion, String model, StreamingPhysics physics) -
Uses of StreamingPhysics in org.mockserver.model
Methods in org.mockserver.model that return StreamingPhysics Modifier and Type Method Description StreamingPhysicsCompletion. getStreamingPhysics()static StreamingPhysicsStreamingPhysics. streamingPhysics()StreamingPhysicsStreamingPhysics. withJitter(Double jitter)StreamingPhysicsStreamingPhysics. withSeed(Long seed)StreamingPhysicsStreamingPhysics. withTimeToFirstToken(Delay timeToFirstToken)StreamingPhysicsStreamingPhysics. withTokensPerSecond(Integer tokensPerSecond)Methods in org.mockserver.model with parameters of type StreamingPhysics Modifier and Type Method Description CompletionCompletion. withStreamingPhysics(StreamingPhysics streamingPhysics)
-