Input Node

An Input Node allows you and your end-users to send text queries to any node that accepts text strings as input.

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:

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

  • While inputs can be of 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, consider using the Text Data Loader.

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

Exposing Inputs Externally

If you'd like an input to be automatically populated when the user open's your agent's interface, you can expose inputs externally. This is useful in cases where you automatically want to capture the user's id or other metadata about the user, like their timezone. To do this, first publish your project and head to the Export View. See here for detailed instructions.

Last updated

Was this helpful?