@@ -2071,7 +2071,10 @@ def expected_export_v2_image():
2071
2071
{
2072
2072
"name" : "text" ,
2073
2073
"value" : "text" ,
2074
- "text_answer" : {"content" : "free form text..." },
2074
+ "text_answer" : {
2075
+ "content" : "free form text..." ,
2076
+ "classifications" : []
2077
+ },
2075
2078
},
2076
2079
],
2077
2080
"relationships" : [],
@@ -2103,7 +2106,10 @@ def expected_export_v2_audio():
2103
2106
{
2104
2107
"name" : "text" ,
2105
2108
"value" : "text" ,
2106
- "text_answer" : {"content" : "free form text..." },
2109
+ "text_answer" : {
2110
+ "content" : "free form text..." ,
2111
+ "classifications" : []
2112
+ },
2107
2113
},
2108
2114
],
2109
2115
"segments" : {},
@@ -2120,7 +2126,10 @@ def expected_export_v2_html():
2120
2126
{
2121
2127
"name" : "text" ,
2122
2128
"value" : "text" ,
2123
- "text_answer" : {"content" : "free form text..." },
2129
+ "text_answer" : {
2130
+ "content" : "free form text..." ,
2131
+ "classifications" : []
2132
+ },
2124
2133
},
2125
2134
{
2126
2135
"name" : "checklist" ,
@@ -2180,7 +2189,10 @@ def expected_export_v2_text():
2180
2189
{
2181
2190
"name" : "text" ,
2182
2191
"value" : "text" ,
2183
- "text_answer" : {"content" : "free form text..." },
2192
+ "text_answer" : {
2193
+ "content" : "free form text..." ,
2194
+ "classifications" : []
2195
+ },
2184
2196
},
2185
2197
],
2186
2198
"relationships" : [],
@@ -2328,7 +2340,40 @@ def expected_export_v2_document():
2328
2340
{
2329
2341
"name" : "text" ,
2330
2342
"value" : "text" ,
2331
- "text_answer" : {"content" : "free form text..." },
2343
+ "text_answer" : {
2344
+ "content" : "free form text..." ,
2345
+ "classifications" : []
2346
+ },
2347
+ },
2348
+ ],
2349
+ "relationships" : [],
2350
+ }
2351
+ return expected_annotations
2352
+
2353
+
2354
+ @pytest .fixture ()
2355
+ def expected_export_v2_llm_prompt_creation ():
2356
+ expected_annotations = {
2357
+ "objects" : [],
2358
+ "classifications" : [
2359
+ {
2360
+ "name" :
2361
+ "checklist" ,
2362
+ "value" :
2363
+ "checklist" ,
2364
+ "checklist_answers" : [{
2365
+ "name" : "option1" ,
2366
+ "value" : "option1" ,
2367
+ "classifications" : []
2368
+ }],
2369
+ },
2370
+ {
2371
+ "name" : "text" ,
2372
+ "value" : "text" ,
2373
+ "text_answer" : {
2374
+ "content" : "free form text..." ,
2375
+ "classifications" : []
2376
+ },
2332
2377
},
2333
2378
],
2334
2379
"relationships" : [],
@@ -2344,11 +2389,17 @@ def expected_export_v2_llm_prompt_response_creation():
2344
2389
{
2345
2390
"name" : "prompt-text" ,
2346
2391
"value" : "prompt-text" ,
2347
- "text_answer" : {"content" : "free form text..." },
2392
+ "text_answer" : {
2393
+ "content" : "free form text..." ,
2394
+ "classifications" : []
2395
+ },
2348
2396
},
2349
2397
{
2350
2398
"name" : "response-text" ,
2351
- "text_answer" : {"content" : "free form text..." },
2399
+ "text_answer" : {
2400
+ "content" : "free form text..." ,
2401
+ "classifications" : []
2402
+ },
2352
2403
"value" : "response-text" ,
2353
2404
},
2354
2405
{
@@ -2390,7 +2441,10 @@ def expected_export_v2_llm_prompt_creation():
2390
2441
{
2391
2442
"name" : "prompt-text" ,
2392
2443
"value" : "prompt-text" ,
2393
- "text_answer" : {"content" : "free form text..." },
2444
+ "text_answer" : {
2445
+ "content" : "free form text..." ,
2446
+ "classifications" : []
2447
+ },
2394
2448
},
2395
2449
],
2396
2450
"relationships" : [],
@@ -2406,7 +2460,10 @@ def expected_export_v2_llm_response_creation():
2406
2460
"classifications" : [
2407
2461
{
2408
2462
"name" : "response-text" ,
2409
- "text_answer" : {"content" : "free form text..." },
2463
+ "text_answer" : {
2464
+ "content" : "free form text..." ,
2465
+ "classifications" : []
2466
+ },
2410
2467
"value" : "response-text" ,
2411
2468
},
2412
2469
{
@@ -2518,7 +2575,10 @@ def expected_exports_v2_mmc(mmc_example_data_row_message_ids):
2518
2575
{
2519
2576
"name" : "text" ,
2520
2577
"value" : "text" ,
2521
- "text_answer" : {"content" : "free form text..." },
2578
+ "text_answer" : {
2579
+ "content" : "free form text..." ,
2580
+ "classifications" : []
2581
+ },
2522
2582
},
2523
2583
{
2524
2584
"name" : "radio_index" ,
0 commit comments