fixed typo (#1680)

* fixed typo

* Add latest docstring and tutorial changes

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Julian Risch 2021-11-01 10:38:39 +01:00 committed by GitHub
parent da90acf650
commit efdcd24d70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ document_store = ElasticsearchDocumentStore(host="localhost",
## Add Tables to DocumentStore
To quickly demonstrate the capabilities of the `TableTextRetriever` and the `TableReader` we use a subset of 1000 tables of the [Open Table-and-Text Question Answering (OTT-QA) dataset](https://github.com/wenhuchen/OTT-QA).
Just as text passages, tables are represented as `Document` ojects in Haystack. The content field, though, is a pandas DataFrame instead of a string.
Just as text passages, tables are represented as `Document` objects in Haystack. The content field, though, is a pandas DataFrame instead of a string.
```python

View File

@ -152,7 +152,7 @@
"## Add Tables to DocumentStore\n",
"To quickly demonstrate the capabilities of the `TableTextRetriever` and the `TableReader` we use a subset of 1000 tables of the [Open Table-and-Text Question Answering (OTT-QA) dataset](https://github.com/wenhuchen/OTT-QA).\n",
"\n",
"Just as text passages, tables are represented as `Document` ojects in Haystack. The content field, though, is a pandas DataFrame instead of a string."
"Just as text passages, tables are represented as `Document` objects in Haystack. The content field, though, is a pandas DataFrame instead of a string."
]
},
{
@ -758,4 +758,4 @@
]
}
]
}
}