mckaywrigley / chatbot-ui

Come join the best place on the internet to learn AI skills. Use code "chatbotui" for an extra 20% off.
https://JoinTakeoff.com
MIT License
28.85k stars 8.04k forks source link

Microsoft Powerpoint PPTX not supported (yet) #1224

Open aalev opened 10 months ago

aalev commented 10 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 10 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 10 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 10 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 8 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.