For the complete documentation index, see llms.txt. This page is also available as Markdown.

Word Counter (Modelmetry)

This evaluator counts the number of words in the input text and evaluates it based on a configured threshold.

Configuration

Option
Description
Type
Default
Required
Constraints

Cutset

Characters to split on

[]string

[" "]

true

MinItems: 1

Operator

Comparison operator for count

string

"<"

true

Enum: <,<=,>,>=,=,!=

Value

Value to compare against

int

3

true

Min: 0

Metrics

This evaluator reports the following metric based on the text analysis:

Name
Key
Description
Min
Max

Word Count

wordcount

The number of words in the input

0

Last updated