Inputs
File Node
Upload files to feed into LLMs
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. 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.
Expose as Input: This toggle displays the file node as an available input on the user-facing interface.
File Input Node Settings
If you click the gear icon in the node, you will see the available settings.
Chunking Settings
- Chunking Algorithm: Defines how the data is split (e.g., Sentence-based).
- Chunk Overlap: The number of overlapping tokens between chunks.
- Chunk Length: Max length of each chunk sent to the LLM.
Additional Features
- Advanced Data Extraction: Enable more precise field-level parsing (toggle option).
- Text in Images (OCR): Extract and include text from images (toggle option)
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 an upload button in the interface.