onCondition
Configures the LLM to respond with this string when the user request satisfies the specified condition.
Return
The MockLLMBuilder instance for method chaining
Parameters
condition
A function that evaluates the user request and returns true if it matches