plexus.cli.batch.operations module

async plexus.cli.batch.operations.get_batch_jobs_for_processing(client: PlexusDashboardClient, account_id: str, scorecard_id: str | None = None) List[BatchJob]

Get all CLOSED batch jobs ready for processing.

plexus.cli.batch.operations.get_file_path(output_dir)
plexus.cli.batch.operations.get_output_dir(scorecard_name, score_name)
async plexus.cli.batch.operations.get_scoring_jobs_for_batch(client: PlexusDashboardClient, batch_job_id: str) List[Dict[str, Any]]

Get all scoring jobs associated with a batch job.

plexus.cli.batch.operations.select_sample(scorecard_class, score_name, content_id, fresh)

Wrapper for select_sample functions from PredictionCommands

async plexus.cli.batch.operations.submit_batch_to_openai(batch_file_path: str, model_name: str) dict

Submit a batch job to OpenAI’s batch processing endpoint.