Skip to main content

Gemini Input Files

api node/text/Gemini
GeminiInputFiles

Loads and prepares input files to include as inputs for Gemini LLM nodes. The files will be read by the Gemini model when generating a response. The contents of the text file count toward the token limit. 🛈 TIP: Can be chained together with other Gemini Input File nodes.

Inputs

NameTypeStatusConstraintsDefault
file?COMBOrequired--
GEMINI_INPUT_FILES?GEMINI_INPUT_FILESoptional--

Outputs

IndexNameTypeIs ListConnection Reference
0GEMINI_INPUT_FILESGEMINI_INPUT_FILESNo["{node_id}", 0]
How to connect to these outputs

To connect another node's input to an output from this node, use the connection reference format:

["node_id", output_index]

Where node_id is the ID of this GeminiInputFiles node in your workflow, and output_index is the index from the table above.

Example

If this node has ID "5" in your workflow:

  • GEMINI_INPUT_FILES (GEMINI_INPUT_FILES): ["5", 0]
Was this page helpful?