vllm.entrypoints.pooling.scoring.protocol ¶
ScoringRequestMixin ¶
Bases: PoolingBasicRequestMixin, ClassifyRequestMixin
Source code in vllm/entrypoints/pooling/scoring/protocol.py
_merge_instruction_into_kwargs ¶
_merge_instruction_into_kwargs() -> ScoringRequestMixin
Fold the top-level instruction field into chat_template_kwargs.
This allows callers to use either the convenience field or the generic dict. Explicit keys inside chat_template_kwargs take precedence over the top-level instruction field.