Skip to content

vllm.entrypoints.pooling.pooling.protocol

Classes:

IOProcessorResponse

Bases: OpenAIBaseModel, Generic[T]

Attributes:

  • data (T) –

    When using plugins IOProcessor plugins, the actual output is generated

  • request_id (str | None) –

    The request_id associated with this response

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

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 = None class-attribute instance-attribute

The request_id associated with this response