View Source GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1VectorConfig (google_api_firestore v0.27.0)

The index configuration to support vector search operations

Attributes

  • dimension (type: integer(), default: nil) - Required. The vector dimension this configuration applies to. The resulting index will only include vectors of this dimension, and can be used for vector search with the same dimension.
  • flat (type: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1FlatIndex.t, default: nil) - Indicates the vector index is a flat index.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1VectorConfig{
  dimension: integer() | nil,
  flat: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1FlatIndex.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.