mirror of
https://github.com/langgenius/dify-docs-archived.git
synced 2026-07-25 05:25:44 -04:00
知识库索引模式选择经济型,发布更新时报[知识检索] Rerank 模型 不能为空,无法发布 #71
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xiaobai1990zhan on GitHub (Feb 20, 2025).
@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