Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
__init__.py25 linesDownload Raw Back to chains
1"""2Chains module for langchain_community3 4This module contains the community chains.5"""6 7import importlib8from typing import TYPE_CHECKING, Any9 10if TYPE_CHECKING:11    from langchain_community.chains.pebblo_retrieval.base import PebbloRetrievalQA12 13__all__ = ["PebbloRetrievalQA"]14 15_module_lookup = {16    "PebbloRetrievalQA": "langchain_community.chains.pebblo_retrieval.base"17}18 19 20def __getattr__(name: str) -> Any:21    if name in _module_lookup:22        module = importlib.import_module(_module_lookup[name])23        return getattr(module, name)24    raise AttributeError(f"module {__name__} has no attribute {name}")25 
codekingpro/portable-devtools · Team Ai