vllm.entrypoints.pooling.scoring.typing ¶
ScoreMultiModalParam ¶
Bases: TypedDict
A specialized parameter type for scoring multimodal content
The reasons why don't reuse CustomChatCompletionMessageParam directly: 1. Score tasks don't need the 'role' field (user/assistant/system) that's required in chat completions 2. Including chat-specific fields would confuse users about their purpose in scoring 3. This is a more focused interface that only exposes what's needed for scoring