Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.55k stars 226 forks source link

[Feature]: "Upload File to OpenAI" node needs filename input #335

Closed ai-made-approachable closed 5 months ago

ai-made-approachable commented 5 months ago

Feature Request

Please add a filename input. If you want to use the files in the assistants API the assistant often has issues reading the file, as it does not know what kind of file it is. Sometimes it tries to test if the file is in binary and succeed. But that is sometimes.

To make this smooth in Rivet, the "Read File" node should probably also return the filename as an output, so that you can connect both immediately.

Here is how uploaded files look:

image

Code of Conduct

abrenneke commented 5 months ago

Added in 08846b835f538b528f0326d411f9e958be51f368