(
self,
chain_type: str,
retriever,
llm,
chain_type_kwargs: dict
)
| 37 | |
| 38 | class RChain(BaseQaChain): |
| 39 | def __init__( |
| 40 | self, |
| 41 | chain_type: str, |
| 42 | retriever, |
| 43 | llm, |
| 44 | chain_type_kwargs: dict |
| 45 | ) -> None: |
| 46 | super().__init__(chain_type, retriever, llm) |
| 47 | self.chain_type_kwargs = chain_type_kwargs |
| 48 | |
| 49 | @property |
| 50 | def create_qa_chain(self) -> RetrievalQA: |