Skip to main content

EvaluationResultsClient

adaline.prompts.evaluations.results returns per-row evaluation results as they become available, with optional grade and score filters. Because rows appear incrementally while an evaluation runs, you can poll this client to surface partial progress. For long-running evaluations, prefer adaline.initEvaluationResults() — it wraps this client in a self-refreshing cache.

Access

The class is also exported directly:
Types from @adaline/api:

list()

Fetch a page of evaluation results. Rows are returned as they become available, so you can poll this while an evaluation is still running to surface partial progress.

Parameters

EvaluationResultsQuery fields:

Returns

Promise<ListEvaluationResultsResponse> with { data: EvaluationResult[]; pagination: Pagination }. Each EvaluationResult has the evaluator’s grade, score, metadata, and — if expand: 'row' was requested — the originating row.

Example

For a self-refreshing cache rather than manual polling, use adaline.initEvaluationResults().

See Also