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

Configuration for vector indexing.

Attributes

  • bruteForceConfig (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig.t, default: nil) - Optional. Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search.
  • crowdingColumn (type: String.t, default: nil) - Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by FeatureOnlineStoreService.SearchNearestEntities to diversify search results. If NearestNeighborQuery.per_crowding_attribute_neighbor_count is set to K in SearchNearestEntitiesRequest, it's guaranteed that no more than K entities of the same crowding attribute are returned in the response.
  • distanceMeasureType (type: String.t, default: nil) - Optional. The distance measure used in nearest neighbor search.
  • embeddingColumn (type: String.t, default: nil) - Optional. Column of embedding. This column contains the source data to create index for vector search. embedding_column must be set when using vector search.
  • embeddingDimension (type: integer(), default: nil) - Optional. The number of dimensions of the input embedding.
  • filterColumns (type: list(String.t), default: nil) - Optional. Columns of features that're used to filter vector search results.
  • treeAhConfig (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig.t, default: nil) - Optional. Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FeatureViewIndexConfig{
    bruteForceConfig:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig.t()
      | nil,
    crowdingColumn: String.t() | nil,
    distanceMeasureType: String.t() | nil,
    embeddingColumn: String.t() | nil,
    embeddingDimension: integer() | nil,
    filterColumns: [String.t()] | nil,
    treeAhConfig:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.