ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

fix: create chunk with random uuid, no increase count num if index error

Open Colstuwjx opened this issue 6 months ago • 5 comments

What problem does this PR solve?

Addresses issue by https://github.com/infiniflow/ragflow/issues/7150#issuecomment-2976432979 , aligned with dify behavior:

  1. no increase chunk count / token count if index error;
  2. set chunk id with a random uuid rather than using the hash string (one issue here is that ragflow is using uuid1 rather than uuid4, open for discussion)

Type of change

  • [x] Bug Fix (non-breaking change which fixes an issue)
  • [ ] New Feature (non-breaking change which adds functionality)
  • [ ] Documentation Update
  • [ ] Refactoring
  • [ ] Performance Improvement
  • [ ] Other (please describe):

Colstuwjx avatar Jun 16 '25 13:06 Colstuwjx

Image Arch Linux,Kernel: 6.14.10-arch1-1,DE: Plasma 6.3.5下也有这个问题

Dregen-Yor avatar Jun 16 '25 06:06 Dregen-Yor

Arch linux kernel: linux 6.15.2 DE: kde plasma 6.3.5 白边

Image

triccsr avatar Jun 16 '25 14:06 triccsr

确实,上一个 2.2.4alpha好像就是窗口变成系统默认样式了

Leihousuo avatar Jun 17 '25 04:06 Leihousuo

Ubuntu 25.04 aarch64,GNOME 48.0,Kernel: 6.14.0-1005-raspi

Image 如果在状态栏打开仪表盘的话关闭,最大化,最小化按钮都用不了

DevDawn avatar Jun 17 '25 17:06 DevDawn

我还在想是不是我记错了,上来一看都有问题我就放心了。 linux mint 22.1 Cinnamon

Image

mikodream avatar Jun 18 '25 00:06 mikodream

只要调成白色模式, 2.3.1 一样, 就会没有白边°

chopin1998 avatar Jun 18 '25 00:06 chopin1998

已解决,感谢开发者 #3785 #3778

DrizzleTime avatar Jun 18 '25 03:06 DrizzleTime

@DrizzleTime 没事 我就是帮忙看看

Ahaohaohao avatar Jun 18 '25 03:06 Ahaohaohao

只要调成白色模式, 2.3.1 一样, 就会没有白边°

你的意思是2.3.1还不正常吗?

wonfen avatar Jun 18 '25 03:06 wonfen

只要调成白色模式, 2.3.1 一样, 就会没有白边°

你的意思是2.3.1还不正常吗?

大概率没构建吧

Ahaohaohao avatar Jun 18 '25 03:06 Ahaohaohao