What is the File Node?

The File Node allows users to upload a file to the flow and use it as an input to the LLM. Note that this node is not a replacement for the Documents Node, which is a more powerful node for creating a document knowledge base for your LLM.

How to use the File Node

  1. Add a File node to your flow.
  2. Connect the File node to an LLM node.
  3. Mention the File node in the LLM node by pressing ”/” and selecting the File node.
  4. Add an Output node to your flow.
  5. Connect the Output node to the LLM node.

How to expose the File node to your users

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