Available Response Criteria
Configure your text validation using these operators:- equals: Response must match your text exactly
- starts-with: Response must begin with your specified text
- ends-with: Response must conclude with your specified text
- contains-any: Response must include at least one item from your array of strings
- contains-all: Response must include every item from your array of strings
- not-contains-any: Response must not include any item from your array of strings
- regex: Response must match your regular expression pattern
Setting Up Text Matcher
1
Select the Text Matcher evaluation from the Add evaluator action menu.

2
Link the dataset, select the desired response using the dropdown, and add the texts.

3
Run the evaluation.

Examples
Here are some examples of how you can effectively use Text Matching as an evaluator.- Finding SEO oriented keywords
 
- Ensuring the beginning of the response starts with a phrase
 
- Ensuring the LLM response doesn’t contain personal information
