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

[Bug]:the reason of raptor failed #2861

Closed
1 task done
adogwangwang opened this issue Oct 16, 2024 · 6 comments
Closed
1 task done

[Bug]:the reason of raptor failed #2861

adogwangwang opened this issue Oct 16, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@adogwangwang
Copy link

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch name

0.10.0

Commit ID

e18f407

Other environment information

No response

Actual behavior

Start to do RAPTOR (Recursive Abstractive Processing For Tree-Organized Retrieval).
Task has been received.
[ERROR]setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (1024,) + inhomogeneous part. 当一篇文章embedding完进入到raptor阶段发生报错,报错信息如上。
**
image
**
那么一直卡在这个阶段,应该怎么做?点叉号的话,可以进行问答吗?

Expected behavior

希望能够找到raptor失败的原因,请大佬看看这段报错是什么意思?这样发生报错的话,希望能有单独重启raptor的按钮,不然全部重新来过的话代价太大。在一个raptor失败,那么这篇文档能不能进行问答?进度条一直卡在一个位置没有动,此时该怎么办?

Steps to reproduce

一篇文章embedding完进入到raptor阶段过程中发生报错

Additional information

No response

@adogwangwang adogwangwang added the bug Something isn't working label Oct 16, 2024
@KevinHuSh
Copy link
Collaborator

You can chat with the generated 4536 chunks.

@adogwangwang
Copy link
Author

[ERROR]setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (1024,) + inhomogeneous part.

感谢您的回复,我想知道最后在raptor阶段报错[ERROR]setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (1024,) + inhomogeneous part. 这个报错是什么原因呢?我有两篇文档在raptor阶段都报了这个错,不知道应该怎么调整?希望能得到您的解答

@KevinHuSh
Copy link
Collaborator

This might be caused by embedding, this will be fixed later.

@adogwangwang
Copy link
Author

This might be caused by embedding, this will be fixed later.

Thank you for your response. I look forward to the fix for this issue.

@yuzhichang
Copy link
Member

@adogwangwang RAGFlow v0.14.1 shall has fixed the embedding issue. Have a try.

@yuzhichang yuzhichang self-assigned this Dec 2, 2024
@yuzhichang
Copy link
Member

yuzhichang commented Dec 5, 2024

Reusing chunks is tracked by #3793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants