Using a different chain, i.e., create_retrieval_chain in custom tools due to RetrievalQA deprecation
I am using RetrievalQA
to define custom tools for my RAG. According to the official documentation, RetrievalQA
will be deprecated soon, and it is recommended to use other chains such as create_retrieval_chain
. Could you provide guidance on the correct way to use create_retrieval_chain
in custom tools? I am currently encountering errors.