Skip to content

Commit 2996e50

Browse files
committed
Enhance RAG system and PDF processing capabilities
- Introduced flags to track generation state and stop generation in the chat interface. - Updated chunk size in RAG configuration to improve retrieval accuracy. - Enhanced PDF text extraction with a new `EnhancedPDFProcessor`, providing fallback mechanisms for error handling. - Improved system prompt structure for better clarity and response generation. - Adjusted retrieval logic in the RAG system to ensure high-similarity chunks are prioritized and filtered effectively. - Updated tests to validate new PDF processing features and ensure robust error handling.
1 parent 5b13be4 commit 2996e50

File tree

3 files changed

+405
-400
lines changed

3 files changed

+405
-400
lines changed

0 commit comments

Comments
 (0)