Skip to content

base_retrieval_rag_module

BaseRetrievalRagModule

Bases: BaseRagModule, ABC

Source code in griptape/engines/rag/modules/retrieval/base_retrieval_rag_module.py
@define(kw_only=True)
class BaseRetrievalRagModule(BaseRagModule, ABC):
    @abstractmethod
    def run(self, context: RagContext) -> Sequence[BaseArtifact]: ...

run(context) abstractmethod

Source code in griptape/engines/rag/modules/retrieval/base_retrieval_rag_module.py
@abstractmethod
def run(self, context: RagContext) -> Sequence[BaseArtifact]: ...