API Reference
@kyro/batch
Full API reference for the BatchJudge class and related types.
BatchJudge
| Parameter | Type | Description |
|---|---|---|
provider | AIProvider | Must be an OpenAI or Anthropic provider |
configPath | string | Path to the YAML pipeline config |
options | BatchOptions? | Optional configuration |
.submit(transcripts, options?)
Submit a batch of transcripts for evaluation.
.check(jobId?)
Check the status of a batch job.
Returns null if the job is still in progress. Pass jobId explicitly or use the default from the last submitted job.