With the Input node, you will be able to:

  • Send text messages to any node that accepts text strings as input
  • Let your users send messages to those same nodes

The most popular nodes accepting inputs are:

  1. The LLM nodes (adding the input as part of their prompt).
  2. The Knowledge Base nodes (they use the input as a prompt to retrieve information from their contents)

Here are a few quick facts:

  • The inputs can be text fields of any length and are passed to their connected node in the flow.

  • While inputs can have any length, you should be mindful that LLM prompts have a limit on how long of an input they can process. To handle long inputs, look at the Text Data Loader.

  • To expose an Input node to your users, you will need to set it up in the Export tab.

How to expose your Inputs externally?

  1. Go to the Export tab.
  2. Enable the input node in the Inputs section.
  3. Press Save Interface to save your changes.
  4. Your users should now see a text input in the interface.