vllm.entrypoints.pooling.scoring.protocol
¶
Classes:
ScoringRequestMixin
¶
Bases: PoolingBasicRequestMixin, ClassifyRequestMixin
Source code in vllm/entrypoints/pooling/scoring/protocol.py
_merge_instruction_into_kwargs()
¶
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.