mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-04 14:52:12 +08:00
feat(plugins): consolidate official plugins with independent releases (LANG-180) (#2797)
Co-authored-by: multica-agent <[email protected]>
This commit is contained in:
co-authored by
multica-agent
parent
d099033d79
commit
3a77306c3c
@@ -0,0 +1,17 @@
|
||||
"""Knowledge engine package exports.
|
||||
|
||||
Keep the LangRAG import lazy so importing helper modules such as
|
||||
``components.knowledge_engine.query_rewrite`` does not require optional parser
|
||||
dependencies.
|
||||
"""
|
||||
|
||||
|
||||
def __getattr__(name: str):
|
||||
if name == "LangRAG":
|
||||
from .langrag import LangRAG
|
||||
|
||||
return LangRAG
|
||||
raise AttributeError(name)
|
||||
|
||||
|
||||
__all__ = ["LangRAG"]
|
||||
Reference in New Issue
Block a user