ExAgent.Embeddings.Embedding (ExAgent v3.0.0)

View Source

One vector per input, in input order, and the request's qualified usage. The numeric format uses lists of numbers. A provider returning Base64 supplies its encoded strings.

Stability — Candidate.

Summary

Types

t()

@type t() :: %ExAgent.Embeddings.Embedding{
  usage: ExAgent.Message.Usage.t(),
  vectors: [vector()]
}

vector()

@type vector() :: [number()] | String.t()