deepset-ai / COVID-QA

API & Webapp to answer questions about COVID-19. Using NLP (Question Answering) and trusted data sources.
Apache License 2.0
344 stars 121 forks source link

Frontend: giving Feedback results in tagging multiple ansers #59

Closed David-Mueller closed 4 years ago

David-Mueller commented 4 years ago

"I just wanted to 'like' the upper answer, but by clicking the button the second (incorrect) answer also was marked with a green like. Question asked was "Wie lang ist die Inkubationszeit" or something similar."

The problem seems to be, that there answers have the same document_id. We need some unique id for each answer - maybe paragraph_id?

Example: paragraph_id:"HnLWAnEB3Qua7g62e99g" document_id:"1"

tholor commented 4 years ago

@tanaysoni can you please have a look at this? I suppose it's due to wrong indexing in elasticsearch