Skip to main content
Loads and formats input files for use with the Gemini API. This node allows users to include text (.txt) and PDF (.pdf) files as input context for the Gemini model. Files are converted to the appropriate format required by the API and can be chained together to include multiple files in a single request.

Inputs

ParameterDescriptionData TypeRequiredRange
fileInput files to include as context for the model. Only accepts text (.txt) and PDF (.pdf) files for now. Files must be smaller than the maximum input file size limit (20 MB).COMBOYesMultiple options available (only .txt and .pdf files under 20 MB)
GEMINI_INPUT_FILESAn optional additional file(s) to batch together with the file loaded from this node. Allows chaining of input files so that a single message can include multiple input files.GEMINI_INPUT_FILESNoN/A
Note: The file parameter only displays text (.txt) and PDF (.pdf) files that are smaller than 20 MB. Files are automatically filtered and sorted by name.

Outputs

Output NameDescriptionData Type
GEMINI_INPUT_FILESFormatted file data ready for use with Gemini LLM nodes, containing the loaded file content in the appropriate API format.GEMINI_INPUT_FILES
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): dc8ddfffc13984b2d0cc08a50f2a8c26f9608724f632ab49fdeff12bc2e5424a