onUserRequestContains

Configures the LLM to respond with this string when the user request contains the specified pattern.

Return

The MockLLMBuilder instance for method chaining

Parameters

pattern

The substring to look for in the user request