GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CountTokensResponse (google_api_ai_platform v0.27.0)
View SourceResponse message for PredictionService.CountTokens.
Attributes
-
promptTokensDetails(type:list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ModalityTokenCount.t), default:nil) - Output only. List of modalities that were processed in the request input. -
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{ promptTokensDetails: [ GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ModalityTokenCount.t() ] | nil, totalBillableCharacters: integer() | nil, totalTokens: integer() | nil }