mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-02 08:30:37 +00:00
* 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>
14 lines
455 B
Python
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")
|