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

ElasticsearchInferenceDenseRetriever

This reference page covers the ElasticsearchInferenceDenseRetriever component from the elasticsearch integration family in haystack-core-integrations.

Key Features​

See the source code and Haystack component schema in Pipeline Builder for init and run parameters.

Configuration​

  1. Drag the ElasticsearchInferenceDenseRetriever component onto the canvas from the Component Library.
  2. Open the configuration panel and set init parameters for your provider credentials and model settings.
  3. For workspace integrations, connect the provider under Settings when the component requires it.

Connections​

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

Usage Examples​

Basic Configuration​

ElasticsearchInferenceDenseRetriever:
type: haystack_integrations.components.retrievers.elasticsearch.inference_dense_retriever.ElasticsearchInferenceDenseRetriever
init_parameters: {}