Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: About creating a new file #3762

Open
kunkeji opened this issue Nov 29, 2024 · 7 comments
Open

[Question]: About creating a new file #3762

kunkeji opened this issue Nov 29, 2024 · 7 comments
Labels
question Further information is requested

Comments

@kunkeji
Copy link
Contributor

kunkeji commented Nov 29, 2024

Describe your problem

Do new empty files in the knowledge base need to have a file suffix? And can the newly created empty files be parsed properly?

@kunkeji kunkeji added the question Further information is requested label Nov 29, 2024
@kunkeji
Copy link
Contributor Author

kunkeji commented Nov 29, 2024

I found that the newly created file type in the code is set to virtual file, why not create a physical file?

@kunkeji kunkeji mentioned this issue Nov 29, 2024
1 task
@KevinHuSh
Copy link
Collaborator

Physical file creation is well supported for OS.
Virtual file is just a name, then all the chunks in that files are added and edited manually.

@kunkeji
Copy link
Contributor Author

kunkeji commented Dec 2, 2024

Okay, but currently neither the demo project nor the open source project can parse newly created blank files properly

@KevinHuSh
Copy link
Collaborator

I got it.
You need not to click it. It's already parsed.
image

@kunkeji
Copy link
Contributor Author

kunkeji commented Dec 2, 2024

I see, no wonder there will be an error when clicking on parse. Can't it be parsed again?
image

@JinHai-CN
Copy link
Contributor

Yes, but why the file can't be found? Can you reproduce this fault? @kunkeji

@kunkeji
Copy link
Contributor Author

kunkeji commented Dec 3, 2024

If it is a newly created blank document with added blocks, clicking on parse will result in an error message stating that the file cannot be found

cike8899 added a commit to cike8899/ragflow that referenced this issue Dec 4, 2024
KevinHuSh pushed a commit that referenced this issue Dec 4, 2024
### What problem does this PR solve?

Fix: Hide the download button if it is an empty file #3762

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants