Skip to main content

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
name
string | undefined
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
name
string | undefined
Optional name identifier for the embedding function
Methods buildFromConfig(), generate(), generateForQueries(), getConfig(), validateConfig(), validateConfigUpdate()