No-Operation (Special)
Description
The No-Operation (no-op
) policy is a placeholder that performs no action. It effectively bypasses the stage where it's configured (e.g., scoring or embedding generation), passing data through or returning default/empty results as appropriate for the pipeline stage. Useful for debugging, testing, or disabling specific model components.
Policy Type: no-op
Supports: embedding_policy
, scoring_policy
Configuration Example
scoring_policy_no_op.yaml
policy_configs:
scoring_policy: # Or embedding_policy
policy_type: no-op