Skip to main content

ResponseChunk

One streamed chunk of a session: this step's outputs, and whether it is the stream's last chunk. A pipeline's stream ends with one empty final chunk; the session's final outputs ride ResponseStream.wait().

final (property)​

True on the stream's last chunk of a cleanly finishing session.

outputs (property)​

This chunk's outputs, as a dict of tensors.

__init__​

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.