Is your feature request related to a problem? Please describe.
During bot instanciation the user should be able to specify if they need sources in their responses. This is especially true with the qna-over-docs bots.
Describe the solution you'd like
qnabot = bot("qna-over-docs", sources=True)
You can use the load_qa_with_sources_chain from LangChain but in my tests it failed when I tries to change the prompt. Maybe I was doing something wrong, but I also opened an issue
Describe alternatives you've considered
There is a chance that the ready-made chains provided by LangChain won't be enough after some time. But this is for later I think.
Is your feature request related to a problem? Please describe. During bot instanciation the user should be able to specify if they need sources in their responses. This is especially true with the
qna-over-docs
bots.Describe the solution you'd like
You can use the
load_qa_with_sources_chain
from LangChain but in my tests it failed when I tries to change the prompt. Maybe I was doing something wrong, but I also opened an issueDescribe alternatives you've considered There is a chance that the ready-made chains provided by LangChain won't be enough after some time. But this is for later I think.
Additional context NA