Embedding Functions

no

Original Documentation

Documentation Index#

Fetch the complete documentation index at: https://docs.trychroma.com/llms.txt Use this file to discover all available pages before exploring further.

Embedding Functions#

EmbeddingFunction#

Interface for embedding functions. Embedding functions transform text documents into numerical representations that can be used for similarity search and other vector operations.

Properties

Optional name identifier for the embedding function

Methods

buildFromConfig(), defaultSpace(), generate(), generateForQueries(), getConfig(), supportedSpaces(), validateConfig(), validateConfigUpdate()

SparseEmbeddingFunction#

Interface for sparse embedding functions. Sparse embedding functions transform text documents into sparse numerical representations where only non-zero values are stored, making them efficient for high-dimensional spaces.

Properties

Optional name identifier for the embedding function

Methods

buildFromConfig(), generate(), generateForQueries(), getConfig(), validateConfig(), validateConfigUpdate()

Link last verified June 7, 2026. View original ↗
Source: Chroma Docs
Link last verified: 2026-03-04