Vettore.Collection (Vettore v0.3.2)

Copy Markdown View Source

Collection module for managing vector embeddings.

This module provides functions for creating, managing, and querying vector collections.

Summary

Types

embedding_input()

@type embedding_input() :: Vettore.Embedding.t() | map()

hybrid_generator()

@type hybrid_generator() ::
  :funnel
  | :quantized
  | :search
  | :hnsw
  | {:funnel | :quantized | :search | :hnsw, keyword()}

hybrid_rerank()

@type hybrid_rerank() ::
  :exact
  | {:multi_vector, [[number()]]}
  | {:multi_vector, [[number()]], keyword()}

t()

@type t() :: %Vettore.Collection{
  compressed: boolean(),
  dimensions: pos_integer(),
  index: atom(),
  index_mod: module(),
  index_options: keyword(),
  index_state: term(),
  metric: atom(),
  name: atom() | String.t(),
  normalize: atom(),
  score: atom(),
  store_mod: module(),
  store_state: term()
}