MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _format_pdf_section_label

Function _format_pdf_section_label

agents/reading-agent/main.py:3049–3053  ·  view source on GitHub ↗
(section: str)

Source from the content-addressed store, hash-verified

3047
3048def _format_pdf_section_label(section: str) -> str:
3049 normalized = _clean_text(section).replace("_", " ").replace("-", " ")
3050 if not normalized:
3051 return "PDF"
3052 return normalized.title()
3053
3054
3055def _summarize_profile_for_embedding(user_profile: Dict[str, Any]) -> str:
3056 core_directions = user_profile.get("core_directions", {}) or {}

Callers 2

_format_evidence_anchorFunction · 0.85

Calls 1

_clean_textFunction · 0.70

Tested by

no test coverage detected