Xuehao Xu 29ba806fc6
feat(knowledge): add independent Wiki and entity relation retrieval tools (#7171)
* feat(knowledge): add independent Wiki and entity relation retrieval tools

* fix(knowledge): address review diagnostics and CI catalog coverage

* fix(knowledge): deduplicate graph evidence and update catalog e2e

* fix(knowledge): clarify bounded evidence and pin browser CI runners

* Update e2e-tests to run on ubuntu-latest

* Update workflow to use ubuntu-latest

* test(ci): stop pinning maintainer-controlled browser runner images

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-10-22 16:54:58 +08:00

14 lines
455 B
Python

"""Optional LightRAG document and entity relation retrieval plugin."""
from deerflow_extension_api import extension
from .provider import LightRAGProvider
__all__ = ["LightRAGProvider", "install"]
@extension(api="0.2.7", name="lightrag-relations")
def install(registry, config):
if not registry.knowledge_provider("lightrag-relations", LightRAGProvider(dict(config))):
raise RuntimeError("This host does not support knowledge providers")