anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

[BUG]: Cannot select txt file in a folder

Open UserName-wang opened this issue 1 year ago • 2 comments
trafficstars

How are you running AnythingLLM?

Docker (local)

What happened?

Cannot select txt file in a folder. AnythingLLM can display the folder "txt" correctly. but cannot display the txt file inside this folder which file name is ros.txt. See the screenshot below: Screenshot from 2024-04-10 21-42-24

or which folder I should mount into docker?

Are there known steps to reproduce?

No response

UserName-wang avatar Apr 10 '24 13:04 UserName-wang

Did you upload the file ros.txt or did you just put a file in storage/documents/txt/ros.txt? If so, that is not how the storage works, the files need to be processed and put in the standardized metadata format.

If you click on upload and choose ros.txt it will then show under custom documents which can then be moved to txt folder.

timothycarambat avatar Apr 10 '24 16:04 timothycarambat

Thank you for your reply!

I just put a file in storage/documents/txt/ros.txt

Because I want to try if there any way to upload the file more easily. Like upload a folder. Then the files in that folder can be upload automatically. Instead of one by one.

在 2024年4月11日,00:23,Timothy Carambat @.***> 写道: just put a file in storage/documents/txt/ros.txt

UserName-wang avatar Apr 10 '24 23:04 UserName-wang

Then this would not be a bug, instead i think this would do better as another feature request, but this is already covered by https://github.com/Mintplex-Labs/anything-llm/issues/674 👍

timothycarambat avatar Apr 11 '24 04:04 timothycarambat

You have to upload documents via the uploader, they will not be found if you just place them in documents! That is not how the system works since it would be missing is required metadata for parsing and insertion into the DB and vector db

timothycarambat avatar Apr 11 '24 04:04 timothycarambat