Skip to main content

OpenAI ChatGPT Input Files

api node/text/OpenAI
OpenAIInputFiles

Loads and prepares input files (text, pdf, etc.) to include as inputs for the OpenAI Chat Node. The files will be read by the OpenAI model when generating a response. 🛈 TIP: Can be chained together with other OpenAI Input File nodes.

Inputs

NameTypeStatusConstraintsDefault
file?COMBOrequired--
OPENAI_INPUT_FILES?OPENAI_INPUT_FILESoptional--

Outputs

IndexNameTypeIs ListConnection Reference
0OPENAI_INPUT_FILESOPENAI_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 OpenAIInputFiles node in your workflow, and output_index is the index from the table above.

Example

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

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