feat(summary): enhance document summarization capabilities and UI

- Added max_input_chars configuration to limit input size for summary generation.
- Updated generate_summary.yaml to clarify summary generation steps and requirements.
- Introduced a new summary section in the document content view to display generated summaries or loading states.
- Refactored doc-content.vue to utilize computed properties for improved performance and readability.
- Enhanced knowledge base hooks to include description and summary status fields for better data handling.
- Updated internationalization files to include new summary-related labels in multiple languages.
This commit is contained in:
wizardchen
2026-04-02 14:59:42 +08:00
committed by lyingbug
parent 8daecd346c
commit cb36570cde
10 changed files with 264 additions and 141 deletions
+1
View File
@@ -23,6 +23,7 @@ conversation:
generate_summary_prompt_id: "default_summary" # from prompt_templates/generate_summary.yaml
generate_session_title_prompt_id: "default_session_title" # from prompt_templates/generate_session_title.yaml
summary:
max_input_chars: 16384
repeat_penalty: 1.0
temperature: 0.3
max_completion_tokens: 2048