diff --git a/haystack/nodes/reader/farm.py b/haystack/nodes/reader/farm.py index 9e9d065a2d..32420a05b0 100644 --- a/haystack/nodes/reader/farm.py +++ b/haystack/nodes/reader/farm.py @@ -887,7 +887,7 @@ def predict(self, query: str, documents: List[Document], top_k: Optional[int] = 'answer': 'Eddard,', 'context': "She travels with her father, Eddard, to King's Landing when he is", 'score': 0.9787139466668613, - 'offsets_in_context': [Span(start=29, end=35], + 'offsets_in_document': [Span(start=29, end=35], 'offsets_in_context': [Span(start=347, end=353], 'document_id': '88d1ed769d003939d3a0d28034464ab2' ),...