Skip to main content

PromptEvaluationsClient

adaline.prompts.evaluations kicks off evaluation runs against a prompt, inspects their status, and cancels them. Per-row results are accessed through the nested .results sub-client. Every method is async. For long-running evaluations, prefer adaline.init_evaluation_results() — it wraps .results.list in a self-refreshing cache.

Access

The class is also exported directly:

Sub-client

Types from adaline_api:

list()

List evaluations for a prompt (paginated). Filter by status, evaluator, or dataset.

Parameters

Example


create()

Start a new evaluation run. Runs asynchronously on the server.

Example


get()

Fetch a single evaluation by ID.

cancel()

Cancel an in-flight evaluation. In-progress rows keep running to completion, but no new rows will start.

Example


See Also