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

Function entities_text

experiments/baselines/knowledge_entity/runner.py:357–358  ·  view source on GitHub ↗
(entities: Sequence[str])

Source from the content-addressed store, hash-verified

355
356
357def entities_text(entities: Sequence[str]) -> str:
358 return " ".join(normalize_phrase_text(entity) for entity in entities if normalize_phrase_text(entity))
359
360
361def load_roles(roles_file: Path) -> Dict[str, Dict[str, Any]]:

Callers 4

prepare_vectorsMethod · 0.85
update_selectedMethod · 0.85
rerank_episodesFunction · 0.85

Calls 1

normalize_phrase_textFunction · 0.70

Tested by

no test coverage detected