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

TypeSafeRanker

This reference page covers the TypeSafeRanker component from the typesafe 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 TypeSafeRanker 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 TypeSafeRanker 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 ranker.py in the Haystack Core Integrations repository.

Usage Examples​

Basic Configuration​

TypeSafeRanker:
type: haystack_integrations.components.rankers.typesafe.ranker.TypeSafeRanker
init_parameters: {}