MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / _backlink_summary_entities

Function _backlink_summary_entities

openkb/agent/compiler.py:1282–1290  ·  view source on GitHub ↗

Link the summary page back to every related entity under '## Entities'.

(wiki_dir: Path, doc_name: str, entity_slugs: list[str])

Source from the content-addressed store, hash-verified

1280
1281
1282def _backlink_summary_entities(wiki_dir: Path, doc_name: str, entity_slugs: list[str]) -> None:
1283 """Link the summary page back to every related entity under '## Entities'."""
1284 _backlink_summary_pages(
1285 wiki_dir,
1286 doc_name,
1287 entity_slugs,
1288 page_dir="entities",
1289 section="## Entities",
1290 )
1291
1292
1293def _backlink_entities(wiki_dir: Path, doc_name: str, entity_slugs: list[str]) -> None:

Callers 3

test_idempotentMethod · 0.90
_compile_conceptsFunction · 0.85

Calls 1

_backlink_summary_pagesFunction · 0.85

Tested by 2

test_idempotentMethod · 0.72