Add a pattern-based response that does not require an API call. Expressions are evaluated in order; the first matching pattern wins.
Template string to test (e.g., "${args.command}").
Regex pattern to match against the test value.
FunctionResult to return when the pattern matches.
Optional FunctionResult to return when the pattern does not match.
DataMap — Self for method chaining.