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

Function _backlink_summary

openkb/agent/compiler.py:1266–1274  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

1264
1265
1266def _backlink_summary(wiki_dir: Path, doc_name: str, concept_slugs: list[str]) -> None:
1267 """Link the summary page back to every related concept (no LLM call)."""
1268 _backlink_summary_pages(
1269 wiki_dir,
1270 doc_name,
1271 concept_slugs,
1272 page_dir="concepts",
1273 section="## Related Concepts",
1274 )
1275
1276
1277def _backlink_concepts(wiki_dir: Path, doc_name: str, concept_slugs: list[str]) -> None:

Calls 1

_backlink_summary_pagesFunction · 0.85