Skip to content

How do I configure the Question and Answer chain node?#

A Chain node extends the functionality of a connected Large Language Model or Chat Model by specifying how inputs are handled from end-users. The internal logic is completely customizable, as opposed to [Agent nodes which automatically determine the correct node for a given user output.

The Chat trigger node is automatically inserted with this node.

Before you begin#

Step 1 - add the node#

  • Click + to open the nodes panel
  • Search for Question and Answer chain in the node search field.
  • Click the node to add it to the canvas.

Step 2 - define how the node receives input data#

Note

Click Test to load values from input nodes you can drag and drop into fields to map to your output values

Configure the node to receive input data:

Prompt Description Additional information
Take from previous node automatically Node assumes input field from previous node is defined as chatInput
Define below Define an expression to gather input or add static text Learn how to add expressions to a node

Next step#

The Question and Answer chain node needs the following types of node to function:

Further information#