Skip to main content

Pipeline Architecture

Custom pipelines let you orchestrate complex evaluation workflows that go beyond simple API calls. Common patterns include:

Batch Processing

Process large datasets with parallel execution and checkpointing.

CI/CD Integration

Run evaluations as part of your model deployment pipeline.

Custom Evaluators

Implement domain-specific evaluation logic with custom code.

Orchestration

Use Airflow, Prefect, or Dagster to manage complex workflows.

Batch Processing Pipeline

Process large datasets efficiently with parallel execution:
batch_pipeline.py

CI/CD Integration

Run evaluations as part of your model deployment pipeline to catch regressions before production.

GitHub Actions

.github/workflows/model-eval.yml

Evaluation Script

scripts/run_evaluation.py

Quality Gate Script

scripts/check_results.py

Custom Evaluators

Implement domain-specific evaluation logic that runs alongside built-in evaluators:
custom_evaluator.py

Orchestration with Airflow

Use Apache Airflow to manage complex evaluation workflows:
dags/rubric_evaluation_dag.py

Best Practices