View Source Vettore.Embedding (Vettore v0.2.3)

Represents a single embedding entry for insertion into a collection.

fields

Fields

  • :value - A string or content identifier for this embedding can be Id, or Text (e.g. "this is text data").
  • :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{
  metadata: map() | nil,
  value: String.t(),
  vector: [float()]
}