Module embeddings

Source
Expand description

Define APIs for computing embeddings.

Functionsยง

chunk_text
Generate a list of chunks from a given text. Each chunk will be up to the chunk_capacity.
dimension
Get the dimension of the embedding model.
embeddings
Compute embeddings for the given input.