How to accept file uploads as input in DevUI workflow? #1653
-
|
HI! I'm trying to create a workflow in the DevUI that accepts file uploads (documents/files) as input, similar to how many applications have drag-and-drop or "attach file" buttons. However, I can't figure out how to configure the input type to support this. Does the DevUI currently support file uploads as workflow inputs? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
|
Hi @dragospadurariu, we're tracking this as part of #1473. Right now agents support the use of files; however, workflows do not. |
Beta Was this translation helpful? Give feedback.
-
|
can you give a sample python code for devui file upload using agents or any documentation link |
Beta Was this translation helpful? Give feedback.
-
|
But where can we access the uploaded file? In my case, I have an agent that will process a PDF file and extract text, so I need to retrieve the PDF file uploaded through the Dev UI. In the sample, there is nothing related to file upload.Can you please give some clarity |
Beta Was this translation helpful? Give feedback.
-
|
\venv\Lib\site-packages\agent_framework_devui_executor.py:305 - ERROR] Error in agent execution: <class 'agent_framework.azure._chat_client.AzureOpenAIChatClient'> service failed to complete the prompt: Error code: 400 - {'error': {'message': "Missing required parameter: 'messages[2].content[0].file.file_id'.", 'type getting an error like this |
Beta Was this translation helpful? Give feedback.

Hi @dragospadurariu, we're tracking this as part of #1473. Right now agents support the use of files; however, workflows do not.