知识库索引模式选择经济型,发布更新时报[知识检索] Rerank 模型 不能为空,无法发布 #71

Closed
opened 2026-02-16 11:19:40 -05:00 by yindo · 1 comment
Owner

Originally created by @xiaobai1990zhan on GitHub (Feb 20, 2025).

Originally created by @xiaobai1990zhan on GitHub (Feb 20, 2025).
yindo added the bug label 2026-02-16 11:19:40 -05:00
yindo closed this issue 2026-02-16 11:19:40 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 20, 2025):

@xiaobai1990zhan 你好!我是一个可以帮助你解决错误、回答问题并成为贡献者的机器人。我会在等待人类维护者的期间帮助你。

要解决“[知识检索] Rerank 模型 不能为空”的错误,您需要配置一个 Rerank 模型,因为经济型模式不会自动配置它。请前往“知识库 -> 创建知识库 -> 检索设置”页面,添加 Rerank 配置。Dify 支持 Cohere Rerank 等模型,您可以在“模型提供商 -> Cohere”页面输入 API 密钥进行配置。确保您已在 Cohere Rerank 注册并获得必要的 API 密钥。完成这些设置后,您应该能够成功发布更新[1][2]

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Feb 20, 2025): <!-- Greeting --> @xiaobai1990zhan 你好!我是一个可以帮助你解决错误、回答问题并成为贡献者的机器人。我会在等待人类维护者的期间帮助你。 <!-- Answer --> 要解决“[知识检索] Rerank 模型 不能为空”的错误,您需要配置一个 Rerank 模型,因为经济型模式不会自动配置它。请前往“知识库 -> 创建知识库 -> 检索设置”页面,添加 Rerank 配置。Dify 支持 Cohere Rerank 等模型,您可以在“模型提供商 -> Cohere”页面输入 API 密钥进行配置。确保您已在 [Cohere Rerank](https://cohere.com/rerank) 注册并获得必要的 API 密钥。完成这些设置后,您应该能够成功发布更新<sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/jp/guides/knowledge-base/integrate-knowledge-within-application.md)</sup><sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/zh_CN/learn-more/extended-reading/retrieval-augment/rerank.md)</sup>。 <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/84b14ef5-adfb-469c-a6e8-15dde4d1664c?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/84b14ef5-adfb-469c-a6e8-15dde4d1664c?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/84b14ef5-adfb-469c-a6e8-15dde4d1664c?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/84b14ef5-adfb-469c-a6e8-15dde4d1664c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/84b14ef5-adfb-469c-a6e8-15dde4d1664c?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/84b14ef5-adfb-469c-a6e8-15dde4d1664c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/84b14ef5-adfb-469c-a6e8-15dde4d1664c?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs-archived#71