ParisNeo / lollms-webui

Lord of Large Language Models Web User Interface
https://lollms.com
Apache License 2.0
4.27k stars 537 forks source link

Reading files. #448

Open PhantomKojima opened 10 months ago

PhantomKojima commented 10 months ago

I noticed 2 problems. First: If, for example, I add the file test2.TXT, then the first time it is added successfully, but if I try to add it again, the program will not add it. This can be fixed by adding a file with a different name, then removing it and adding the first file. Second problem: For some reason, it is not always possible to read files. For example:

  1. I upload the file test.TXT, in cmd I get the message File added successfully, but lollms says that it cannot access this file.
  2. After that I add the f.txt file and it reads this file successfully.
  3. I add the file test2.TXT, in cmd I receive the message File added successfully, but this time lollms tells me that it does not see this file in the uploads/lollms folder.
  4. I add the file test2.TXT again, this time lollms tells me that it cannot access this file.

I have an assumption that it cannot read .TXT files because the program responsible for this does not support them. LoLLMS WebUI - New discussion - Opera 30 11 2023 3_21_38 LoLLMS WebUI - New discussion - Opera 30 11 2023 3_21_52 LoLLMS WebUI - New discussion - Opera 30 11 2023 3_22_31

and sometimes lollms gives comments on the previous file, not the last one, but this is probably a problem with the model itself.

PhantomKojima commented 10 months ago

Now I found another problem: lollms sees the files in the uploads/lollms directory but when I ask him to read them he says that he does not have access to them, The file may be encrypted or password protected and you may need to provide the password or decryption key to access it.

ParisNeo commented 10 months ago

Hi and thank you very much for taking the time to test lollms. All feedback is valuable. Unfortunately these days I have alot of work and can't find time to fix the issues you raised. I'll try to take some time this weekend to look at them and fix them. I'm sure they are not really a big deal and I should be able to fix them is no Time. I just need to find time for that :)