n4ze3m / dialoqbase

Create chatbots with ease
https://dialoqbase.n4ze3m.com/
MIT License
1.62k stars 265 forks source link

Docx error #24

Closed Antazia closed 1 year ago

Antazia commented 1 year ago

Error: Corrupted zip: can't find end of central directory at ZipEntries.readEndOfCentral (/app/node_modules/jszip/lib/zipEntries.js:170:23) at /app/node_modules/jszip/lib/load.js:48:24

When docx are too large, getting error.

n4ze3m commented 1 year ago

Oh no 😓, the data loader can't load large files. Have the same issue with PDF files as well https://github.com/n4ze3m/dialoqbase/issues/4. I think I need to try unstructured.io for file loading

Antazia commented 1 year ago

Sorry I would like to help, but I'm not able to develop. I'm struggling with trying to separate chatbots for each account but can't manage to do it so you can see how newbie I am

n4ze3m commented 1 year ago

Sorry I would like to help, but I'm not able to develop. I'm struggling with trying to separate chatbots for each account but can't manage to do it so you can see how newbie I am

It's okay. What is the approx size of the file you tried ?

Antazia commented 1 year ago

15Mb, also you can only upload one per one, it's not really convenient.

Just trying to help to improve, not complaining btw !

Antazia commented 1 year ago

++ can I get a one line explanation or where I should search to separate chatbots depending user?

n4ze3m commented 1 year ago

15Mb, also you can only upload one per one, it's not really convenient.

Just trying to help to improve, not complaining btw !

Dialoqbase is still in the early stage and not fully stable. However, multiple file uploading will be allowed in upcoming updates.

n4ze3m commented 1 year ago

++ can I get a one line explanation or where I should search to separate chatbots depending user?

Could you please provide more details? Is it related to Dialoqbase bot 😅😅?

Antazia commented 1 year ago

I think it is related, so I created a new user in the supabase database. But when I login into a new user, every chatbots created by other users are shared and accessible

n4ze3m commented 1 year ago

I think it is related, so I created a new user in the supabase database. But when I login into a new user, every chatbots created by other users are shared and accessible

Did you deploy using Railway? If so, did you change the username and password?

n4ze3m commented 1 year ago

But when you create a chatbot on one account, the other account also have it.

Deleting this comment because credentials have been exposed.

n4ze3m commented 1 year ago

Sorry, I initially created Dialoqbase with a single user point of view. I will add support for multiple users on upcoming release :)

Antazia commented 1 year ago

I've also added you on Linkedin. I'd like to talk to you in more detail about your project and have a few questions.

In any case, thank you for your communication and your help !

n4ze3m commented 1 year ago

Actually, I'm not active on LinkedIn. You can contact me on Discord.

Here is the Dialoqbase server: (https://discord.com/invite/SPE3npH7Wu)

n4ze3m commented 1 year ago

Sorry, I initially created Dialoqbase with a single user point of view. I will add support for multiple users on upcoming release :)

Hey, changing the entire codebase of the Dialoqbase main repo is not possible, as it may cause issues. So, I've decided to create a separate repo and set up multiple authentication methods using Supabase.

You can find the repo here: https://github.com/n4ze3m/dialoqbase-multi-user

Additionally, here's a small documentation guide: https://dialoqbase.n4ze3m.com/guide/transitioning-from-single-user-to-multi-user-mode.html