What is your goal?
Include both PDF files and images in one run of OpenAI Make a response module.
What is the problem & what have you tried?
Currently, I can select File prompt or Image prompt in Prompt type when setting up the module. However, I need to use both PDFs and images in one request in the module.
When selecting File prompt and sending an jpg or png image in, the run ends with an error of wrong file type.
Error messages or input/output bundles
[400] input[0].content[0].file_data: Invalid file data: ‘input[0].content[0].file_data’. Expected a base64-encoded data URL with a valid file MIME type (e.g. ‘data:text/plain;base64,SGVsbG8sIFdvcmxkIQ==’), but got unsupported MIME type ‘image/jpeg’. Please see https://platform.openai.com/docs/assistants/tools/file-search#supported-files for supported file types.
