Uses of Class
org.mockserver.model.StreamingPhysics
Packages that use StreamingPhysics
Package
Description
-
Uses of StreamingPhysics in org.mockserver.client
Methods in org.mockserver.client that return StreamingPhysicsModifier and TypeMethodDescriptionstatic 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 StreamingPhysicsModifier and TypeMethodDescriptionStreamingPhysicsExpander.applyPhysics(List<SseEvent> rawEvents, StreamingPhysics physics) Apply streaming physics delays to SSE events.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 StreamingPhysicsModifier and TypeMethodDescriptionAnthropicCodec.encodeStreaming(Completion completion, String model, StreamingPhysics physics) AzureOpenAiCodec.encodeStreaming(Completion completion, String model, StreamingPhysics physics) BedrockCodec.encodeStreaming(Completion completion, String model, StreamingPhysics physics) Encode a streaming completion as event-stream chunks.GeminiCodec.encodeStreaming(Completion completion, String model, StreamingPhysics physics) OllamaCodec.encodeStreaming(Completion completion, String model, StreamingPhysics physics) OpenAiChatCompletionsCodec.encodeStreaming(Completion completion, String model, StreamingPhysics physics) OpenAiResponsesCodec.encodeStreaming(Completion completion, String model, StreamingPhysics physics) -
Uses of StreamingPhysics in org.mockserver.model
Methods in org.mockserver.model that return StreamingPhysicsModifier and TypeMethodDescriptionCompletion.getStreamingPhysics()static StreamingPhysicsStreamingPhysics.streamingPhysics()StreamingPhysics.withJitter(Double jitter) StreamingPhysics.withTimeToFirstToken(Delay timeToFirstToken) StreamingPhysics.withTokensPerSecond(Integer tokensPerSecond) Methods in org.mockserver.model with parameters of type StreamingPhysicsModifier and TypeMethodDescriptionCompletion.withStreamingPhysics(StreamingPhysics streamingPhysics)