Gan - Anyone implemented the fileupload option ...
Anyone implemented the fileupload option in openai assitant ?
1 Reply
any node template where i can pass the file in the message Ex: const thread = await openai.beta.threads.create({
messages: [
{
role: "user",
content:
// Attach the new file to the message. attachments: [{ file_id: aapl10k.id, tools: [{ type: "file_search" }] }], }, ], });
// Attach the new file to the message. attachments: [{ file_id: aapl10k.id, tools: [{ type: "file_search" }] }], }, ], });