agentscope-ai / agentscope-ai/agentscope-java
[Feature]: Enhance RAG with Document Summaries in System Prompt
- Vorherrschende Sprache
- Java
- Sterne
- 5.6k
- Forks
- 1.3k
- Ø Merge
- 4 T. 12 Std.
- Gemergte PRs (30 T.)
- 77
Beschreibung
## 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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.