Skip to content

SampleWithResponseStreamResponse

Source code in docs_src/capo_sagemakerjobruntime/types/sample_with_response_stream_response.py
class SampleWithResponseStreamResponse(TypedDict, closed=True):
    content_type: NotRequired["str"]
    """MIME type of the streaming inference result."""
    body: "capo_sagemakerjobruntime.types.response_stream.ResponseStream"
    """The streaming response body, delivered as a series of PayloadPart events."""

body instance-attribute

The streaming response body, delivered as a series of PayloadPart events.

content_type instance-attribute

content_type: NotRequired[str]

MIME type of the streaming inference result.