agentscope-ai / agentscope-ai/agentscope-java

[Feature]: Enhance RAG with Document Summaries in System Prompt

未關閉
#946 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area/core/tool enhancement
主要語言
Java
星號
5.6k
分支
1.3k
平均合併
4 天 12 小時
30 天內合併 PR
77

描述

## Feature Request
Add support for including individual document summaries in the system prompt when using multiple knowledge bases in RAG mode.

## Current Behavior
When working with multiple documents in RAG, the system prompt doesn't include document-level summaries, which could improve retrieval accuracy and context
understanding.

## Proposed Solution
Include a summary for each document in the system prompt when multiple knowledge bases are loaded. This would help the model better understand which document
contains which information.

## Benefits
- Improved retrieval precision
- Better context awareness
- Enhanced response relevance
- More efficient document utilization

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。