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

Attributes

  • computedInputTokenLength (type: integer(), default: nil) - The length computed by backends using the formatter & tokenizer specific to the model
  • modelId (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata{
    computedInputTokenLength: integer() | nil,
    modelId: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.