example.ts
Inputs
Each evaluator requires different input fields when invokingevaluate().
Text Complexity evaluators
- Grade Level Appropriateness
- Others
Graphics evaluators
v1.2.0 SeeInputValidationError to debug instances where an image fails a check before the model call.
- Graphics Accuracy
- Graphics Complexity
Feedback evaluators
Academic Standards evaluators
The Academic Standards evaluators have 2 entry points, depending on how the standard is named:evaluateByUuid()- By the standard’s CASE UUIDevaluate()- By the standard’s code.evaluateByCode()is the same call
- evaluateByUuid()
- evaluate()
evaluateItemsfor question–standard pairsevaluateByGradeLevelfor a question bank against every standard in a grade
Output
All evaluators return the following fields: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 Text Complexity evaluators.