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 theEmbeddingsRefinery via the API, check out the API reference documentation.
Initialization
To use theEmbeddingsRefinery, you need to initialize it with an embedding model.
Usage
Use theEmbeddingsRefinery object as a callable or the
refine method to add embeddings to your chunks.
Parameters
Union[str, BaseEmbeddings]
Model identifier or embedding model instance
