OpenAI ChatGPT Input Files
api node/text/OpenAI
OpenAIInputFilesLoads 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
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
file? | COMBO | required | - | - |
OPENAI_INPUT_FILES? | OPENAI_INPUT_FILES | optional | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | OPENAI_INPUT_FILES | OPENAI_INPUT_FILES | No | ["{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?