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

Function _backlink_entities

openkb/agent/compiler.py:1293–1295  ·  view source on GitHub ↗

Link every related entity page back to the source summary (no LLM call).

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

Source from the content-addressed store, hash-verified

1291
1292
1293def _backlink_entities(wiki_dir: Path, doc_name: str, entity_slugs: list[str]) -> None:
1294 """Link every related entity page back to the source summary (no LLM call)."""
1295 _backlink_pages(wiki_dir, doc_name, entity_slugs, page_dir="entities")
1296
1297
1298def _remove_doc_from_pages(

Callers 2

_compile_conceptsFunction · 0.85

Calls 1

_backlink_pagesFunction · 0.85

Tested by 1