Skip to content

Commit 567f25f

Browse files
committed
docs(evaluators): document list starts_with mode
1 parent 4ddef38 commit 567f25f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎evaluators/README.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ Pattern matching for text (PII, keywords, SQL injection)
1919
```
2020

2121
### List
22-
Match against value lists (blocked users, restricted cities)
22+
Match against value lists (blocked users, restricted cities, allowed prefixes).
23+
Supports `match_mode: "exact"` for full-string membership, `match_mode: "contains"`
24+
for keyword-style matching, and `match_mode: "starts_with"` for prefix matching.
2325
```python
2426
{"name": "list", "config": {"values": ["admin", "root"], "case_sensitive": False}}
27+
{"name": "list", "config": {"values": ["/home/lev/agent-control"], "match_mode": "starts_with"}}
2528
```
2629

2730
### SQL

0 commit comments

Comments
 (0)