View Source GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchGenerativeTopicPredictionFeatures (google_api_content_warehouse v0.4.0)

The inference result features coming from the prediction service that generates the topics.

Attributes

  • groundTruthTopic (type: String.t, default: nil) - This field is present if we already have a ground truth topic from the training data.
  • modelName (type: String.t, default: nil) - The name of the model where the predictions come from.
  • predictions (type: list(String.t), default: nil) - Inference results from the prediction service. Since we generally use beam search with beam_size > 1, this field is repeated to capture all the generated topic beams.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchGenerativeTopicPredictionFeatures{
    groundTruthTopic: String.t() | nil,
    modelName: String.t() | nil,
    predictions: [String.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.