When asking ChatGPT / MS Copilot to modify a docx file I upload, they modify the file and return the modified docx doument. However, when trying to accomplish the same through the API, I can upload the docx file, but I don’t find documentation explaining how I can receive back the modified docx file. I managed to get the modified content back in text form, but did not manage to receive an actual file back in the API response. Could someone please point me in the right direction? Is there a difference between files in the API response in the OpenAI API vs. Azure OpenAI API or do both offer the same features when it comes to docx file manipulation?
Many thanks in advance for your help