onRequestContains

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

Return

The updated MockLLMAnswerBuilder instance for method chaining.

Parameters

pattern

The substring to look for in the user request