Class StreamDirectPredictRequest (1.48.0)

StreamDirectPredictRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for PredictionService.StreamDirectPredict.

The first message must contain endpoint field and optionally [input][]. The subsequent messages must contain [input][].

Attributes

NameDescription
endpoint str
Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
inputs MutableSequence[google.cloud.aiplatform_v1beta1.types.Tensor]
Optional. The prediction input.
parameters google.cloud.aiplatform_v1beta1.types.Tensor
Optional. The parameters that govern the prediction.

Methods

StreamDirectPredictRequest

StreamDirectPredictRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for PredictionService.StreamDirectPredict.

The first message must contain endpoint field and optionally [input][]. The subsequent messages must contain [input][].