Skip to main content
The EmbeddingsRefinery allows you to add more more information to your chunks by adding embeddings to them. This is useful for downstream tasks like semantic search, clustering, or vector database insertions.

API Reference

To use the EmbeddingsRefinery via the API, check out the API reference documentation.

Initialization

To use the EmbeddingsRefinery, you need to initialize it with an embedding model.

Usage

Use the EmbeddingsRefinery object as a callable or the refine method to add embeddings to your chunks.

Parameters

Union[str, BaseEmbeddings]
Model identifier or embedding model instance