SentenceTransformersMultivectorDocumentEmbedder
SentenceTransformersMultivectorDocumentEmbedder is a Document embedder from the sentence-transformers integration in haystack-core-integrations. Use it in an indexing pipeline to embed your documents with a Sentence Transformers model. State here what it produces for each document and which retrievers can use the output.
Key Features
Add Inputs, Outputs, Init Parameters, and Run Method Parameters tables. Each should list the parameter name, type, default, and description, taken from the component source.
Configuration
- Drag the
SentenceTransformersMultivectorDocumentEmbeddercomponent onto the canvas from the Component Library. - Open the configuration panel and set init parameters for your provider credentials and model settings.
- For workspace integrations, connect the provider under Settings when the component requires it.
Connections
Wire SentenceTransformersMultivectorDocumentEmbedder to upstream and downstream components according to its input and output sockets in Pipeline Builder.
Source Code
To check this component's source code, open sentence_transformers_multivector_document_embedder.py in the Haystack Core Integrations repository.
Usage Examples
Basic Configuration
SentenceTransformersMultivectorDocumentEmbedder:
type: haystack_integrations.components.embedders.sentence_transformers.sentence_transformers_multivector_document_embedder.SentenceTransformersMultivectorDocumentEmbedder
init_parameters: {}
Related Information
Was this page helpful?