mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
54e003268e
- **Description:** PebbloRetrievalQA chain introduces identity enforcement using vector-db metadata filtering - **Dependencies:** None - **Issue:** None - **Documentation:** Adding documentation for PebbloRetrievalQA chain in a separate PR(https://github.com/langchain-ai/langchain/pull/20746) - **Unit tests:** New unit-tests added --------- Co-authored-by: Eugene Yurtsev <eugene@langchain.dev>
25 lines
618 B
Python
25 lines
618 B
Python
"""
|
|
Chains module for langchain_community
|
|
|
|
This module contains the community chains.
|
|
"""
|
|
|
|
import importlib
|
|
from typing import TYPE_CHECKING, Any
|
|
|
|
if TYPE_CHECKING:
|
|
from langchain_community.chains.pebblo_retrieval.base import PebbloRetrievalQA
|
|
|
|
__all__ = ["PebbloRetrievalQA"]
|
|
|
|
_module_lookup = {
|
|
"PebbloRetrievalQA": "langchain_community.chains.pebblo_retrieval.base"
|
|
}
|
|
|
|
|
|
def __getattr__(name: str) -> Any:
|
|
if name in _module_lookup:
|
|
module = importlib.import_module(_module_lookup[name])
|
|
return getattr(module, name)
|
|
raise AttributeError(f"module {__name__} has no attribute {name}")
|