Skip to content

Commit

Permalink
Fix doc FARMReader.predict (#5049)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcreux authored May 31, 2023
1 parent 3fd9e0f commit e209abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/nodes/reader/farm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
),...
Expand Down

0 comments on commit e209abd

Please sign in to comment.