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] 匹配知识条数和分数阈值失效 #5101

Closed
chuanSir123 opened this issue Nov 23, 2024 · 2 comments
Closed

[BUG] 匹配知识条数和分数阈值失效 #5101

chuanSir123 opened this issue Nov 23, 2024 · 2 comments
Labels
bug Something isn't working stale

Comments

@chuanSir123
Copy link

问题描述 / Problem Description
启动后,不管是页面的rag对话,还是api的请求,匹配知识条数和分数阈值都失效了。

复现问题的步骤 / Steps to Reproduce
调整匹配知识条数为1,还是会匹配5条,调整分数阈值,还是匹配到不相关的知识

预期的结果 / Expected Result
匹配知识条数的最大值为设置值
分数阈值越小,匹配要求越高

实际结果 / Actual Result
匹配知识条数的最大值超过了设置值
调整分数阈值不影响匹配

环境信息 / Environment Information

  • pypi 最新版
  • 部署方式(pypi 安装 / 源码部署 / docker 部署):0.3.1.3
  • 使用的模型推理框架(Xinference / Ollama / OpenAI API 等): OpenAI API
  • 使用的 LLM 模型(GLM-4-9B / Qwen2-7B-Instruct 等):Qwen2.5-14B-Instruc
  • 使用的 Embedding 模型(bge-large-zh-v1.5 / m3e-base 等):Yuan-embedding-1.0
  • 使用的向量库类型 (faiss / milvus / pg_vector 等): faiss
  • 操作系统及版本 / Operating system and version: Ubuntu 20.04.6 LTS
  • Python 版本 / Python version: 3.8
  • 推理使用的硬件(GPU / CPU / MPS / NPU 等) / Inference hardware (GPU / CPU / MPS / NPU, etc.): GPU
  • 其他相关环境信息 / Other relevant environment information:

附加信息 / Additional Information
添加与问题相关的任何其他信息 / Add any other information related to the issue.

@chuanSir123 chuanSir123 added the bug Something isn't working label Nov 23, 2024
Copy link

这个问题已经被标记为 stale ,因为它已经超过 30 天没有任何活动。

@github-actions github-actions bot added the stale label Dec 23, 2024
Copy link

github-actions bot commented Jan 6, 2025

这个问题已经被自动关闭,因为它被标为 stale 后超过 14 天没有任何活动。

@github-actions github-actions bot closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant