Skip to content

Commit 5599dea

Browse files
committed
AL-3578: Added text test case
1 parent 647760a commit 5599dea

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed
Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
[
22
{
3-
"answer": { "schemaId": "ckrb1sfl8099g0y91cxbd5ftb" },
3+
"answer": {
4+
"schemaId": "ckrb1sfl8099g0y91cxbd5ftb",
5+
"confidence": 0.42
6+
},
47
"schemaId": "ckrb1sfjx099a0y914hl319ie",
5-
"dataRow": { "id": "ckrb1sf1i1g7i0ybcdc6oc8ct" },
8+
"dataRow": {
9+
"id": "ckrb1sf1i1g7i0ybcdc6oc8ct"
10+
},
611
"uuid": "f6879f59-d2b5-49c2-aceb-d9e8dc478673"
712
},
813
{
9-
"answer": [{ "schemaId": "ckrb1sfl8099e0y919v260awv" }],
14+
"answer": [
15+
{
16+
"schemaId": "ckrb1sfl8099e0y919v260awv"
17+
}
18+
],
1019
"schemaId": "ckrb1sfkn099c0y910wbo0p1a",
11-
"dataRow": { "id": "ckrb1sf1i1g7i0ybcdc6oc8ct" },
20+
"dataRow": {
21+
"id": "ckrb1sf1i1g7i0ybcdc6oc8ct"
22+
},
1223
"uuid": "d009925d-91a3-4f67-abd9-753453f5a584"
1324
}
14-
]
25+
]

tests/data/assets/ndjson/text_import_name_only.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"uuid": "f6879f59-d2b5-49c2-aceb-d9e8dc478673"
77
},
88
{
9-
"answer": [{ "name": "answer b" }],
9+
"answer": [{ "name": "answer b", "confidence": 1 }],
1010
"name": "question 2",
1111
"dataRow": { "id": "ckrb1sf1i1g7i0ybcdc6oc8ct" },
1212
"uuid": "d009925d-91a3-4f67-abd9-753453f5a584"

0 commit comments

Comments
 (0)