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

Function _backlink_concepts

openkb/agent/compiler.py:1277–1279  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

1275
1276
1277def _backlink_concepts(wiki_dir: Path, doc_name: str, concept_slugs: list[str]) -> None:
1278 """Link every related concept page back to the source summary (no LLM call)."""
1279 _backlink_pages(wiki_dir, doc_name, concept_slugs, page_dir="concepts")
1280
1281
1282def _backlink_summary_entities(wiki_dir: Path, doc_name: str, entity_slugs: list[str]) -> None:

Calls 1

_backlink_pagesFunction · 0.85