View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ComputeTokensRequest (google_api_ai_platform v0.2.0)

Request message for ComputeTokens RPC call.

Attributes

  • instances (type: list(any()), default: nil) - Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ComputeTokensRequest{
    instances: [any()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.