How can I permanently correct a wrong answer in ODQA or FAQ?

Hi there,

I was wondering if I’m working with ODQA or with FAQ and deeppavlov returns me a wrong answer, then how am I able to tell the chatbot the correct answer so it will not repeat the wrong answer in the future and remember the right answer?

In case of CSV with FAQ is a new line added then or how does that work? And in case of ODQA with a folder of text files?
(I’m using the python implmentation by the way)

Thank you for the support!

1 Like

Hi!
Adding new line to CSV file for FAQ model should help.
In case of ODQA I think you will have to combine FAQ (for corrected answers) and ODQA model answers. If FAQ found an answer return answer from FAQ, else return answer from ODQA.

1 Like

Blockquote If FAQ found an answer return answer from FAQ, else return answer from ODQA.

Can I do it with one combine model (with one config etc.) or I should use two models: one FAQ and one ODQA?