RAG#
Submodules#
Basic RAG#
Class for Basic RAG.
This module provides:
BasicRAG
- class grag.rag.basic_rag.BasicRAG(retriever: Retriever | None = None, model_name=None, doc_chain='stuff', task='QA', llm_kwargs=None, retriever_kwargs=None, stream: bool = False, custom_prompt: Prompt | FewShotPrompt | None = None)[source]#
Bases:
object
Class for Basis RAG.