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

Function find_profile_topic_key

agents/master-coordinator/main.py:582–585  ·  view source on GitHub ↗

Resolve a free-form topic label back to the stored profile key when possible.

(profile: Dict[str, Any], topic_text: str)

Source from the content-addressed store, hash-verified

580
581
582def find_profile_topic_key(profile: Dict[str, Any], topic_text: str) -> Optional[str]:
583 """Resolve a free-form topic label back to the stored profile key when possible."""
584 matches = find_related_profile_topic_keys(profile, topic_text)
585 return matches[0] if matches else None
586
587
588def _parse_profile_update_with_llm(text: str, profile: Optional[Dict[str, Any]] = None) -> Optional[Dict[str, Any]]:

Callers 2

handle_profile_updateMethod · 0.85

Calls 1

Tested by

no test coverage detected