mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-30 16:47:19 +00:00
* Updated text_label tests to match tabel_label tests. Also added answer text as part of the Answer.__eq__ comparison. * Updated text document unit tests to match ones from table docs * Converting text answer unit tests to match table answer * Update some document tests * Minor update * Separating unit tests
23 lines
291 B
JSON
23 lines
291 B
JSON
{
|
|
"answer": "an answer",
|
|
"type": "extractive",
|
|
"score": 0.1,
|
|
"context": "abc",
|
|
"offsets_in_document": [
|
|
{
|
|
"start": 1,
|
|
"end": 10
|
|
}
|
|
],
|
|
"offsets_in_context": [
|
|
{
|
|
"start": 3,
|
|
"end": 5
|
|
}
|
|
],
|
|
"document_ids": [
|
|
"123"
|
|
],
|
|
"meta": {}
|
|
}
|