Skip to main content
For the complete documentation index for agents and LLMs, see llms.txt.

VLLMMultivectorDocumentEmbedder

This reference page covers the VLLMMultivectorDocumentEmbedder component from the vllm integration family in haystack-core-integrations.

Key Features​

  • Embeds documents with a model served by vLLM.
  • Produces multiple vectors per document.

Add the Inputs, Outputs, and Parameters tables for this component, and a Parameters section listing init and run parameters.

Configuration​

  1. Drag the VLLMMultivectorDocumentEmbedder component onto the canvas from the Component Library.
  2. Open the configuration panel and set the model name and the connection details for your vLLM server. Before you start, make sure the vLLM server is running and reachable from your deployment.
  3. For workspace integrations, connect the provider under Settings when the component requires it.

Connections​

Wire VLLMMultivectorDocumentEmbedder 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 multivector_document_embedder.py in the Haystack Core Integrations repository.

Usage Examples​

Basic Configuration​

VLLMMultivectorDocumentEmbedder:
type: haystack_integrations.components.embedders.vllm.multivector_document_embedder.VLLMMultivectorDocumentEmbedder
init_parameters: {}