Uses of Class
org.mockserver.model.NormalizationOptions
Packages that use NormalizationOptions
Package
Description
-
Uses of NormalizationOptions in org.mockserver.client
Methods in org.mockserver.client with parameters of type NormalizationOptionsModifier and TypeMethodDescriptionTurnBuilder.withNormalization(NormalizationOptions normalization) Apply opt-in prompt normalisation before thewhenLatestMessage…text predicates are evaluated, so cosmetic differences (whitespace, JSON key ordering, volatile ids/timestamps) do not block a match. -
Uses of NormalizationOptions in org.mockserver.llm
Methods in org.mockserver.llm with parameters of type NormalizationOptionsModifier and TypeMethodDescriptionstatic StringPromptNormalizer.normalize(String text, NormalizationOptions options) Normalisetextaccording tooptions. -
Uses of NormalizationOptions in org.mockserver.matchers
Methods in org.mockserver.matchers that return NormalizationOptionsMethods in org.mockserver.matchers with parameters of type NormalizationOptionsModifier and TypeMethodDescriptionLlmConversationMatcher.withNormalization(NormalizationOptions normalization) Set optional prompt normalisation applied to the latest-message text (and, forlatestMessageContains, the expected substring) before the text predicates are evaluated. -
Uses of NormalizationOptions in org.mockserver.model
Methods in org.mockserver.model that return NormalizationOptionsModifier and TypeMethodDescriptionConversationPredicates.getNormalization()static NormalizationOptionsNormalizationOptions.normalizationOptions()Returns an options object with all flags unset — i.e. the defaults (whitespace collapsing and JSON key sorting on, lowercasing and volatile-field stripping off) apply when it is consumed.NormalizationOptions.withCollapseWhitespace(boolean collapseWhitespace) NormalizationOptions.withDropBuiltInVolatileFields(boolean dropBuiltInVolatileFields) When true, strip a built-in set of volatile values from the text before matching: ISO-8601 timestamps, UUIDs, andprefix_…style ids (e.g.NormalizationOptions.withDropVolatileFields(List<String> dropVolatileFields) Names of JSON fields to drop from the prompt before matching (applied when the prompt text is valid JSON).NormalizationOptions.withLowercase(boolean lowercase) NormalizationOptions.withSortJsonKeys(boolean sortJsonKeys) Methods in org.mockserver.model with parameters of type NormalizationOptionsModifier and TypeMethodDescriptionConversationPredicates.withNormalization(NormalizationOptions normalization) Optional normalisation applied to the prompt text (and, for substring matching, the expected value) beforelatestMessageContains/latestMessageMatchesare evaluated.