diff --git a/haystack/finder.py b/haystack/finder.py index d9b687b51..9cf047c87 100644 --- a/haystack/finder.py +++ b/haystack/finder.py @@ -86,7 +86,7 @@ class Finder: for doc in documents: #TODO proper calibratation of pseudo probabilities cur_answer = {"question": doc.meta["question"], "answer": doc.text, "context": doc.text, - "score": doc.query_score, "offset_start": 0, "offset_end": len(doc.text), + "score": doc.query_score, "offset_start": 0, "offset_end": len(doc.text), "meta": doc.meta } if self.retriever.embedding_model: probability = (doc.query_score + 1) / 2