Closed hungchiayu1 closed 4 months ago
https://github.com/Capstone-S17/DuRAG/blob/e913c16f8a6ce537140479ed0ae6c594ffa0245b/src/pipelines/rag_swr.py#L50-L63
I think it is recommended to initialize the retriever just once within a RAG pipeline class. The RAG pipeline class will store a weaviate instance and connect every time it calls the retriever
Fixed
https://github.com/Capstone-S17/DuRAG/blob/e913c16f8a6ce537140479ed0ae6c594ffa0245b/src/pipelines/rag_swr.py#L50-L63
I think it is recommended to initialize the retriever just once within a RAG pipeline class. The RAG pipeline class will store a weaviate instance and connect every time it calls the retriever