Uses of Class
org.mockserver.model.HttpLlmResponse
Packages that use HttpLlmResponse
Package
Description
-
Uses of HttpLlmResponse in org.mockserver.client
Methods in org.mockserver.client with parameters of type HttpLlmResponseModifier and TypeMethodDescriptionForwardChainExpectation.respondWithLlm(HttpLlmResponse httpLlmResponse) -
Uses of HttpLlmResponse in org.mockserver.mock
Methods in org.mockserver.mock that return HttpLlmResponseMethods in org.mockserver.mock with parameters of type HttpLlmResponseModifier and TypeMethodDescriptionExpectation.thenRespondWithLlm(HttpLlmResponse httpLlmResponse) -
Uses of HttpLlmResponse in org.mockserver.mock.action.http
Methods in org.mockserver.mock.action.http with parameters of type HttpLlmResponseModifier and TypeMethodDescriptionHttpLlmResponseActionHandler.chaosErrorResponseOrNull(HttpLlmResponse httpLlmResponse) Returns an errorHttpResponse(status + optionalRetry-After) when the chaos profile triggers a probabilistic error, ornullotherwise.HttpLlmResponseActionHandler.handle(HttpLlmResponse httpLlmResponse, HttpRequest request) HttpLlmResponseActionHandler.handleStreaming(HttpLlmResponse httpLlmResponse, HttpRequest request) Handle streaming LLM response by producing a list of SSE events. -
Uses of HttpLlmResponse in org.mockserver.model
Methods in org.mockserver.model that return HttpLlmResponseModifier and TypeMethodDescriptionstatic HttpLlmResponseHttpLlmResponse.llmResponse()HttpLlmResponse.withChaos(LlmChaosProfile chaos) Optional fault/chaos profile applied when returning this response — probabilistic errors, mid-stream truncation, malformed SSE.HttpLlmResponse.withCompletion(Completion completion) HttpLlmResponse.withConversationMatcher(LlmConversationMatcher conversationMatcher) HttpLlmResponse.withConversationPredicates(ConversationPredicates conversationPredicates) HttpLlmResponse.withEmbedding(EmbeddingResponse embedding) HttpLlmResponse.withProvider(Provider provider) -
Uses of HttpLlmResponse in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return HttpLlmResponseConstructors in org.mockserver.serialization.model with parameters of type HttpLlmResponse