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

Feature embedding vector for sparse index. An array of numbers whose values are located in the specified dimensions.

Attributes

  • dimensions (type: list(String.t), default: nil) - Required. The list of indexes for the embedding values of the sparse vector.
  • values (type: list(number()), default: nil) - Required. The list of embedding values of the sparse vector.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1IndexDatapointSparseEmbedding{
    dimensions: [String.t()] | nil,
    values: [number()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.