feat(#55): Integrate Phase 1 RAG Upgrade into Hybrid Resume Generator#56
Merged
Merged
Conversation
…e generator - Phase 1: Enhanced generate_hybrid_resume.py with RAG support (--jd, --use-rag, --use-llm-rewriting, --show-rag-context, --vector-store flags) - Phase 2: Added three new RAG endpoints to Web API (/api/rag/retrieve, /api/rag/rewrite, /api/rag/index) and enhanced tailor endpoint - Phase 3: Enhanced Web UI with RAG options in tailor modal (checkboxes for RAG and LLM rewriting with dependent state management) - Phase 4: Updated demo_rag_with_pelotech.py with hybrid resume generation examples All 421 tests passing. Ready for review and merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR completes the integration of Phase 1 RAG Upgrade capabilities into the hybrid resume generator pipeline across CLI, Web API, and Web UI.
Changes
Phase 1: CLI Enhancement (generate_hybrid_resume.py)
--jd: Path to job description--use-rag: Enable RAG-based retrieval--use-llm-rewriting: Enable LLM-powered rewriting (requires RAG)--show-rag-context: Display RAG context in output--vector-store: Path to FAISS vector storePhase 2: Web API Enhancement (src/api/app.py)
POST /api/rag/retrieve: Retrieve relevant experiences using semantic searchPOST /api/rag/rewrite: Rewrite bullets with LLM and evidence constraintsPOST /api/rag/index: Trigger re-indexing of vector storePOST /api/resumes/<resume_id>/tailorendpoint:use_raganduse_llm_rewritingparametersPhase 3: Web UI Enhancement (src/web/dashboard.html & dashboard.js)
Phase 4: Demo & Documentation
demo_hybrid_resume_generation()functionTesting
Related Issue
Closes #55
Checklist
Pull Request opened by Augment Code with guidance from the PR author