View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata (google_api_ai_platform v0.5.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) -
  • pickedAsFallback (type: boolean(), default: nil) - If true, the model was selected as a fallback, since no model met requirements.
  • selected (type: boolean(), default: nil) - If true, the model was selected since it met the requriements.

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,
    pickedAsFallback: boolean() | nil,
    selected: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.