example.ts
Literacy evaluator family
The Text Complexity Evaluator runs multiple literacy evaluators on the provided text input:- Grade Level Appropriateness
- Subject Matter Knowledge v0.2.0
- Vocabulary
- Sentence Structure
- Conventionality v0.3.0
- Purpose v0.5.0
- Throws an error if all literacy evaluators fail
- Otherwise outputs an error or result for each literacy evaluator
For other evaluators
All literacy evaluators besides the parent Text Complexity Evaluator have the following output fields.
The
_internal field includes detailed internal analysis data specific to that evaluator:
Related topics
Quickstart
Install the SDK and run your first evaluator.
Configuration
Configure evaluators, including API keys and options.
Error handling
Handle configuration, validation, and API errors.
Batch evaluator
Evaluate a batch of text from a CSV file using literacy evaluators.