nexent icon indicating copy to clipboard operation
nexent copied to clipboard

[Request] 知识库生成摘要时让用户选择使用哪个模型,若失败需提示具体原因

Open Jasonxia007 opened this issue 1 year ago • 0 comments

需求名称:知识库生成摘要的模型选择与错误处理功能

需求描述:

  1. 在知识库生成摘要功能中,系统应允许用户从多个可用的大语言模型中选择一个用于生成摘要。(默认使用系统副模型)
  2. 用户界面应清晰展示当前可用的模型选项。
  3. 当摘要生成失败时,系统应向用户显示具体的失败原因,包括但不限于:
    • 模型服务不可用
    • 模型响应超时
  4. 错误信息应尽可能具体且对用户友好,避免显示技术性过强的内部错误代码。

技术要求:

  • 调用已有接口获取可用模型列表
  • 建立标准化的错误分类
  • 前端界面需提供模型选择下拉菜单和错误提示区域

Requirement Name: Model Selection and Error Handling for Knowledge Base Summary Generation

Requirement Description:

  1. In the knowledge base summary generation feature, the system should allow users to select one from multiple available large language models for generating summaries. (Use system secondary model by default)
  2. The user interface should clearly display available model options.
  3. When summary generation fails, the system should display specific failure reasons to users, including but not limited to:
    • Model service unavailable
    • Model response timeout
  4. Error messages should be as specific and user-friendly as possible, avoiding overly technical internal error codes.

Technical Requirements:

  • Use existing API to retrieve available models
  • Establish standardized error classification
  • Frontend should provide model selection dropdown and error notification area

Jasonxia007 avatar Jul 25 '25 06:07 Jasonxia007