mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 20:35:22 +08:00
18 lines
372 B
Python
18 lines
372 B
Python
"""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"]
|