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

SILICONFLOW rerank error in 0.12.0 version of RAGFlow #2977

Open
emptinessboy opened this issue Oct 22, 2024 · 0 comments
Open

SILICONFLOW rerank error in 0.12.0 version of RAGFlow #2977

emptinessboy opened this issue Oct 22, 2024 · 0 comments

Comments

@emptinessboy
Copy link

0.12.0 版本使用本地模型运行正常,使用硅基流动模型,当关键词没有命中时会出现KeyError('results')。

我猜测可能是硅基流动模型对response做了处理,未命中时不返回result字段;而本地不论是否命中都有result字段返回。可能这两处差异导致了json解析中出现问题。

Originally posted by @emptinessboy in #2231 (comment)

@JinHai-CN JinHai-CN changed the title 0.12.0 版本SILICONFLOW rerank error SILICONFLOW rerank error in 0.12.0 version of RAGFlow Oct 22, 2024
KevinHuSh added a commit that referenced this issue Oct 23, 2024
### What problem does this PR solve?

#2977

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
Halfknow pushed a commit to Halfknow/ragflow that referenced this issue Nov 11, 2024
### What problem does this PR solve?

infiniflow#2977

### 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
None yet
Projects
None yet
Development

No branches or pull requests

1 participant