For this to work you’ll need to enable code interpreter as it’s off by default (but if you do, other users may also download the contents of your knowledge files)
Once updated try this prompt:
Generate a .docx
file containing this content: [insert content].