View Source Vettore.Embedding (Vettore v0.1.12)

Represents a single embedding entry for insertion into a collection.

fields

Fields

  • :id - A unique string identifier for this embedding (e.g. "emb123").
  • :vector - A list of floating‑point numbers representing the embedding (e.g. [1.0, 2.0, 3.0]).
  • :metadata - (Optional) A map with any additional information you want to store (e.g. %{"info" => "my note"}).

Link to this section Summary

Link to this section Types

@type t() :: %Vettore.Embedding{
  id: String.t(),
  metadata: map() | nil,
  vector: [float()]
}