diff --git a/web/chat.js b/web/chat.js index 462496e..7340fe5 100644 --- a/web/chat.js +++ b/web/chat.js @@ -42,6 +42,18 @@ async function pollTask(taskId) { }, 1500); } + +function exportPPTX() { + window.location = `/api/export/pptx/${conversationId}/conversa.pptx` +} + +function exportODP() { + window.location = `/api/export/odp/${conversationId}/conversa.odp` +} + + + + async function importExcel() { const file = document.getElementById("excelFile").files[0]; const form = new FormData();