-
Notifications
You must be signed in to change notification settings - Fork 47
Agentic rag improved #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Agentic rag improved #37
Conversation
|
@adnan-cto @mubashir-oss |
a454695 to
249abd4
Compare
video.mp4 |
- Increase chunks processed in synthesis from 3 to 5 - Expand chunk text from 200 to 500 chars for better context - Add sophisticated regex-based section filtering for negation queries - Implement query-type specific decomposition strategies - Double retrieved chunks for complex queries
- Perform preliminary search before decomposing complex queries - Pass relevant document excerpts to the LLM when creating sub-queries - Add context-based prompting to generate specific, concrete sub-queries - Eliminate placeholder text ([topic], [concept]) by using actual document terminology - Add detailed examples and guidelines for context-aware query generation
|
I have improved the rag greatly |
video.mp4 |
RAG System EnhancementsI've implemented two key improvements to fix the RAG system's handling of complex queries: 1. Response Quality Improvements
2. Context-Aware Query Generation
These changes ensure comprehensive, accurate responses for multi-hop and negation queries that previously returned generic or incomplete answers. |
|
@adnan-cto @mubashir-oss |
|
@adnan-cto @mubashir-oss |
|
@promisingcoder did you receive any feedback in the end? |
no !! |






/claim #34
What type of PR is this? (check all applicable)
Description
Related Tickets & Documents
QA Instructions, Screenshots, Recordings
Please replace this line with instructions on how to test your changes, and add screenshots or recordings if possible.
Added/updated tests?
We encourage keeping test coverage at 80% or above.
Community Support