Other Inputs
File Node
Learn how to use the File Node in Stack AI.
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
- Add a File node to your flow.
- Connect the File node to an LLM node.
- Mention the File node in the LLM node by pressing ”/” and selecting the File node.
- Add an Output node to your flow.
- Connect the Output node to the LLM node.
How to expose the File node to your users
- Go to the Export tab.
- Enable the file node in the Inputs section.
- Press Save Interface to save your changes.
- Your users should now see a upload button in the interface.