Uses of Enum Class
org.mockserver.model.Provider
Packages that use Provider
Package
Description
-
Uses of Provider in org.mockserver.client
Methods in org.mockserver.client with parameters of type ProviderModifier and TypeMethodDescriptionLlmConversationBuilder.withProvider(Provider provider) LlmMockBuilder.withProvider(Provider provider) -
Uses of Provider in org.mockserver.llm
Methods in org.mockserver.llm that return ProviderMethods in org.mockserver.llm with parameters of type ProviderModifier and TypeMethodDescription -
Uses of Provider in org.mockserver.llm.analysis
Methods in org.mockserver.llm.analysis with parameters of type ProviderModifier and TypeMethodDescriptionAgentRunAnalyzer.buildCallGraph(List<HttpRequest> requests, Provider provider) Build a correlated call graph for an agent run: a node per message, a node per assistant tool call,NEXTedges along the message sequence,INVOKESedges from an assistant turn to the tool calls it made, andRESULTedges from a tool call to the tool message that returned its result (correlated by tool-call id, mirroring the matcher's correlation).AgentRunAnalyzer.inspectToolCalls(List<HttpRequest> requests, Provider provider, String toolName, String argumentsRegex) Count the assistant tool calls matchingtoolName(and, optionally, whose arguments matchargumentsRegex) across the canonical conversation decoded from the given requests.AgentRunAnalyzer.summarise(List<HttpRequest> requests, Provider provider) Summarise the canonical conversation's structure: message and assistant turn counts, the ordered sequence of tool-call names, the tool names a result was returned for, and the latest message's role. -
Uses of Provider in org.mockserver.llm.client
Methods in org.mockserver.llm.client that return ProviderModifier and TypeMethodDescriptionAnthropicLlmClient.provider()AzureOpenAiLlmClient.provider()BedrockLlmClient.provider()GeminiLlmClient.provider()LlmBackend.provider()Returns the value of theproviderrecord component.LlmClient.provider()The provider this client handles — the registry key.OllamaLlmClient.provider()OpenAiLlmClient.provider()OpenAiResponsesLlmClient.provider()Methods in org.mockserver.llm.client with parameters of type ProviderModifier and TypeMethodDescriptionstatic LlmBackendConvenience for the common case: a provider type and an API key, all other fields defaulted.Constructors in org.mockserver.llm.client with parameters of type Provider -
Uses of Provider in org.mockserver.llm.codec
Methods in org.mockserver.llm.codec that return Provider -
Uses of Provider in org.mockserver.llm.cost
Methods in org.mockserver.llm.cost with parameters of type ProviderModifier and TypeMethodDescriptionstatic DoubleLlmPricing.estimateCostUsd(Provider provider, String model, long inputTokens, long outputTokens) Estimate the cost in USD for a provider, model, and token counts.static LlmPricing.PricingEntryLlmPricing.getPricing(Provider provider, String model) Look up pricing for a provider and model, ornullif unrecognised. -
Uses of Provider in org.mockserver.llm.drift
Methods in org.mockserver.llm.drift with parameters of type ProviderModifier and TypeMethodDescriptionDriftDetector.detect(List<DriftDetector.RecordedExchange> exchanges, Provider provider, LlmBackend backend) Replay each recorded exchange againstbackendand diff the live response shape against the recorded one. -
Uses of Provider in org.mockserver.matchers
Methods in org.mockserver.matchers that return ProviderMethods in org.mockserver.matchers with parameters of type Provider -
Uses of Provider in org.mockserver.mock.action.http
Methods in org.mockserver.mock.action.http with parameters of type ProviderModifier and TypeMethodDescriptionHttpLlmResponseActionHandler.streamingFormatFor(Provider provider) Returns the streaming wire format for the given provider. -
Uses of Provider in org.mockserver.model
Methods in org.mockserver.model that return ProviderModifier and TypeMethodDescriptionHttpLlmResponse.getProvider()static ProviderReturns the enum constant of this class with the specified name.static Provider[]Provider.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.mockserver.model with parameters of type Provider -
Uses of Provider in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return ProviderMethods in org.mockserver.serialization.model with parameters of type Provider -
Uses of Provider in org.mockserver.telemetry
Methods in org.mockserver.telemetry with parameters of type ProviderModifier and TypeMethodDescriptionstatic voidGenAiSpans.recordCompletion(Provider provider, String model, Completion completion) Emit one GenAI span for a served completion, following the OpenTelemetry GenAI semantic conventions (gen_ai.*).