Skip to content

Commit a32790c

Browse files
docs: Add DOCX generation examples to RAG demo
1 parent b20f618 commit a32790c

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

demo_rag_with_pelotech.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,14 +256,22 @@ def demo_hybrid_resume_generation():
256256
print("\n📋 Available generation options:")
257257
print(" 1. Basic HTML generation (no RAG):")
258258
print(" python src/generate_hybrid_resume.py --output out/resume.html --theme creative")
259-
print("\n 2. RAG-enhanced HTML generation:")
259+
print("\n 2. Basic HTML + DOCX generation:")
260+
print(" python src/generate_hybrid_resume.py --output out/resume.html --theme creative --docx")
261+
print("\n 3. RAG-enhanced HTML generation:")
260262
print(" python src/generate_hybrid_resume.py --output out/resume.html --jd data/job_listings/pelotech-senior-software-engineer.md --use-rag")
261-
print("\n 3. RAG + LLM rewriting:")
263+
print("\n 4. RAG-enhanced HTML + DOCX generation:")
264+
print(" python src/generate_hybrid_resume.py --output out/resume.html --jd data/job_listings/pelotech-senior-software-engineer.md --use-rag --docx")
265+
print("\n 5. RAG + LLM rewriting:")
262266
print(" python src/generate_hybrid_resume.py --output out/resume.html --jd data/job_listings/pelotech-senior-software-engineer.md --use-rag --use-llm-rewriting")
263-
print("\n 4. All themes with RAG:")
267+
print("\n 6. RAG + LLM rewriting + DOCX:")
268+
print(" python src/generate_hybrid_resume.py --output out/resume.html --jd data/job_listings/pelotech-senior-software-engineer.md --use-rag --use-llm-rewriting --docx")
269+
print("\n 7. All themes with RAG:")
264270
print(" python src/generate_hybrid_resume.py --all-themes --jd data/job_listings/pelotech-senior-software-engineer.md --use-rag")
271+
print("\n 8. All themes with RAG + DOCX:")
272+
print(" python src/generate_hybrid_resume.py --all-themes --jd data/job_listings/pelotech-senior-software-engineer.md --use-rag --docx")
265273

266-
print("\n✅ Hybrid resume generation is now RAG-enabled!")
274+
print("\n✅ Hybrid resume generation is now RAG-enabled with DOCX export support!")
267275

268276

269277
def main():

0 commit comments

Comments
 (0)