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

A datapoint of Index.

Attributes

  • crowdingTag (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1IndexDatapointCrowdingTag.t, default: nil) - Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
  • datapointId (type: String.t, default: nil) - Required. Unique identifier of the datapoint.
  • featureVector (type: list(number()), default: nil) - Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
  • numericRestricts (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1IndexDatapointNumericRestriction.t), default: nil) - Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
  • restricts (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1IndexDatapointRestriction.t), default: nil) - Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
  • sparseEmbedding (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1IndexDatapointSparseEmbedding.t, default: nil) - Optional. Feature embedding vector for sparse index.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.