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

Response message for PredictionService.CountTokens.

Attributes

  • totalBillableCharacters (type: integer(), default: nil) - The total number of billable characters counted across all instances from the request.
  • totalTokens (type: integer(), default: nil) - The total number of tokens counted across all instances from the request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CountTokensResponse{
    totalBillableCharacters: integer() | nil,
    totalTokens: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.