Skip to content

vllm.entrypoints.pooling.pooling.protocol

IOProcessorResponse

Bases: OpenAIBaseModel, Generic[T]

Source code in vllm/entrypoints/pooling/pooling/protocol.py
class IOProcessorResponse(OpenAIBaseModel, Generic[T]):
    request_id: str | None = None
    """
    The request_id associated with this response
    """
    created_at: int = Field(default_factory=lambda: int(time.time()))

    data: T
    """
    When using plugins IOProcessor plugins, the actual output is generated
    by the plugin itself. Hence, we use a generic type for the response data
    """

data instance-attribute

data: T

When using plugins IOProcessor plugins, the actual output is generated by the plugin itself. Hence, we use a generic type for the response data

request_id class-attribute instance-attribute

request_id: str | None = None

The request_id associated with this response