mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-05 03:28:09 +00:00
Remove document_name from FARMReader (#31)
This commit is contained in:
parent
35a22be49b
commit
f6a3dee2b2
@ -190,8 +190,7 @@ class FARMReader:
|
||||
for paragraph, meta_data in zip(paragraphs, meta_data_paragraphs):
|
||||
cur = {"text": paragraph,
|
||||
"questions": [question],
|
||||
"document_id": meta_data["document_id"],
|
||||
"document_name": meta_data["document_name"],
|
||||
"document_id": meta_data["document_id"]
|
||||
}
|
||||
input_dicts.append(cur)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user