View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1StreamingPredictRequest (google_api_ai_platform v0.13.0)

Request message for PredictionService.StreamingPredict. The first message must contain endpoint field and optionally input. The subsequent messages must contain input.

Attributes

  • inputs (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Tensor.t), default: nil) - The prediction input.
  • parameters (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Tensor.t, default: nil) - The parameters that govern the prediction.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1StreamingPredictRequest{
    inputs:
      [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Tensor.t()] | nil,
    parameters:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Tensor.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.