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

StringListJoiner

Join multiple lists of strings into a single string output.

Work in Progress

We're working on adding pipeline examples and most common component connections.

Key Features

  • Accepts multiple variadic list-of-string inputs and joins them into a single output string.

Configuration

  1. Drag the StringListJoiner component onto the canvas from the Component Library.
  2. Click on the component to open the configuration panel.
  3. On the General tab, no configuration is required.

Connections

StringListJoiner accepts multiple List[str] inputs through its inputs variadic input. Connect any component that outputs a list of strings.

It outputs the joined string as output. Connect it to any downstream component that accepts a string input.

Source Code

To check this component's source code, open joiner.py in the Haystack repository.

Usage Examples

Basic Configuration

  StringListJoiner:
type: testing.sample_components.joiner.StringListJoiner
init_parameters: {}
components:
StringListJoiner:
type: testing.sample_components.joiner.StringListJoiner
init_parameters:

Parameters

Inputs

ParameterTypeDefaultDescription
inputsVariadic[List[str]]The list of string inputs to join.

Outputs

ParameterTypeDefaultDescription
outputstrThe joined string output.

Init Parameters

These are the parameters you can configure in Pipeline Builder:

ParameterTypeDefaultDescription

Run Method Parameters

These are the parameters you can configure for the component's run() method. This means you can pass these parameters at query time through the API, in Playground, or when running a job. For details, see Modify Pipeline Parameters at Query Time.

ParameterTypeDefaultDescription
inputsVariadic[List[str]]The list of string inputs to join.