Bases: FuturesExecutorMixin
, ABC
Source code in griptape/engines/rag/stages/base_rag_stage.py
| @define(kw_only=True)
class BaseRagStage(FuturesExecutorMixin, ABC):
@abstractmethod
def run(self, context: RagContext) -> RagContext: ...
@property
@abstractmethod
def modules(self) -> Sequence[BaseRagModule]: ...
|
modules: Sequence[BaseRagModule]
abstractmethod
property
run(context)
abstractmethod
Source code in griptape/engines/rag/stages/base_rag_stage.py
| @abstractmethod
def run(self, context: RagContext) -> RagContext: ...
|