mckaywrigley / chatbot-ui

AI chat for every model.
https://chatbotui.com
MIT License
27.5k stars 7.64k forks source link

Microsoft Powerpoint PPTX not supported (yet) #1224

Open aalev opened 5 months ago

aalev commented 5 months ago

hello, at the time of writing, there is no support of PPTX: components/chat/chat-hooks/use-select-file-handler.tsx returns a "Unsupported file type" exception.

Note that langchain.js (in chatbot-ui requirement version) already has PPTX capability with PPTXLoader in node_modules/langchain/dist/document_loaders/fs/pptx.d.ts

Do you plan to add PPTX support ? Let me know, we can start a PR for that.

mckaywrigley commented 5 months ago

We're probably going to add a flask api for better document processing so I've kind of paused document parsing where it's at until that happens.

It's not a ton of work for me to get that done so I can expedite that.

virtuman commented 5 months ago

can you point at this flask api? i want to see if i can figure this out, if this would solve my needs as well. wondering if it supports pdf, docx, etc. and if it's a service that i can run locally, or if it's a paid service. thanks

siavashvj commented 5 months ago

@mckaywrigley On a related note:

File uploads compability differs depending on uploading file from the OS Finder/Explorer or just doing a drag and drop into the chat. The latter works for image files, the former does not work for image files (not possible to choose image files from OS Finder).

PPTX doesnt work either way.

aalev commented 3 months ago

Hello

Do you plan to add PPTX support ? Let me know, we can start a PR for that.

Hi @mckaywrigley, any update on that one ? PPTX is the main format of the documents I'd like to use chatbot-ui on ! Do you plan to add PPTX support soon :-) ? Let me know, we can start a PR for that.