entbappy / End-to-end-Medical-Chatbot-using-Llama2

MIT License
104 stars 188 forks source link

Validation Error in RetrievalQA while creating final chain #2

Open d-pamneja opened 7 months ago

d-pamneja commented 7 months ago

While creating the RetrievalQA, it shows this error of not being able to instantiate abstract class BaseRetriever with abstract methods _aget_relevant_documents, _get_relevant_documents. The error can be seen in the screenshot below:

Screenshot 2024-04-16 at 7 25 22 AM

After this, I inspected the inheritance of VectorStoreRetriever from BaseRetriever along with the presence of relevant methods, as shown below:

Screenshot 2024-04-16 at 7 29 28 AM

Kindly help me identify where the issue is and how it can be resolved.

FakharNaqvi1 commented 4 months ago

I am also facing this issue... Kindly guide

CoderDebjeet commented 2 months ago

I am also facing this issue... Kindly guide