Skip to main content
Version: 0.0.4

agrag.embedding.sparse_base

Sparse lexical vectors and the sparse embedder protocol.

Classes:

  • SparseEmbedder – A component that turns text into sparse lexical vectors, for hybrid search.
  • SparseVector – A sparse vector: nonzero indices and their values.