labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://tryfastgpt.ai
Other
17.21k stars 4.61k forks source link

关于接入jina-rerank重排序模型 #1901

Closed xiaoToby closed 2 months ago

xiaoToby commented 3 months ago

例行检查

功能描述

  1. 关于使用方式: https://github.com/labring/FastGPT/issues/1240#issuecomment-2066646335中,作者提到了bge-rerank最低相关度要大于0.85。 在使用jina-rerank重排序模型过程中: 当搜索配置为0.85相关度和混合搜索+结果重排,没有引用内容。如图: image 没有引用内容。查看了jina-rerank的日志,如图: image 当搜索配置为0.2相关度和语义搜索+结果重排,有引用内容。如图: image 当搜索配置为0.2相关度和全文检索+结果重排,有引用内容。 所以说,关于最低相关度的值要根据不同的模型去调整?
  2. 关于在config.json中配置了多个重排序模型,前端页面上无法选择,并且默认使用config.json中第一个重排序模型

@c121914yu @nongmo677 @lijiajun1997 应用场景

相关示例

c121914yu commented 2 months ago
  1. 是的
  2. 目前只有第一个生效。能选择的问题,关注后续更新。