stages
__all__ = ['BaseRagStage', 'RetrievalRagStage', 'QueryRagStage', 'ResponseRagStage']
module-attribute
BaseRagStage
Bases: FuturesExecutorMixin
, ABC
Source code in griptape/engines/rag/stages/base_rag_stage.py
QueryRagStage
Bases: BaseRagStage
Source code in griptape/engines/rag/stages/query_rag_stage.py
modules: Sequence[BaseRagModule]
property
query_modules: list[BaseQueryRagModule] = field()
class-attribute
instance-attribute
run(context)
ResponseRagStage
Bases: BaseRagStage
Source code in griptape/engines/rag/stages/response_rag_stage.py
modules: list[BaseRagModule]
property
response_modules: list[BaseResponseRagModule] = field()
class-attribute
instance-attribute
run(context)
Source code in griptape/engines/rag/stages/response_rag_stage.py
RetrievalRagStage
Bases: BaseRagStage