Once you’ve configured your evaluator, you can start evaluating text inputs for a grade level:Documentation Index
Fetch the complete documentation index at: https://docs.learningcommons.org/llms.txt
Use this file to discover all available pages before exploring further.
example.ts
Literacy evaluators family
The Text Complexity Evaluator runs multiple literacy evaluators on the provided text input: The output:- 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.| Field | Type | Description |
|---|---|---|
score | TextComplexityLevel ↗ | Complexity classification returned by the evaluator. Purpose evaluator also accepts “More context needed” for cases where the text alone is insufficient to determine complexity. |
reasoning | string | Explanation for the assigned complexity score |
metadata | EvaluationMetadata ↗ | Includes model used to generate the evaluation, total evaluation processing time in milliseconds, input tokens, and output tokens. |
_internal | Unique to each evaluator | Detailed internal analysis data specific to each evaluator. |
_internal field includes detailed internal analysis data specific to that evaluator: