AI-Resume-Ranking-hybrid / core /explainability.py
yhng2525's picture
clean up all files
71101cf
raw
history blame contribute delete
321 Bytes
from pathlib import Path
from core.crew_explainer import generate_explanation
def explain_candidate(jd_path: str, match_path: str, rank: int | None = None) -> dict:
# You can add caching later if you want (by match_path hash)
return generate_explanation(jd_path=jd_path, match_path=match_path, top_k_rank=rank)