diff --git a/src/interface/web/app/common/chatFunctions.ts b/src/interface/web/app/common/chatFunctions.ts index 98ca2497..b4777ba8 100644 --- a/src/interface/web/app/common/chatFunctions.ts +++ b/src/interface/web/app/common/chatFunctions.ts @@ -294,6 +294,9 @@ export async function packageFilesForUpload(files: FileList): Promise fileType = "text/html"; } else if (fileExtension === "pdf") { fileType = "application/pdf"; + } else if (fileExtension === "docx") { + fileType = + "application/vnd.openxmlformats-officedocument.wordprocessingml.document"; } else { // Skip this file if its type is not supported resolve();