Skip to content

Conversation

@GavanHub
Copy link
Collaborator

@GavanHub GavanHub commented Dec 29, 2025

添加 ai 智能摘要提示词

变更类型

请勾选适用的变更类型:

  • Bug 修复 (不兼容变更的修复)
  • 新功能 (不兼容变更的新功能)
  • 功能改进 (不兼容现有功能的改进)
  • 文档更新
  • 依赖更新
  • 重构 (不影响功能的代码修改)
  • 测试用例
  • CI/CD 配置变更
  • 其他 (请描述):

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds AI intelligent summary prompt functionality to the knowledge base settings. The feature allows users to configure custom prompts for AI-powered summarization alongside the existing intelligent Q&A prompts.

  • Added summary_content field to prompt-related types and interfaces
  • Implemented UI form controls for managing intelligent summary prompts
  • Added reset functionality for summary prompts similar to existing Q&A prompt reset

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
web/admin/src/request/types.ts Added V1FileUploadResp interface and removed V1ShareFileUploadReq (appears unrelated to main feature)
web/admin/src/request/pro/types.ts Added optional summary_content field to DomainCreatePromptReq and DomainPrompt interfaces
web/admin/src/pages/setting/component/CardAI.tsx Added form controls for intelligent summary prompt with reset functionality, integrated into existing AI settings card

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coltea coltea merged commit 8e51a1c into chaitin:main Dec 29, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants