Logo
Explore Help
Register Sign In
yujunjun/haystack
1
0
Fork 0
You've already forked haystack
mirror of https://github.com/deepset-ai/haystack.git synced 2025-12-31 00:57:37 +00:00
Code Issues Packages Projects Releases Wiki Activity
haystack/test/samples/schema/text_answer.json

23 lines
291 B
JSON
Raw Normal View History

test: Update unit tests for schema (#4835) * 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
2023-05-10 16:16:45 +02:00
{
"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": {}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 1048ms Template: 62ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API