1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'ROA', 'product' => 'DianJin', 'version' => '2024-06-28'],
'directories' => [
[
'children' => [
'UpdateDocumentChunk', 'GetAppConfig', 'CreateLibrary', 'GetLibraryList', 'GetLibrary', 'UploadDocument', 'GetDocumentUrl', 'PreviewDocument', 'GetFilterDocumentList', 'GetDocumentList', 'DeleteDocument', 'UpdateDocument', 'CreatePredefinedDocument', 'GetDocumentChunkList', 'RecallDocument', 'GetParseResult', 'ReIndex', 'UpdateLibrary', 'DeleteLibrary', 'RunLibraryChatGeneration',
'GetHistoryListByBizType', 'InvokePlugin',
],
'type' => 'directory',
'title' => 'Platform capabilities - document library',
],
[
'children' => [
'EndToEndRealTimeDialog', 'RunDialogAnalysis', 'RunAgent', 'CreateDialog', 'RealTimeDialog', 'RealtimeDialogAssist', 'GetDialogDetail', 'GetDialogLog', 'GetDialogAnalysisResult', 'CreateDialogAnalysisTask', 'RebuildTask', 'EvictTask', 'GetTaskStatus', 'CreateDocsSummaryTask', 'CreateAnnualDocSummaryTask', 'CreatePdfTranslateTask', 'CreateFinReportSummaryTask', 'GetSummaryTaskResult', 'GetTaskResult', 'CreateQualityCheckTask',
'GetQualityCheckTaskResult', 'RecognizeIntention', 'GenDocQaResult', 'UpdateQaLibrary', 'SubmitChatQuestion', 'GetChatQuestionResp', 'RunChatResultGeneration',
],
'type' => 'directory',
'title' => 'Platform capabilities - applications',
],
[
'children' => ['DashscopeAsyncTaskFinishEvent'],
'type' => 'directory',
'title' => 'Others',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'CreateAnnualDocSummaryTask' => [
'summary' => 'Create a task to summarize documents by year.',
'path' => '/{workspaceId}/api/task/summary/doc/annual',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body',
'type' => 'object',
'properties' => [
'anaYears' => [
'title' => '',
'description' => 'List of years to analyze',
'type' => 'array',
'items' => ['description' => 'Year to analyze', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2023', 'title' => ''],
'required' => true,
'example' => '',
],
'docInfos' => [
'title' => '',
'description' => 'List of document information',
'type' => 'array',
'items' => [
'description' => 'Document information',
'type' => 'object',
'properties' => [
'docId' => ['description' => 'Document ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '198386463432'],
'docYear' => ['description' => 'Document year', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '2023'],
'endPage' => ['description' => 'End page number', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '2'],
'libraryId' => ['description' => 'Document library ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'rdxrmo6amk'],
'startPage' => ['description' => 'Start page number', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
'enableTable' => ['description' => 'Enable table extraction. Default is true.', 'type' => 'boolean', 'required' => false, 'default' => 'true', 'title' => '', 'example' => 'true'],
'instruction' => ['description' => 'Instruction', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '你是资深的证券研究员,对xx年上市公司进行业绩分析。根据参考信息从如下方面详细分析:'."\n"
.'1. 整体业绩变化情况,包括营收,利润等详细指标变化情况'."\n"
.'2. 业绩变化情况具体原因,包括各个业务变化情况'."\n"
.'严格只输出xx年情况。'],
'modelId' => ['description' => 'Model ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'qwen-plus'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'ResultCode\\<string>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Processing time in milliseconds', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'Response data. This is the task ID.', 'type' => 'string', 'title' => '', 'example' => '3284627354'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '32FFC91D-0A9F-585A-B84F-8A54C5187035'],
'success' => ['description' => 'Indicates whether the request succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"3284627354\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"32FFC91D-0A9F-585A-B84F-8A54C5187035\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
'title' => 'Create a document summarization job by year',
'description' => 'Before you use this operation, review the billing methods and pricing for Alibaba Cloud Tongyi Dianjin.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'Obtain your [workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAnnualDocSummaryTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateAnnualDocSummaryTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateDialog' => [
'summary' => 'Creates an outbound call session.',
'path' => '/{workspaceId}/api/virtualHuman/dialog/create',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'playCode' => ['description' => 'The playbook code.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'live_broadcast_qa'],
'channel' => ['description' => 'The channel.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'taobao'],
'metaData' => ['description' => 'Other information.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => 'null'],
'qaLibraryList' => [
'title' => '',
'description' => 'A list of Q\\&A library IDs.',
'type' => 'array',
'items' => ['description' => 'The Q\\&A library ID.', 'type' => 'string', 'required' => false, 'example' => 'd86a4b9cd3', 'title' => ''],
'required' => false,
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ebf83826-dc1c-46f8-9759-0fb6da4c8xxx'."\n"],
'enableLibrary' => ['title' => 'Whether to enable the intent library. The default value is false. ', 'description' => 'Specifies whether to enable the intent library.', 'type' => 'boolean', 'required' => false, 'default' => 'true', 'example' => 'false'],
'selfDirected' => ['title' => 'Whether to enable self-directed Q&A. The default value is false. ', 'description' => 'Specifies whether to enable autonomous Q\\&A.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<DiaBaseResult>',
'description' => 'Result code:',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'sessionId' => ['description' => 'The session ID.', 'type' => 'string', 'title' => '', 'example' => '1728545917713234'],
'openingRemarks' => ['title' => 'Opening remarks', 'description' => 'The opening remarks.', 'type' => 'string', 'example' => '你好,我是XX客服人员。'],
],
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '003D019A-1BB3-53EC-A0D2-CE76DA5D73B1'],
'cost' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-01-01 00:00:00\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"sessionId\\": \\"1728545917713234\\",\\n \\"openingRemarks\\": \\"你好,我是XX客服人员。\\"\\n },\\n \\"requestId\\": \\"003D019A-1BB3-53EC-A0D2-CE76DA5D73B1\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Create an outbound call session',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '120', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDialog'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateDialog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateDialogAnalysisTask' => [
'summary' => 'Creates a session analysis task. After the task is created, use the session ID with GetDialogAnalysisResult to retrieve the results.',
'path' => '/{workspaceId}/api/virtualHuman/dialog/analysis/submit',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'metaData' => ['description' => 'The metadata. This includes business-related properties that are used during session analysis. The business system passes these properties in real time when it initiates the analysis task.'."\n"
."\n"
.'```'."\n"
.'{'."\n"
.' "labels": "XXX", // Tags'."\n"
.' "summaryConstraints": "XXX", // Summary dimensions'."\n"
.' "sopInfo": "XXX" // SOP information'."\n"
.'}'."\n"
.'```', 'type' => 'object', 'title' => '', 'required' => false, 'example' => '{'."\n"
.'"labels": "XXX",'."\n"
.'"summaryConstraints": "XXX",'."\n"
.'"sopInfo": "XXX"'."\n"
.'}'],
'playCode' => ['description' => 'The session scenario code, which is associated with the session analysis configuration.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'common'],
'analysisNodes' => [
'title' => '',
'description' => 'A list of analysis nodes. If you leave this parameter empty, all nodes are analyzed. You can specify one or more nodes.',
'type' => 'array',
'items' => [
'description' => 'An analysis node.',
'enumValueTitles' => ['DIALOG_EXECUTION_PLAN' => 'The execution plan.', 'DIALOG_SUMMARY' => 'The session summary.', 'DIALOG_SOP' => 'The session SOP.', 'DIALOG_LABEL' => 'The session tag.'],
'type' => 'string',
'required' => false,
'example' => 'DIALOG_LABEL',
'title' => '',
],
'required' => false,
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254'],
'conversationList' => [
'description' => 'The session content. You can specify multiple sessions.',
'type' => 'array',
'items' => [
'description' => 'The session content.',
'type' => 'object',
'properties' => [
'dialogueList' => [
'description' => 'A list of dialogues.',
'type' => 'array',
'items' => [
'description' => 'A dialogue.',
'type' => 'object',
'properties' => [
'content' => ['description' => 'The content of the dialogue.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '您好,我是2001,很高兴为您服务!'],
'role' => [
'description' => 'The role.',
'enumValueTitles' => ['Customer', 'Agent'],
'type' => 'string',
'required' => true,
'title' => '',
'example' => '1',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<List<String>>',
'description' => 'ResultCode\\<List>',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'The response data, which is a list of session IDs.',
'type' => 'array',
'items' => ['description' => 'The session ID.', 'type' => 'string', 'example' => '1876540295480209409', 'title' => ''],
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258'],
'cost' => ['description' => 'The time consumed by the request.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": [\\n \\"1876540295480209409\\"\\n ],\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Create Conversation Analysis Job ',
'description' => 'Before you use this API, review the billing methods and pricing for DianJin.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'You have activated Alibaba Cloud Model Studio and DianJin.'."\n"
."\n"
.'Obtain a workspace ID. For more information, see [Get a workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDialogAnalysisTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateDialogAnalysisTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateDocsSummaryTask' => [
'summary' => 'Creates a multi-document summary task.',
'path' => '/{workspaceId}/api/task/summary/docs',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx'."\n", 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body',
'type' => 'object',
'properties' => [
'docInfos' => [
'title' => '',
'description' => 'Document information list',
'type' => 'array',
'items' => [
'description' => 'Document information',
'type' => 'object',
'properties' => [
'docId' => ['description' => 'Document ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '198386463432'],
'endPage' => ['description' => 'End page number', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '2'],
'libraryId' => ['description' => 'Document library ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'rdxrmo6amk'],
'startPage' => ['description' => 'Start page number', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
'enableTable' => ['description' => 'Enable table parsing. Default is true.', 'type' => 'boolean', 'required' => false, 'default' => 'true', 'title' => '', 'example' => 'true'],
'instruction' => ['description' => 'Instruction', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '你是资深的证券研究员,对xx年上市公司进行业绩分析。根据参考信息从如下方面详细分析:'."\n"
.'1. 整体业绩变化情况,包括营收,利润等详细指标变化情况'."\n"
.'2. 业绩变化情况具体原因,包括各个业务变化情况'."\n"
.'严格只输出xx年情况。'],
'modelId' => ['description' => 'Model ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'qwen-plus'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'ResultCode\\<string>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Processing time, in milliseconds', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'Response data. Task ID.', 'type' => 'string', 'title' => '', 'example' => '765675376'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '32FFC91D-0A9F-585A-B84F-8A54C5187035'],
'success' => ['description' => 'Indicates whether the request succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"765675376\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"32FFC91D-0A9F-585A-B84F-8A54C5187035\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
'title' => 'Create a multi-document summarization job',
'description' => 'Before you use this API, review the billing methods and pricing for Alibaba Cloud Tongyi Dianjin.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'You have obtained a [workspace identifier](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDocsSummaryTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateDocsSummaryTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateFinReportSummaryTask' => [
'summary' => 'Creates a financial report summary.',
'path' => '/{workspaceId}/api/task/summary',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameters',
'type' => 'object',
'properties' => [
'docId' => ['description' => 'Document ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '123'],
'enableTable' => ['description' => 'Enable table', 'type' => 'boolean', 'required' => true, 'title' => '', 'example' => 'true'],
'endPage' => ['description' => 'End page', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
'instruction' => ['description' => 'Instruction', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '请帮我总结一下。'],
'libraryId' => ['description' => 'Document library ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '3akzl28vap'],
'modelId' => ['description' => 'Model ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'qwen-max'],
'startPage' => ['description' => 'Start page', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
'taskType' => [
'description' => 'Task type. Optional. Defaults to finance\\_report. If you set this to custom, provide an instruction.',
'enumValueTitles' => ['custom' => 'custom', 'finance_report' => 'finance\\_report'],
'type' => 'string',
'title' => '',
'required' => false,
'example' => 'custom',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'ResultCode\\<string>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Time taken', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'Response data, task ID. Use this ID to query the task status and results later.', 'type' => 'string', 'title' => '', 'example' => '3284627354'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658'],
'success' => ['description' => 'Success', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"3284627354\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Create a Financial Report Summary Job',
'description' => 'Before using this API, review the pricing and billing methods for Alibaba Cloud Gold products.'."\n"
."\n"
.'**Prerequisites**'."\n"
."\n"
.'- Enable Alibaba Cloud Model Studio and Alibaba Cloud Gold services.'."\n"
."\n"
.'- Obtain the workspace ID. For more information, see [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFinReportSummaryTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateFinReportSummaryTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateLibrary' => [
'summary' => 'Creates a document library. A document library isolates document and index data. If your use case requires frequent natural language search by category, create multiple libraries to isolate different data types. You can customize vector and text indexes by format.',
'path' => '/{workspaceId}/api/library/create',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-ik******RVYCKzt', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body',
'type' => 'object',
'properties' => [
'description' => ['description' => 'Document library description', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '描述文档库的具体作用'],
'indexSetting' => [
'title' => '',
'description' => 'Index settings for the document library',
'type' => 'object',
'properties' => [
'chunkStrategy' => [
'title' => '',
'description' => 'Chunking strategy',
'type' => 'object',
'properties' => [
'docTreeSplit' => ['description' => 'Layout-based chunking', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'docTreeSplitSize' => ['description' => 'Layout-based chunk size', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '300'],
'enhanceGraph' => ['description' => 'Parse images in documents', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'enhanceTable' => ['description' => 'Parse tables in documents', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'overlap' => ['description' => 'Chunk overlap length', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '20'],
'sentenceSplit' => ['description' => 'Split by sentence', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'sentenceSplitSize' => ['description' => 'Sentence-based chunk size', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '300'],
'size' => ['description' => 'Chunk size', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '300'],
'split' => ['description' => 'Enable chunking', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
],
'required' => false,
'example' => '',
],
'modelConfig' => [
'title' => '',
'description' => 'Model configuration',
'type' => 'object',
'properties' => [
'temperature' => ['description' => 'Control the randomness and diversity of model responses. Higher values flatten the probability distribution over candidate tokens, increasing diversity. Lower values sharpen the distribution, increasing determinism.'."\n"
."\n"
.'Valid range: \\[0, 2). Avoid 0.', 'type' => 'number', 'format' => 'double', 'title' => '', 'required' => false, 'example' => '0.8'],
'topP' => ['title' => 'topP', 'description' => 'Probability threshold for nucleus sampling. For example, with a value of 0.8, only the smallest set of most likely tokens whose cumulative probability is at least 0.8 is used. Higher values increase randomness. Lower values increase determinism.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.8'],
],
'required' => false,
'example' => '',
],
'promptRoleStyle' => ['description' => 'Prompt role style. Specify a role and tone to guide response quality. Examples: Document analysis expert, friendly customer service agent, professional financial analyst.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '你是一位信息处理专家,耐心、友好、逻辑清晰。'],
'queryEnhancer' => [
'title' => '',
'description' => 'Query enhancement configuration',
'type' => 'object',
'properties' => [
'enableFollowUp' => ['description' => 'Rewrite queries using history', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'enableMultiQuery' => ['description' => 'Use Large Language Models (LLMs) to decompose queries', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'enableOpenQa' => ['description' => 'Use LLMs to answer queries', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'enableQueryRewrite' => ['description' => 'Enable query rewriting', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'enableSession' => ['description' => 'Enable multi-turn conversations', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'localKnowledgeId' => ['description' => 'Document library ID for knowledge rewriting', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'xxxx'],
'withDocumentReference' => ['description' => 'Include document references in responses', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
],
'required' => false,
'example' => '',
],
'recallStrategy' => [
'title' => '',
'description' => 'Retrieval strategy',
'type' => 'object',
'properties' => [
'documentRankType' => [
'description' => 'Merge and sort policy',
'enumValueTitles' => ['linear' => 'linear', 'model' => 'Model'],
'type' => 'string',
'title' => '',
'required' => false,
'example' => 'model',
],
'limit' => ['description' => 'Number of results from two-way merge and summarization', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '20'],
],
'required' => false,
'example' => '',
],
'textIndexSetting' => [
'title' => '',
'description' => 'Text index configuration',
'type' => 'object',
'properties' => [
'category' => [
'description' => 'Text index type. Only ElasticSearch is supported.',
'enumValueTitles' => ['ElasticSearch' => 'Elasticsearch'],
'type' => 'string',
'example' => 'ElasticSearch',
'pattern' => '^ElasticSearch$',
'default' => 'ElasticSearch',
'title' => '',
'required' => false,
],
'enable' => [
'description' => 'Enable text indexing',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'type' => 'boolean',
'title' => '',
'required' => false,
'example' => 'true',
],
'indexAnalyzer' => [
'title' => 'Standard: *, IkMaxWord, Whitespace, IkSmart',
'description' => 'Text index analyzer: Standard, IkMaxWord, or IkSmart',
'enumValueTitles' => ['IkSmart' => 'ik-smart', 'IkMaxWord' => 'IkMaxWord', 'Standard' => 'Standard'],
'type' => 'string',
'required' => false,
'example' => 'Standard',
],
'rankThreshold' => ['description' => 'Text index ranking threshold', 'type' => 'number', 'format' => 'double', 'title' => '', 'required' => false, 'example' => '0.5'],
'searchAnalyzer' => [
'title' => 'Standard: *, IkMaxWord, Whitespace, IkSmart',
'description' => 'Text index search analyzer: Standard, IkMaxWord, or IkSmart',
'enumValueTitles' => ['IkSmart' => 'IkSmart', 'IkMaxWord' => 'IkMaxWord', 'Standard' => 'Standard'],
'type' => 'string',
'required' => false,
'example' => 'Standard',
],
'topK' => ['description' => 'Number of final text index results', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '50'],
],
'required' => false,
'example' => '',
],
'vectorIndexSetting' => [
'title' => '',
'description' => 'Vector index settings',
'type' => 'object',
'properties' => [
'category' => [
'description' => 'Vector index source. Only ADB is supported.',
'enumValueTitles' => ['ADB' => 'ADB'],
'type' => 'string',
'example' => 'ADB',
'pattern' => '^ADB$',
'default' => 'ADB',
'title' => '',
'required' => false,
],
'embeddingType' => [
'description' => 'Text embedding type for vector indexing',
'enumValueTitles' => ['DashScope' => 'DashScope'],
'type' => 'string',
'title' => '',
'required' => false,
'example' => 'DashScope',
],
'enable' => [
'description' => 'Enable vector indexing',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'type' => 'boolean',
'title' => '',
'required' => false,
'example' => 'true',
],
'rankThreshold' => ['description' => 'Vector index ranking threshold', 'type' => 'number', 'format' => 'double', 'title' => '', 'required' => false, 'example' => '0.5'],
'topK' => ['description' => 'Number of final vector index results', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '50'],
],
'required' => false,
'example' => '',
],
],
'required' => false,
'example' => '',
],
'libraryName' => ['description' => 'Document library name', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '金融知识文档库'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'ResultCode\\<string>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Processing time in milliseconds', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '300'],
'data' => ['description' => 'Response data', 'type' => 'string', 'title' => '', 'example' => 'a1b2c3'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => '成功'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => 'xxxx-xxxx-xxxx-xxxx'],
'success' => ['description' => 'Operation success status', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 300,\\n \\"data\\": \\"a1b2c3\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"成功\\",\\n \\"requestId\\": \\"xxxx-xxxx-xxxx-xxxx\\",\\n \\"success\\": true,\\n \\"time\\": \\"null\\"\\n}","type":"json"}]',
'title' => 'Create a document library',
'description' => '**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'- Obtain the workspace ID: Retrieve the [workspace identifier](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLibrary'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateLibrary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreatePdfTranslateTask' => [
'summary' => 'Create a PDF document translation task. Submit the task to start asynchronous translation.',
'path' => '/{workspaceId}/api/task/pdfTranslate',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-ik******RVYCKzt', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body',
'type' => 'object',
'properties' => [
'docId' => ['description' => 'Document ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '873648346573245'],
'knowledge' => ['description' => 'Domain knowledge used as reference during translation', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '净利润 (Net Profit)'."\n"
.'英文:Net Profit'."\n"
.'中文:净利润(通常指扣除所有费用和税后的利润)'],
'libraryId' => ['description' => 'Document library ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cjshcxxxx'],
'modelId' => ['description' => 'Model ID', 'type' => 'string', 'required' => true, 'example' => 'qwen-plus', 'title' => ''],
'translateTo' => ['description' => 'Target language. Default is Chinese', 'type' => 'string', 'example' => '中文', 'default' => '中文', 'title' => '', 'required' => false],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'ResultCode\\<string>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Response time in milliseconds', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'Response data. Returns the task ID. Use this ID to query the task status and result.', 'type' => 'string', 'title' => '', 'example' => '3284627354'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658'],
'success' => ['description' => 'Indicates whether the request succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"3284627354\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Create a PDF Document Translation Job',
'description' => 'Before you use this operation, review the billing methods and pricing for Alibaba Cloud Tongyi Dianjin.'."\n"
."\n"
.'**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'- You have obtained a workspace ID. To obtain your [workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePdfTranslateTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreatePdfTranslateTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreatePredefinedDocument' => [
'summary' => 'Creates document chunks based on your business scenarios.',
'path' => '/{workspaceId}/api/library/document/createPredefinedDocument',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'chunks' => [
'title' => '',
'description' => 'A list of document chunks.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'chunkMeta' => ['description' => 'The metadata for the document chunk.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => '{"a": "1"}'],
'chunkOrder' => ['description' => 'The order of the chunk. This parameter is optional.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'chunkText' => ['description' => 'The text content of the document chunk.', 'type' => 'string', 'example' => '这是一段测试文本', 'title' => '', 'required' => false],
'chunkType' => [
'description' => 'The type of the document chunk.',
'type' => 'string',
'example' => 'text',
'default' => 'text',
'enum' => ['text', 'table', 'faq', 'graph'],
'title' => '',
'required' => false,
],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'libraryId' => ['description' => 'The ID of the document library.', 'type' => 'string', 'example' => 'a1b2c3', 'title' => '', 'required' => false],
'metadata' => ['description' => 'The metadata.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => '{"a": "1"}'],
'title' => ['description' => 'The title of the document.', 'type' => 'string', 'example' => '测试文档', 'title' => '', 'required' => false],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'ResultCode\\<string>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'The returned data.', 'type' => 'string', 'title' => '', 'example' => '1782981430906818562'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0a06dfe617018288881568684e2937'],
'success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"1782981430906818562\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"0a06dfe617018288881568684e2937\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Create a predefined document ',
'description' => 'Before using this API, review the billing methods and pricing for Tongyi Dianjin.'."\n"
."\n"
.'**Prerequisites**'."\n"
."\n"
.'- Activate Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'- Obtain a workspace ID. For more information, see [Get a workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePredefinedDocument'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreatePredefinedDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateQualityCheckTask' => [
'summary' => 'Creates a quality check task.',
'path' => '/{workspaceId}/api/qualitycheck/task/submit',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'conversationList' => [
'title' => '',
'description' => 'The conversation content. If associated with a quality check scenario, pass multiple conversations. Otherwise, pass only one.',
'type' => 'object',
'properties' => [
'callType' => [
'description' => 'Call type:',
'enumValueTitles' => [1 => 'Inbound', 'Outbound'],
'type' => 'string',
'title' => '',
'required' => false,
'example' => '1',
],
'customerId' => ['description' => 'The Customer ID.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '1'],
'customerName' => ['description' => 'The customer name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '张三'],
'customerServiceId' => ['description' => 'The customer service ID.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'xxx'],
'customerServiceName' => ['description' => 'The customer service name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '李四'],
'dialogueList' => [
'title' => '',
'description' => 'The list of dialogue details.',
'type' => 'array',
'items' => [
'description' => 'The dialogue details.',
'type' => 'object',
'properties' => [
'begin' => ['description' => 'The start time of this sentence. This is the offset time in milliseconds from the start of the conversation.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '0'],
'beginTime' => ['description' => 'The start time of this sentence.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2024-05-23 14:57:50'],
'content' => ['description' => 'The specific content of the dialogue.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '您好,我是2001,很高兴为您服务!'],
'customerId' => ['description' => 'The unique identifier of the dialogue role.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2348234'],
'customerServiceId' => ['description' => 'The customer service ID.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '23874627346'],
'customerServiceType' => [
'description' => 'Agent type:',
'enumValueTitles' => ['Robot', 'Human'],
'type' => 'string',
'title' => '',
'required' => false,
'example' => '0',
],
'end' => ['description' => 'The end time of this sentence. This is the offset time in milliseconds from the start of the conversation.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '0'],
'role' => [
'description' => 'Role:',
'enumValueTitles' => ['Customer', 'Agent'],
'type' => 'string',
'required' => true,
'title' => '',
'example' => '1',
],
'type' => [
'description' => 'Dialogue content type:',
'enumValueTitles' => ['IMAGE' => 'Image', 'TEXT' => 'Text', 'AUDIO' => 'Audio'],
'type' => 'string',
'required' => true,
'title' => '',
'example' => 'TEXT',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
'gmtService' => ['description' => 'The conversation time.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2024-09-27 11:23:20'],
],
'required' => true,
'example' => '',
],
'gmtService' => ['description' => 'The business occurrence time. The system uses this to record submission time, make task scheduling priority decisions, and so on.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '2024-09-27 11:23:20'],
'metaData' => [
'title' => '',
'description' => 'The metadata. These are properties related to business that rules consume during execution. The business system passes these in real-time when initiating a quality check.',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'The metadata.', 'type' => 'string', 'example' => '{'."\n"
.' "isSpecialArchive": false,'."\n"
.' "hasProcessingWorkOrder": false,'."\n"
.' "primaryArchiveType": "其他",'."\n"
.' "businessType": "预警",'."\n"
.' "workOrderActionType":"业务升级"'."\n"
.' }', 'title' => ''],
'example' => '',
],
'qualityGroup' => [
'title' => '',
'description' => 'The quality check rule group.',
'type' => 'array',
'items' => ['description' => 'The quality check rule.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'warning_customers'],
'required' => false,
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254'],
'type' => [
'description' => 'Quality check type:',
'enumValueTitles' => ['Offline text conversation quality check'],
'type' => 'string',
'required' => true,
'title' => '',
'example' => '0',
],
'sceneCode' => ['title' => 'Scene code, similar to playCode. ', 'description' => 'The scenario code.', 'type' => 'string', 'required' => false, 'example' => 'o9c8u8'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<QualitySubmitResponse>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'taskId' => ['title' => 'taskId', 'description' => 'The taskId.', 'type' => 'string', 'example' => '172373500521'],
],
'example' => '',
],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258'],
'success' => ['description' => 'Indicates whether the operation succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"taskId\\": \\"172373500521\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Create a quality inspection job ',
'description' => 'Before using this API, review the pricing and billing methods for the Tongyi Dianjin product.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'Activate Alibaba Cloud Model Studio and Tongyi Dianjin services.'."\n"
."\n"
.'Obtain the workspaceId: Retrieve the [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [
['createdAt' => '2025-12-11T01:42:31.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateQualityCheckTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateQualityCheckTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DashscopeAsyncTaskFinishEvent' => [
'summary' => 'A callback event that indicates the completion of a Dashscope asynchronous task.',
'path' => '/{workspaceId}/event/dashscopeAsyncTaskFinish',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'X-Load-Test',
'in' => 'header',
'schema' => ['description' => 'Indicates whether the request is part of a stress test', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => ''],
],
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Request body parameters',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'Request body parameters', 'type' => 'any', 'example' => '{}', 'title' => ''],
'example' => '{}',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'WanProdResponse<Void>',
'description' => 'WanProdResponse\\<void>',
'type' => 'object',
'properties' => [
'code' => ['description' => 'Return code', 'type' => 'string', 'example' => '0', 'title' => ''],
'message' => ['description' => 'Return message', 'type' => 'string', 'example' => '成功', 'title' => ''],
'success' => ['description' => 'Indicates whether the operation succeeded', 'type' => 'boolean', 'title' => '', 'example' => ''],
'retryAble' => ['description' => 'Indicates whether the operation can be retried', 'type' => 'boolean', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"0\\",\\n \\"message\\": \\"成功\\",\\n \\"success\\": false,\\n \\"retryAble\\": false\\n}","type":"json"}]',
'title' => 'Dashscope asynchronous job completion callback event ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:DashscopeAsyncTaskFinishEvent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DeleteDocument' => [
'summary' => 'Deletes a document. After deletion, you cannot view the original document or recall it.',
'path' => '/{workspaceId}/api/library/document/delete',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx'."\n", 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameters.',
'type' => 'object',
'properties' => [
'docIds' => [
'title' => '',
'description' => 'List of document IDs.',
'type' => 'array',
'items' => ['description' => 'Document ID.', 'type' => 'string', 'required' => false, 'example' => '1782981430906818562', 'title' => ''],
'required' => true,
'example' => '',
],
'libraryId' => ['description' => 'Document library ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '3akzl28vap'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<Boolean>',
'description' => 'ResultCode\\<boolean>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'Returned data.', 'type' => 'boolean', 'title' => '', 'example' => 'True'],
'dataType' => ['description' => 'Data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '67C7021A-D268-553D-8C15-A087B9604028'],
'success' => ['description' => 'Indicates whether the operation succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"67C7021A-D268-553D-8C15-A087B9604028\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Delete Document',
'description' => '**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Dianjin services.'."\n"
."\n"
.'- Obtain your workspace ID: retrieve your [workspace identifier](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDocument'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:DeleteDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DeleteLibrary' => [
'summary' => 'Delete a document library. ⚠️ This operation deletes the library and all its associated documents.',
'path' => '/{workspaceId}/api/library/delete',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'llm-xxxxx'],
],
[
'name' => 'libraryId',
'in' => 'query',
'schema' => ['description' => 'Document library ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'skdfefxxx'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response data',
'type' => 'object',
'properties' => [
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '30F6AD44-F078-540D-B5A5-1E519C8E9E6D'],
'success' => ['description' => 'Indicates whether the request succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"30F6AD44-F078-540D-B5A5-1E519C8E9E6D\\",\\n \\"success\\": true\\n}","type":"json"}]',
'title' => 'Delete document library',
'description' => '**Prerequisites**'."\n"
."\n"
.'- Activate Alibaba Cloud Model Studio and Tongyi Dianjin services.'."\n"
."\n"
.'- Obtain your workspaceId. For more information, refer to the [workspace identifier](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLibrary'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'dianjin:DeleteLibrary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'EndToEndRealTimeDialog' => [
'summary' => 'This API uses the WebSocket protocol to perform real-time conversational transcription, intent recognition, and speech synthesis. It supports various audio formats for both input and output to ensure real-time performance and high compatibility.',
'path' => '/{workspaceId}/ws/realtime/dialog',
'methods' => ['get'],
'schemes' => ['https', 'websocket'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['text/event-stream', 'application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => false, 'notSupportAutoTestReason' => 'websocket不支持自动化测试'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx'."\n", 'title' => ''],
],
[
'name' => 'asrModelId',
'in' => 'query',
'schema' => [
'description' => 'The ID of the speech recognition model. The default value is nls-base. Supported models include paraformer-realtime-v2 and paraformer-realtime-8k-v2.',
'enumValueTitles' => ['paraformer-realtime-v1' => 'paraformer-realtime-v1', 'nls-base' => 'nls-base'],
'type' => 'string',
'required' => false,
'example' => 'nls-base',
'default' => 'nls-base',
'title' => '',
],
],
[
'name' => 'ttsModelId',
'in' => 'query',
'schema' => [
'description' => 'The ID of the speech synthesis model. The default value is nls-base. The cosyvoice-v2 model is supported.',
'enumValueTitles' => ['cosyvoice-v2' => 'cosyvoice-v2', 'nls-base' => 'nls-base'],
'type' => 'string',
'required' => false,
'example' => 'nls-base',
'default' => 'pcm',
'title' => '',
],
],
[
'name' => 'inputFormat',
'in' => 'query',
'schema' => ['description' => 'The input audio format. Supported formats are pcm, wav, and mp3.', 'type' => 'string', 'required' => false, 'example' => 'pcm', 'default' => 'pcm', 'title' => ''],
],
[
'name' => 'outputFormat',
'in' => 'query',
'schema' => ['description' => 'The output audio format.', 'type' => 'string', 'required' => false, 'example' => 'wav', 'default' => 'wav', 'title' => ''],
],
[
'name' => 'sampleRate',
'in' => 'query',
'schema' => [
'description' => 'The sample rate.',
'type' => 'string',
'required' => false,
'example' => 'SAMPLE_RATE_16K',
'default' => 'SAMPLE_RATE_16K',
'enum' => ['SAMPLE_RATE_16K', 'SAMPLE_RATE_8K', 'SAMPLE_RATE_24K', 'SAMPLE_RATE_48K'],
'title' => '',
],
],
[
'name' => 'voiceCode',
'in' => 'query',
'schema' => ['description' => 'The voice parameter. This is available only for models that support word-level or sentence-level timestamps.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'longxiaochun_v2'],
],
[
'name' => 'volume',
'in' => 'query',
'schema' => ['description' => 'The volume. The value ranges from 0 to 100. This parameter is optional. The default value is 50.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'default' => '50', 'title' => '', 'required' => false],
],
[
'name' => 'speechRate',
'in' => 'query',
'schema' => ['description' => 'The speech rate.'."\n"
.'● If \\`ttsModelId\\` is \\`nls-base\\`: The value ranges from -500 to 500. The default is 0.'."\n"
.'● If \\`ttsModelId\\` is \\`cosyvoice-v2\\`:'."\n"
.'Specifies the speech rate of the synthesized audio. The value ranges from 0.5 to 2.'."\n"
.'○ 0.5: Half the default speed.'."\n"
.'○ 1: The default speed. The default speed is the model\'s standard output speed and may vary slightly by speaker. It is about four characters per second.'."\n"
.'○ 2: Twice the default speed.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => '', 'required' => false],
],
[
'name' => 'pitchRate',
'in' => 'query',
'schema' => ['description' => 'The pitch rate.'."\n"
.'● If \\`ttsModelId\\` is \\`nls-base\\`:'."\n"
.'The value ranges from -500 to 500. The default is 0.'."\n"
.'● If \\`ttsModelId\\` is \\`cosyvoice-v2\\`: Specifies the pitch of the synthesized audio. The value ranges from 0.5 to 2.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => '', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'RealTimeDialogResp',
'description' => 'RealTimeDialogResp',
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '1C98B466-D6E0-5252-A60B-F345CBB33DDB'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1C98B466-D6E0-5252-A60B-F345CBB33DDB\\"\\n}","type":"json"}]',
'title' => 'Real-time speech dialogue',
'requestParamsDescription' => '# Client request messages'."\n"
."\n"
.'## Common fields'."\n"
."\n"
.'| Field | Description |'."\n"
.'| --------- | ----------------------------------- |'."\n"
.'| type | The message type. |'."\n"
.'| seq | The message serial number. |'."\n"
.'| timestamp | The UNIX timestamp in milliseconds. |'."\n"
."\n"
.'## StartTranscription (Start real-time transcription)'."\n"
."\n"
.'### Starts a real-time transcription and creates a real-time session.'."\n"
."\n"
.'```json'."\n"
.'type:StartTranscription'."\n"
.'seq:1'."\n"
.'timestamp:1719242591197'."\n"
."\n"
.'{'."\n"
.' "playCode": "c00aa8467a", // The scenario code.'."\n"
.' "metaData": {}, // Metadata. You can add key-value pairs here for placeholders in the opening remarks. For example, if you set the placeholder ${name} in the opening remarks in scenario management, you can pass {"name": "John Doe"} here.'."\n"
.' "selfDirected": true // Specifies whether to enable autonomous Q&A. If intent recognition returns "other", the model\'s autonomous answering capability is used.'."\n"
.'}'."\n"
.'```'."\n"
."\n"
.'## ProcessTranscription (Send audio data)'."\n"
."\n"
.'### Uploads a segment of audio data.'."\n"
."\n"
.'```json'."\n"
.'type:ProcessTranscription'."\n"
.'seq:1'."\n"
.'timestamp:1719242591197'."\n"
.'ack:required'."\n"
."\n"
.'{'."\n"
.' "dataSourceType": "customer", // The data source type.'."\n"
.' "data": [0,0,0,0,0] // The binary audio stream.'."\n"
.'}'."\n"
.'```'."\n"
."\n"
.'- \\`dataSourceType\\` identifies the data source, such as "customer" or "service".'."\n"
."\n"
.' - \\`customer\\`: Indicates audio data from the customer.'."\n"
."\n"
.' - \\`service\\`: Indicates audio data from third-party prompts, such as those from a carrier.'."\n"
."\n"
.' - You must differentiate between the sources. You can send only the customer\'s audio data because this API does not currently process audio data from the \\`service\\` source.'."\n"
."\n"
.'## StopTranscription (Stop transcription)'."\n"
."\n"
.'### Actively ends the real-time session.'."\n"
."\n"
.'```json'."\n"
.'type:StopTranscription'."\n"
.'seq:1'."\n"
.'timestamp:1719242591197'."\n"
."\n"
.'{}'."\n"
.'```'."\n"
."\n"
.'The payload is empty.',
'responseParamsDescription' => '# Server-side response (push) messages'."\n"
."\n"
.'## TranscriptionStarted (Session/transcription started)'."\n"
."\n"
.'```json'."\n"
.'type:TranscriptionStarted'."\n"
.'seq:1'."\n"
.'timestamp:1752922002409'."\n"
."\n"
.'{'."\n"
.' "sessionId": "1752922001S001nojxboa26z", // The unique identifier for the business session.'."\n"
.' "openingRemarks": "Hello, are you Mr. Li?" // The opening remarks text.'."\n"
.'}'."\n"
.'```'."\n"
."\n"
.'- \\`sessionId\\`: The unique identifier for the business session.'."\n"
."\n"
.'- \\`openingRemarks\\`: The content of the opening remarks.'."\n"
."\n"
.'## TranscriptionResultChanged (Transcription text changed \\[Automatic Speech Recognition (ASR) result])'."\n"
."\n"
.'```json'."\n"
.'type:TranscriptionResultChanged '."\n"
.'seq:29 '."\n"
.'timestamp:1754659632826 '."\n"
."\n"
.'{'."\n"
.' "content": "Yes, you",'."\n"
.' "messageId":"5da6a7211fd54f7087f74f2f028308e7"'."\n"
.'}'."\n"
.'```'."\n"
."\n"
.'- \\`content\\`: The current transcribed text.'."\n"
."\n"
.'- \\`messageId\\`: The unique identifier for the message.'."\n"
."\n"
.'## SentenceEnd (Sentence transcription complete \\[streaming audio data of agent reply])'."\n"
."\n"
.'```json'."\n"
.'type:SentenceEnd '."\n"
.'seq: 3 '."\n"
.'timestamp: 1754659629166'."\n"
."\n"
.'{'."\n"
.' "data": [73,68,51,4,0,0,0], // The binary audio data.'."\n"
.' "messageId": "", // The unique message identifier.'."\n"
.' "messageEnd": true // The flag indicating the end of the current message round.'."\n"
.'}'."\n"
.'```'."\n"
."\n"
.'## BizProcessing (Business intent recognition result)'."\n"
."\n"
.'```json'."\n"
.'type:BizProcessing '."\n"
.'seq: 3 '."\n"
.'timestamp: 1754659629166'."\n"
."\n"
.'{'."\n"
.' "id": "175465963554371b6ffdea5eb446188fc366df451b23b",'."\n"
.' "choices": ['."\n"
.' {'."\n"
.' "index": 0,'."\n"
.' "finishReason": "stop",'."\n"
.' "delta": {'."\n"
.' "intentionCode": "1940679612569849856",'."\n"
.' "intentionScript": "Hello, this is xxx. We see that you have a pre-approved credit line of x0,000, so we are reminding you to check it out on our WeChat mini program or app.",'."\n"
.' "intentionName": "Customer asks about the caller\'s identity",'."\n"
.' "callTime": "819",'."\n"
.' "hangUpDialog": false,'."\n"
.' "interrupt": false'."\n"
.' }'."\n"
.' }'."\n"
.' ],'."\n"
.' "created": "1754659635543",'."\n"
.' "success": true'."\n"
.'}'."\n"
.'```'."\n"
."\n"
.'- This message primarily contains content related to intent recognition. For more information about the output fields, see [RealTimeDialog](https://help.aliyun.com/zh/model-studio/api-dianjin-2024-06-28-realtimedialog?spm=a2c4g.11186623.0.i2#:~:text=%E5%AE%9E%E6%97%B6%E4%BC%9A%E8%AF%9D-,RealTimeDialog%20%2D%20%E5%AE%9E%E6%97%B6%E4%BC%9A%E8%AF%9D,-%E6%9B%B4%E6%96%B0%E6%97%B6%E9%97%B4%EF%BC%9A).'."\n"
."\n"
.'## SentenceInterrupted (Sentence interrupted \\[audio cache needs to be cleared])'."\n"
."\n"
.'```json'."\n"
.'type:SentenceInterrupted '."\n"
.'seq: 32 '."\n"
.'timestamp: 1754659635543 '."\n"
."\n"
.'{}'."\n"
.'```'."\n"
."\n"
.'- The body of this message is empty. When you receive this message, you must clear the audio cache and stop playing the previous audio content to create an interruption.'."\n"
."\n"
.'## TranscriptionEnd (Transcription ended \\[session end suggested: agent determines the session can end])'."\n"
."\n"
.'```json'."\n"
.'type:TranscriptionEnd '."\n"
.'seq: 367 '."\n"
.'timestamp: 1754659669964 '."\n"
."\n"
.'{}'."\n"
.'```'."\n"
."\n"
.'## TranscriptionCompleted (Transcription fully complete, WebSocket connection can be closed)'."\n"
."\n"
.'```json'."\n"
.'type:TranscriptionCompleted'."\n"
.'seq:3'."\n"
.'timestamp:1752922030325'."\n"
."\n"
.'{}'."\n"
.'```'."\n"
."\n"
.'## Status codes and error handling'."\n"
."\n"
.'If an error occurs when connecting or sending a message, the server-side returns a standard Error message:'."\n"
."\n"
.'```json'."\n"
.'type:Error'."\n"
.'seq:3'."\n"
.'timestamp:1752922030325'."\n"
."\n"
.'{'."\n"
.' "code": "401",'."\n"
.' "message": "Token is invalid or has expired"'."\n"
.'}'."\n"
.'```'."\n"
."\n"
.'Common error codes:'."\n"
."\n"
.'| Code | Description |'."\n"
.'| ---- | -------------------------- |'."\n"
.'| 400 | Invalid request parameter. |'."\n"
.'| 401 | Authentication failed. |'."\n"
.'| 500 | Internal service error. |',
'extraInfo' => '## Interaction Flow'."\n"
.' pairs from a document. You can use the UpdateQaLibrary API to update the Q&A pairs.',
'path' => '/{workspaceId}/api/virtualHuman/qa/parse',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'docId' => ['description' => 'The document ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '182364872346'],
'libraryId' => ['description' => 'The document library ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'sjdgdsfg'],
'requestId' => ['description' => 'The request ID. This ID uniquely identifies the request. The first request with this ID starts the Q\\&A pair parsing. Subsequent requests with the same ID query the parsing status and results.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The Q\\&A pair.',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'libraryId' => ['description' => 'The document library ID.', 'type' => 'string', 'title' => '', 'example' => '7wxwrjpabj'],
'docId' => ['description' => 'The document ID.', 'type' => 'string', 'title' => '', 'example' => '873648346573245'],
'currentStatus' => [
'description' => 'The current status. Valid values: \\`INIT\\`, \\`PROCESSING\\`, \\`COMPLETED\\`, and \\`FAIL\\`.',
'enumValueTitles' => ['INIT' => 'Initialization', 'COMPLETED' => 'Complete', 'PROCESSING' => 'In progress', 'FAIL' => 'Failed'],
'type' => 'string',
'title' => '',
'example' => 'PROCESSING',
],
'parseQaResults' => [
'title' => '',
'description' => 'The results of the Q\\&A pair parsing.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'question' => ['description' => 'The question.', 'type' => 'string', 'title' => '', 'example' => '今天的天气怎么样?'],
'answer' => ['description' => 'The answer.', 'type' => 'string', 'title' => '', 'example' => '今天的天气不错,多云转晴。'."\n"],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '44BD277A-87F9-5310-8D63-3E6645F1DA85'],
'cost' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"libraryId\\": \\"7wxwrjpabj\\",\\n \\"docId\\": \\"873648346573245\\",\\n \\"currentStatus\\": \\"PROCESSING\\",\\n \\"parseQaResults\\": [\\n {\\n \\"question\\": \\"今天的天气怎么样?\\",\\n \\"answer\\": \\"今天的天气不错,多云转晴。\\\\n\\"\\n }\\n ]\\n },\\n \\"requestId\\": \\"44BD277A-87F9-5310-8D63-3E6645F1DA85\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Parse Q&A pairs from a document ',
'description' => 'Before you use this API, make sure you understand the billing methods and pricing of the Tongyi Dianjin product.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'Activate Alibaba Cloud Model Studio and the Tongyi Dianjin service.'."\n"
."\n"
.'Obtain a workspace ID. For more information, see [Get a workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenDocQaResult'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:GenDocQaResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetAppConfig' => [
'summary' => 'Retrieve app configuration.',
'path' => '/{workspaceId}/api/app/config',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter, workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx'."\n", 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<AppConfigBO>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Time consumed', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'Returned data',
'type' => 'object',
'properties' => [
'embeddingTypeList' => [
'title' => '',
'description' => 'Embedding type list',
'type' => 'array',
'items' => [
'description' => 'Key-value pair',
'type' => 'object',
'additionalProperties' => ['description' => 'Value', 'type' => 'string', 'example' => 'DashScope', 'title' => ''],
'title' => '',
'example' => '',
],
'example' => '',
],
'frontendConfig' => [
'title' => '',
'description' => 'Frontend configuration',
'type' => 'object',
'additionalProperties' => ['description' => 'Is enabled', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'example' => '',
],
'libraryDocumentStatusList' => [
'title' => '',
'description' => 'Document library status list',
'type' => 'array',
'items' => [
'description' => 'Key-value pair',
'type' => 'object',
'additionalProperties' => ['description' => 'Value', 'type' => 'string', 'example' => 'Completed', 'title' => ''],
'title' => '',
'example' => '',
],
'example' => '',
],
'llmHelperTypeList' => [
'title' => '',
'description' => 'Large Language Model (LLM) type list',
'type' => 'array',
'items' => [
'description' => 'Key-value pair',
'type' => 'object',
'additionalProperties' => ['description' => 'Value', 'type' => 'string', 'example' => 'qwen-max', 'title' => ''],
'title' => '',
'example' => '',
],
'example' => '',
],
'textIndexCategoryList' => [
'title' => '',
'description' => 'Text index category list',
'type' => 'array',
'items' => ['description' => 'Text index category', 'type' => 'string', 'example' => 'ElasticSearch', 'title' => ''],
'example' => '',
],
'vectorIndexCategoryList' => [
'title' => '',
'description' => 'Vector index category list',
'type' => 'array',
'items' => ['description' => 'Vector index category', 'type' => 'string', 'example' => 'ADB', 'title' => ''],
'example' => '',
],
],
'example' => '',
],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'None'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258'],
'success' => ['description' => 'Is successful', 'type' => 'boolean', 'title' => '', 'example' => 'True'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"embeddingTypeList\\": [\\n {\\n \\"key\\": \\"DashScope\\"\\n }\\n ],\\n \\"frontendConfig\\": {\\n \\"key\\": true\\n },\\n \\"libraryDocumentStatusList\\": [\\n {\\n \\"key\\": \\"Completed\\"\\n }\\n ],\\n \\"llmHelperTypeList\\": [\\n {\\n \\"key\\": \\"qwen-max\\"\\n }\\n ],\\n \\"textIndexCategoryList\\": [\\n \\"ElasticSearch\\"\\n ],\\n \\"vectorIndexCategoryList\\": [\\n \\"ADB\\"\\n ]\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"None\\",\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Obtain Configuration Information ',
'description' => '**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Gold services.'."\n"
."\n"
.'- You can obtain the workspace ID. For details, see [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%E3%80%9DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAppConfig'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetAppConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetChatQuestionResp' => [
'summary' => 'Retrieves the Q&A results generated by the SubmitChatQuestion API.',
'path' => '/{workspaceId}/api/virtualHuman/chat/query',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Request body',
'type' => 'object',
'properties' => [
'sessionId' => ['description' => 'Session ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '237645726354'],
'batchId' => ['description' => 'Question batch ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1869307330227937280'],
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Result',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the operation was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'Response data',
'type' => 'object',
'properties' => [
'currentState' => [
'description' => 'Current state \\[INIT (Initialization), PROCESSING (Processing), COMPLETED (Completed)]',
'enumValueTitles' => ['INIT' => 'Initialization', 'COMPLETED' => 'Completed', 'PROCESSING' => 'Processing'],
'type' => 'string',
'title' => '',
'example' => 'PROCESSING',
],
'questionList' => [
'title' => '',
'description' => 'Question list',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'Question',
'type' => 'object',
'properties' => [
'sessionId' => ['description' => 'Session ID', 'type' => 'string', 'title' => '', 'example' => '1732846760323001'."\n"],
'userId' => ['description' => 'Unique ID of the user who asked the question in the live channel.', 'type' => 'string', 'title' => '', 'example' => '39847834568436'."\n"],
'userName' => ['description' => 'Name of the user who asked the question in the live channel.', 'type' => 'string', 'title' => '', 'example' => '张*'],
'content' => ['description' => 'Question content', 'type' => 'string', 'title' => '', 'example' => '今天天气怎么样'],
'gmtCreate' => ['description' => 'Original question time', 'type' => 'string', 'title' => '', 'example' => '2024-11-17 10:05:00'],
'type' => [
'description' => 'Question type \\[PRODUCT\\_QA (Audio submission), GOSSIP (Operation submission), UNKNOWN (Unknown)]',
'enumValueTitles' => ['PRODUCT_QA' => 'Audio submission', 'GOSSIP' => 'Operation submission', 'UNKNOWN' => 'Unknown'],
'type' => 'string',
'title' => '',
'example' => 'PRODUCT_QA',
],
'reply' => ['description' => 'Reply content', 'type' => 'string', 'title' => '', 'example' => '感谢您的支持!'],
'oriContent' => ['title' => 'Original question ', 'description' => 'Original question', 'type' => 'string', 'example' => '今天天气怎么样'],
],
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '44BD277A-87F9-5310-8D63-3E6645F1DA85'],
'cost' => ['description' => 'Time consumed', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-01-01 00:00:00\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"currentState\\": \\"PROCESSING\\",\\n \\"questionList\\": [\\n {\\n \\"sessionId\\": \\"1732846760323001\\\\n\\",\\n \\"userId\\": \\"39847834568436\\\\n\\",\\n \\"userName\\": \\"张*\\",\\n \\"content\\": \\"今天天气怎么样\\",\\n \\"gmtCreate\\": \\"2024-11-17 10:05:00\\",\\n \\"type\\": \\"PRODUCT_QA\\",\\n \\"reply\\": \\"感谢您的支持!\\",\\n \\"oriContent\\": \\"今天天气怎么样\\"\\n }\\n ]\\n },\\n \\"requestId\\": \\"44BD277A-87F9-5310-8D63-3E6645F1DA85\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Retrieve Q&A results ',
'changeSet' => [
['createdAt' => '2025-01-23T07:21:47.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetChatQuestionResp'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetChatQuestionResp',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetDialogAnalysisResult' => [
'summary' => 'Retrieve session analysis results. You can retrieve results in batches by specifying a list of session IDs or a time range.',
'path' => '/{workspaceId}/api/virtualHuman/dialog/analysis',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Request body parameters',
'type' => 'object',
'properties' => [
'sessionIds' => [
'title' => '',
'description' => 'Session ID list. When useUrl is true, the response includes OSS URLs. You can specify up to 1000 sessions. If you specify more than 1000, only the first 1000 are processed. When useUrl is false, the response includes full analysis results. You can specify up to 10 sessions. If you specify more than 10, only the first 10 are processed. This parameter is optional. If sessionIds is empty, the API retrieves results for sessions created between startTime and endTime. If sessionIds is not empty, the API retrieves results for the specified sessions. You cannot leave both sessionIds and the time range empty.',
'type' => 'array',
'items' => ['description' => 'Session ID', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '183764873624'],
'required' => false,
'example' => '',
],
'useUrl' => ['description' => 'Whether to return an OSS URL instead of full analysis results. If true, the response includes an OSS URL that expires in one hour. Default is true. Supports up to 1000 sessions. If you specify more than 1000, only the first 1000 are processed. If false, the response includes full analysis results. Supports up to 10 sessions. If you specify more than 10, only the first 10 are processed.', 'type' => 'boolean', 'default' => 'true', 'title' => '', 'required' => false, 'example' => 'true'],
'startTime' => ['description' => 'Start time in yyyy-MM-dd HH:mm:ss format. If sessionIds is not empty, you can query the session analysis results using the specified session IDs.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2024-09-14 09:11:00'],
'endTime' => ['description' => 'The end time, which must be in yyyy-MM-dd HH:mm:ss format. If sessionIds are provided, the system queries session analysis results based on these IDs.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2024-09-23 09:20:02'],
'asc' => ['description' => 'Whether to sort in ascending order. Default is true, which sorts by session creation time in ascending order. If false, sorts in descending order.', 'type' => 'boolean', 'default' => 'true', 'title' => '', 'required' => false, 'example' => 'true'],
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Response body parameters',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the request succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'Response data',
'type' => 'object',
'properties' => [
'dialogAnalysisRespList' => [
'title' => '',
'description' => 'List of session analysis results',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'Session analysis result',
'type' => 'object',
'properties' => [
'sessionId' => ['description' => 'Session ID', 'type' => 'string', 'title' => '', 'example' => '183764873624'],
'gmtCreate' => ['description' => 'Session creation time', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'."\n"],
'status' => [
'description' => 'Task execution status for session analysis.'."\n"
."\n"
.'- init means the task has not started'."\n"
."\n"
.'- pending means the task is queued'."\n"
."\n"
.'- running means the task is in progress'."\n"
."\n"
.'- error means the task failed'."\n"
."\n"
.'- success means the task completed successfully',
'type' => 'string',
'enum' => ['init', 'pending', 'running', 'error', 'success'],
'title' => '',
'example' => 'running',
],
'ossUrl' => ['description' => 'OSS URL for the session analysis result. The URL expires in one hour.', 'type' => 'string', 'title' => '', 'example' => 'https://xxx.oss-cn-beijing.aliyuncs.com/dialog-analysis/2024-12-30/2/1826661605606129665'],
'analysisResp' => [
'title' => '',
'description' => 'Session analysis result',
'type' => 'object',
'properties' => [
'dialogLabels' => [
'title' => '',
'description' => 'List of session labels',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'Session label',
'type' => 'object',
'properties' => [
'name' => ['description' => 'Label name', 'type' => 'string', 'title' => '', 'example' => '额度不足'],
'value' => ['description' => 'Label value', 'type' => 'string', 'title' => '', 'example' => '0'],
],
'example' => '',
],
'example' => '',
],
'dialogSummary' => ['description' => 'Session summary', 'type' => 'string', 'title' => '', 'example' => '- 是否有资金需求:不确定,客户未明确表示有无资金需求。\\n- 是否有意向:不确定,客户未明确表达意向。\\n- 是否可营销:不可营销,客户对客服的多次询问未表现出兴趣,且对话中提到因不适希望减少联系。\\n- 待满足需求:客户希望了解具体的预审额度信息。'],
'dialogExecPlan' => ['description' => 'Session execution plan', 'type' => 'string', 'title' => '', 'example' => '1. 客服应再次确认客户的疑问是否已解决,特别是关于额度的具体数额。\\n2. 如果客户仍有疑问,提供客服热线电话,建议客户直接拨打以获取更详细的帮助。\\n3. 提醒客户检查短信中的链接,以便快速查看和操作。\\n4. 记录此次通话中客户表现出的任何不适或不便,确保后续跟进时更加体贴。\\n5. 发送一条包含操作指南的短信,确保客户能够轻松找到并使用服务。\\n6. 结束通话前,再次感谢客户的支持,并表达希望客户早日康复的愿望。'],
'dialogSop' => ['title' => 'Session SOP', 'description' => 'Session SOP', 'type' => 'string', 'example' => '产品介绍'],
'dialogProcessAnalysis' => ['title' => 'Session procedure analysis', 'description' => 'Session process analysis', 'type' => 'object', 'example' => '{'."\n"
.' "dialogues": ['."\n"
.' {'."\n"
.' "round": 1,'."\n"
.' "result": ['."\n"
.' {'."\n"
.' "key": "客服",'."\n"
.' "value": "客服回应标签"'."\n"
.' },'."\n"
.' {'."\n"
.' "key": "客户",'."\n"
.' "value": "客户回应态度标签"'."\n"
.' }'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "round": 2,'."\n"
.' "result": ['."\n"
.' {'."\n"
.' "key": "客服",'."\n"
.' "value": "客服回应标签"'."\n"
.' },'."\n"
.' {'."\n"
.' "key": "客户",'."\n"
.' "value": "客户回应态度标签"'."\n"
.' }'."\n"
.' ]'."\n"
.' }'."\n"
.' ],'."\n"
.'"dialogProcessAnalysisStr":"第一轮对话:客服-客服回应标签,客户-客户回应态度标签'."\n"
.'第二轮对话:客服-客服回应标签,客户-客户回应态度标签"'."\n"
.'}'],
'dialogOpenAnalysis' => ['title' => 'Conversation Open Analysis', 'description' => 'Session open analysis', 'type' => 'object', 'example' => '{'."\n"
.' "dialogues": ['."\n"
.' {'."\n"
.' "round": 1,'."\n"
.' "result": ['."\n"
.' {'."\n"
.' "key": "对话主题",'."\n"
.' "value": "XX"'."\n"
.' },'."\n"
.' {'."\n"
.' "key": "客户反应",'."\n"
.' "value": "XXX"'."\n"
.' },'."\n"
.' {'."\n"
.' "key": "客户反应分析",'."\n"
.' "value": "XXX"'."\n"
.' },'."\n"
.' {'."\n"
.' "key": "客服话术",'."\n"
.' "value": "XXX"'."\n"
.' },'."\n"
.' {'."\n"
.' "key": "本轮客服话术修改建议",'."\n"
.' "value": "XXX"'."\n"
.' }'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "round": 2,'."\n"
.' "result": ['."\n"
.' {'."\n"
.' "key": "对话主题",'."\n"
.' "value": "XX"'."\n"
.' },'."\n"
.' {'."\n"
.' "key": "客户反应",'."\n"
.' "value": "XXX"'."\n"
.' },'."\n"
.' {'."\n"
.' "key": "客户反应分析",'."\n"
.' "value": "XXX"'."\n"
.' },'."\n"
.' {'."\n"
.' "key": "客服话术",'."\n"
.' "value": "XXX"'."\n"
.' },'."\n"
.' {'."\n"
.' "key": "本轮客服话术修改建议",'."\n"
.' "value": "XXX"'."\n"
.' }'."\n"
.' ]'."\n"
.' }'."\n"
.' ],'."\n"
.' "dialogOpenAnalysisStr":"第一轮对话:对话主题-xx##客户反应-xx##客户反应分析-xx##客服话术-xx##本轮客服话术修改建议-xx'."\n"
.'第二轮对话:对话主题-xx##客户反应-xx##客户反应分析-xx##客服话术-xx##本轮客服话术修改建议-xx"'."\n"
.'}'],
],
'example' => '',
],
],
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '88A006F0-B565-53BA-B38A-DBDF9D0B2935'],
'cost' => ['description' => 'Processing time in milliseconds', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"dialogAnalysisRespList\\": [\\n {\\n \\"sessionId\\": \\"183764873624\\",\\n \\"gmtCreate\\": \\"2024-04-24 11:54:34\\\\n\\",\\n \\"status\\": \\"running\\",\\n \\"ossUrl\\": \\"https://xxx.oss-cn-beijing.aliyuncs.com/dialog-analysis/2024-12-30/2/1826661605606129665\\",\\n \\"analysisResp\\": {\\n \\"dialogLabels\\": [\\n {\\n \\"name\\": \\"额度不足\\",\\n \\"value\\": \\"0\\"\\n }\\n ],\\n \\"dialogSummary\\": \\"- 是否有资金需求:不确定,客户未明确表示有无资金需求。\\\\\\\\n- 是否有意向:不确定,客户未明确表达意向。\\\\\\\\n- 是否可营销:不可营销,客户对客服的多次询问未表现出兴趣,且对话中提到因不适希望减少联系。\\\\\\\\n- 待满足需求:客户希望了解具体的预审额度信息。\\",\\n \\"dialogExecPlan\\": \\"1. 客服应再次确认客户的疑问是否已解决,特别是关于额度的具体数额。\\\\\\\\n2. 如果客户仍有疑问,提供客服热线电话,建议客户直接拨打以获取更详细的帮助。\\\\\\\\n3. 提醒客户检查短信中的链接,以便快速查看和操作。\\\\\\\\n4. 记录此次通话中客户表现出的任何不适或不便,确保后续跟进时更加体贴。\\\\\\\\n5. 发送一条包含操作指南的短信,确保客户能够轻松找到并使用服务。\\\\\\\\n6. 结束通话前,再次感谢客户的支持,并表达希望客户早日康复的愿望。\\",\\n \\"dialogSop\\": \\"产品介绍\\",\\n \\"dialogProcessAnalysis\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"dialogOpenAnalysis\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n }\\n ]\\n },\\n \\"requestId\\": \\"88A006F0-B565-53BA-B38A-DBDF9D0B2935\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Retrieve Conversation Analysis Result ',
'changeSet' => [
['createdAt' => '2025-04-02T08:31:01.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2025-01-16T14:50:30.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDialogAnalysisResult'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetDialogAnalysisResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetDialogDetail' => [
'summary' => 'Retrieve session details.',
'path' => '/{workspaceId}/api/virtualHuman/dialog/detail',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'llm-xxxx'],
],
[
'name' => 'sessionId',
'in' => 'query',
'schema' => ['description' => 'Session ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1906623923815534xxx'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<DialogDetailQueryResponse>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the operation succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'Response data',
'type' => 'object',
'properties' => [
'totalDialogTurns' => ['description' => 'Total conversation rounds. Each round counts one exchange between AI and the customer. Multiple consecutive messages from either side count as one round. If the last message is from the AI and is not a hang-up, subtract one from the total round count.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
'validDialogTurns' => ['description' => 'Valid conversation rounds. Each valid round counts one question-and-answer pair between AI and the customer. This differs from the total round count method.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'],
'dialogueList' => [
'title' => '',
'description' => 'List of dialogue details',
'type' => 'array',
'items' => [
'description' => 'Dialogue detail',
'type' => 'object',
'properties' => [
'role' => ['description' => 'Role:'."\n"
."\n"
.'- 0: Customer'."\n"
."\n"
.'- 1: Agent', 'type' => 'string', 'title' => '', 'example' => '0'],
'customerServiceType' => ['description' => 'Agent type:'."\n"
."\n"
.'- 0: Bot'."\n"
."\n"
.'- 1: Human', 'type' => 'string', 'title' => '', 'example' => '0'],
'customerServiceId' => ['description' => 'Agent ID', 'type' => 'string', 'title' => '', 'example' => 'BOT'],
'customerId' => ['description' => 'Customer ID', 'type' => 'string', 'title' => '', 'example' => '123761283'],
'content' => ['description' => 'Dialogue content', 'type' => 'string', 'title' => '', 'example' => '请问具体怎么操作呢?'],
'type' => ['description' => 'Content type: text, audio, or image. Only text is supported.', 'type' => 'string', 'title' => '', 'example' => 'text'],
'id' => ['description' => 'Unique identifier for this message. Assigned internally. May be empty. Use recordId instead.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1742869659849'],
'recordId' => ['title' => 'UUID of this utterance, assigned internally, of type String.', 'description' => 'Unique identifier for this message. Assigned internally. String type.', 'type' => 'string', 'example' => '19387872364736xdhcb'],
'intentCode' => ['description' => 'Intent code', 'type' => 'string', 'title' => '', 'example' => '193874634xxx'],
'intentName' => ['description' => 'Intent name', 'type' => 'string', 'title' => '', 'example' => '客户询问如何操作'],
'hangUpDialog' => ['description' => 'Indicates whether the session ended with this message', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'status' => [
'description' => 'Session status',
'type' => 'string',
'enum' => ['INIT', 'PROCESSING', 'COMPLETED', 'ERROR'],
'title' => '',
'example' => 'COMPLETED',
],
'gmtCreate' => ['description' => 'Session time', 'type' => 'string', 'title' => '', 'example' => '2024-09-27 11:23:20'],
],
'example' => '',
],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658'],
'cost' => ['description' => 'Processing time in milliseconds', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"totalDialogTurns\\": 10,\\n \\"validDialogTurns\\": 5,\\n \\"dialogueList\\": [\\n {\\n \\"role\\": \\"0\\",\\n \\"customerServiceType\\": \\"0\\",\\n \\"customerServiceId\\": \\"BOT\\",\\n \\"customerId\\": \\"123761283\\",\\n \\"content\\": \\"请问具体怎么操作呢?\\",\\n \\"type\\": \\"text\\",\\n \\"id\\": 1742869659849,\\n \\"recordId\\": \\"19387872364736xdhcb\\",\\n \\"intentCode\\": \\"193874634xxx\\",\\n \\"intentName\\": \\"客户询问如何操作\\",\\n \\"hangUpDialog\\": true\\n }\\n ],\\n \\"status\\": \\"COMPLETED\\",\\n \\"gmtCreate\\": \\"2024-09-27 11:23:20\\"\\n },\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Retrieve session details ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDialogDetail'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetDialogDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetDialogLog' => [
'summary' => 'Retrieves records of real-time conversations and the results of intent analysis.',
'path' => '/{workspaceId}/api/dialog/log',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'id' => ['description' => 'The \\`id\\` field returned by the real-time conversation API.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => '175600129454077743fb03ac54955a4be72ec08f9c216'],
'sessionId' => ['description' => 'The session ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => '1758010668S001w4paq82azm'],
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<IntentRecognize>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'recallList' => ['description' => 'The recall list.', 'type' => 'string', 'title' => '', 'example' => '## Example:\\n- 对话内容为:\\"##客服##:您好,请问有什么可以帮到您?\\n ##客户##:暂时没有了。谢谢。\\"时,用户意图为:\\"客户想要挂断电话\\"\\n- 对话内容为:\\"##客服##:您好,请问有什么可以帮到您?\\n ##客户##:哎你好。\\"时,用户意图为:\\"客户询问来电目的\\"\\n- 对话内容为:\\"##客服##:您好,请问有什么可以帮到您?\\n ##客户##:我现在财务状况很好,谢谢关心。\\"时,用户意图为:\\"客户拒绝贷款\\"\\n- 对话内容为:\\"##客服##:您好,请问有什么可以帮到您?\\n ##客户##:不用了,谢谢,不要再打电话了,谢谢。\\"时,用户意图为:\\"投诉/退订/不要打电话/骂人\\"\\n- 对话内容为:\\"##客服##:您好,请问有什么可以帮到您?\\n ##客户##:你好。\\"时,用户意图为:\\"客户询问来电目的\\"'],
'intentionList' => [
'title' => '',
'description' => 'The intent list.',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'The intent.',
'type' => 'object',
'properties' => [
'intentionName' => ['description' => 'The intent name.', 'type' => 'string', 'title' => '', 'example' => '客户明确表示拒绝营销'],
'intentionScript' => ['description' => 'The `intentionScript` field contains the service agent\'s reply script for the user\'s intent.', 'type' => 'string', 'title' => '', 'example' => '非常抱歉,给您带来了不好的体验。如您无需再接受我们的官方来电,请回复“我要退订”四个字!'],
'description' => ['description' => 'The `description` field provides a detailed description of the user\'s intent.', 'type' => 'string', 'title' => '', 'example' => '客户明确表示投诉/退订/不要打电话/骂人等拒绝营销'],
],
'example' => '',
],
'example' => '',
],
'conversationList' => ['description' => 'The `conversationList` field records the conversation content.', 'type' => 'string', 'title' => '', 'example' => '##客服##:您好,请问是张三先生是吧?\\n ##客户##:人工客服\\n ##客服##:您好,我是2804,很高兴为您服务!\\n ##客服##:您好,请问有什么可以帮到您?\\n ##客户##:好的 谢谢\\n '],
'hitIntentionList' => [
'title' => '',
'description' => 'The list of hit intents.',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'The hit intent.',
'type' => 'object',
'properties' => [
'intentionName' => ['description' => 'The intent name.', 'type' => 'string', 'title' => '', 'example' => '客户要求转人工'],
'intentionScript' => ['description' => 'The scripted reply based on the customer\'s intent.', 'type' => 'string', 'title' => '', 'example' => '很抱歉,我这里无法直接为您转接,您可以拨打我司客服热线进行咨询。'."\n"],
'description' => ['description' => 'A description of the customer\'s intent.', 'type' => 'string', 'title' => '', 'example' => '客户希望与真人接触,不想和AI客服继续对话。'],
],
'example' => '',
],
'example' => '',
],
'analysisProcess' => ['description' => 'The analysis process. This field has a value if the analysis process is enabled during the real-time conversation.', 'type' => 'string', 'title' => '', 'example' => '客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。'],
'modelCostTime' => ['description' => 'The model processing time, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1382'],
],
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '051EEB18-049A-17FF-A5E0-14A5B127C798'],
'cost' => ['description' => 'The processing time.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-01-01 00:00:00\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"recallList\\": \\"## Example:\\\\\\\\n- 对话内容为:\\\\\\\\\\\\\\"##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:暂时没有了。谢谢。\\\\\\\\\\\\\\"时,用户意图为:\\\\\\\\\\\\\\"客户想要挂断电话\\\\\\\\\\\\\\"\\\\\\\\n- 对话内容为:\\\\\\\\\\\\\\"##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:哎你好。\\\\\\\\\\\\\\"时,用户意图为:\\\\\\\\\\\\\\"客户询问来电目的\\\\\\\\\\\\\\"\\\\\\\\n- 对话内容为:\\\\\\\\\\\\\\"##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:我现在财务状况很好,谢谢关心。\\\\\\\\\\\\\\"时,用户意图为:\\\\\\\\\\\\\\"客户拒绝贷款\\\\\\\\\\\\\\"\\\\\\\\n- 对话内容为:\\\\\\\\\\\\\\"##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:不用了,谢谢,不要再打电话了,谢谢。\\\\\\\\\\\\\\"时,用户意图为:\\\\\\\\\\\\\\"投诉/退订/不要打电话/骂人\\\\\\\\\\\\\\"\\\\\\\\n- 对话内容为:\\\\\\\\\\\\\\"##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:你好。\\\\\\\\\\\\\\"时,用户意图为:\\\\\\\\\\\\\\"客户询问来电目的\\\\\\\\\\\\\\"\\",\\n \\"intentionList\\": [\\n {\\n \\"intentionName\\": \\"客户明确表示拒绝营销\\",\\n \\"intentionScript\\": \\"非常抱歉,给您带来了不好的体验。如您无需再接受我们的官方来电,请回复“我要退订”四个字!\\",\\n \\"description\\": \\"客户明确表示投诉/退订/不要打电话/骂人等拒绝营销\\"\\n }\\n ],\\n \\"conversationList\\": \\"##客服##:您好,请问是张三先生是吧?\\\\\\\\n ##客户##:人工客服\\\\\\\\n ##客服##:您好,我是2804,很高兴为您服务!\\\\\\\\n ##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:好的 谢谢\\\\\\\\n \\",\\n \\"hitIntentionList\\": [\\n {\\n \\"intentionName\\": \\"客户要求转人工\\",\\n \\"intentionScript\\": \\"很抱歉,我这里无法直接为您转接,您可以拨打我司客服热线进行咨询。\\\\n\\",\\n \\"description\\": \\"客户希望与真人接触,不想和AI客服继续对话。\\"\\n }\\n ],\\n \\"analysisProcess\\": \\"客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。\\",\\n \\"modelCostTime\\": 1382\\n },\\n \\"requestId\\": \\"051EEB18-049A-17FF-A5E0-14A5B127C798\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Retrieve conversation logs ',
'description' => '## Request description'."\n"
."\n"
.'This API retrieves conversation records between customers and service agents, along with intent analysis results generated by the model.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDialogLog'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetDialogLog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetDocumentChunkList' => [
'summary' => 'Retrieve a list of document chunks. You can filter them by query conditions.',
'path' => '/{workspaceId}/api/library/getDocumentChunk',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter, workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameters.',
'type' => 'object',
'properties' => [
'chunkIdList' => [
'title' => '',
'description' => 'List of document chunk IDs',
'type' => 'array',
'items' => ['description' => 'Document chunk ID', 'type' => 'string', 'required' => false, 'example' => '83648326438746', 'title' => ''],
'required' => false,
'example' => '',
],
'docId' => ['description' => 'Document ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '182364872346'],
'libraryId' => ['description' => 'Library ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'dsjgfdjgfxxx'],
'order' => ['description' => 'Sorting method', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'desc'],
'orderBy' => ['description' => 'Sort field', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'gmtCreate'],
'page' => ['description' => 'Page number', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
'pageSize' => ['description' => 'Page size', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
'searchQuery' => ['description' => 'Search query keyword', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'test'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<PageVO<ChunkModelVO>>',
'description' => 'ResultCode\\<PageVO>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Time consumed', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'Response data',
'type' => 'object',
'properties' => [
'currentPage' => ['description' => 'Current page', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'pageSize' => ['description' => 'Records per page', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'records' => [
'title' => '',
'description' => 'Records',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'chunkId' => ['description' => 'Document chunk ID', 'type' => 'string', 'title' => '', 'example' => '28377468263482764'],
'chunkMeta' => ['description' => 'Document chunk metadata', 'type' => 'object', 'title' => '', 'example' => '{"a":"1"}'],
'chunkOssUrl' => ['description' => 'Document chunk OSS address', 'type' => 'string', 'title' => '', 'example' => 'oss-xxxx-hangzhou.com/test.pdf'],
'chunkText' => ['description' => 'Document chunk text', 'type' => 'string', 'title' => '', 'example' => '这是一段测试文本'],
'chunkType' => [
'description' => 'Document chunk type',
'enumValueTitles' => ['faq' => 'FAQ', 'text' => 'Text', 'graph' => 'Graph', 'table' => 'Table', 'structure' => 'Structure'],
'type' => 'string',
'title' => '',
'example' => 'text',
],
'docId' => ['description' => 'Document ID', 'type' => 'string', 'title' => '', 'example' => '8947387648356'],
'fileType' => ['description' => 'Document type', 'type' => 'string', 'title' => '', 'example' => 'pdf'],
'libraryId' => ['description' => 'Library ID', 'type' => 'string', 'title' => '', 'example' => 'jhsdvne'],
'libraryName' => ['description' => 'Library name', 'type' => 'string', 'title' => '', 'example' => '测试文档库'],
'nextChunkId' => ['description' => 'Next document chunk ID', 'type' => 'string', 'title' => '', 'example' => '947538465'],
'pos' => [
'title' => '',
'description' => 'Document chunk position',
'type' => 'array',
'items' => [
'description' => 'Layout position information',
'type' => 'object',
'properties' => [
'axisArray' => [
'title' => '',
'description' => 'Coordinate',
'type' => 'array',
'items' => ['description' => 'Coordinate', 'type' => 'number', 'format' => 'double', 'example' => '394.3', 'title' => ''],
'example' => '',
],
'page' => ['description' => 'Page number', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'textHighlightArea' => [
'title' => '',
'description' => 'Text highlight area, used for highlighting text-type files',
'type' => 'array',
'items' => ['description' => 'Text highlight area', 'type' => 'integer', 'format' => 'int32', 'example' => '38', 'title' => ''],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'preChunkId' => ['description' => 'Previous document chunk ID', 'type' => 'string', 'title' => '', 'example' => '9848346548365'],
'score' => ['description' => 'Document chunk score', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0.5'],
'title' => ['description' => 'Document title', 'type' => 'string', 'title' => '', 'example' => 'test'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'totalPages' => ['description' => 'Total pages', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'totalRecords' => ['description' => 'Total records', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'],
],
'example' => '',
],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF'],
'success' => ['description' => 'Success status', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"chunkId\\": \\"28377468263482764\\",\\n \\"chunkMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"chunkOssUrl\\": \\"oss-xxxx-hangzhou.com/test.pdf\\",\\n \\"chunkText\\": \\"这是一段测试文本\\",\\n \\"chunkType\\": \\"text\\",\\n \\"docId\\": \\"8947387648356\\",\\n \\"fileType\\": \\"pdf\\",\\n \\"libraryId\\": \\"jhsdvne\\",\\n \\"libraryName\\": \\"测试文档库\\",\\n \\"nextChunkId\\": \\"947538465\\",\\n \\"pos\\": [\\n {\\n \\"axisArray\\": [\\n 394.3\\n ],\\n \\"page\\": 1,\\n \\"textHighlightArea\\": [\\n 38\\n ]\\n }\\n ],\\n \\"preChunkId\\": \\"9848346548365\\",\\n \\"score\\": 0.5,\\n \\"title\\": \\"test\\"\\n }\\n ],\\n \\"totalPages\\": 10,\\n \\"totalRecords\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Retrieve document chunk list ',
'description' => '**Prerequisites**'."\n"
."\n"
.'- Activate Alibaba Cloud Model Studio and Tongyi Gold Service.'."\n"
."\n"
.'- Obtain the workspaceId and the [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%B3).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocumentChunkList'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetDocumentChunkList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetDocumentList' => [
'summary' => 'Retrieves a list of documents from a document library. This operation supports paged queries and filtering by document status.',
'path' => '/{workspaceId}/api/library/listDocument',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'A path parameter that specifies the workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'page',
'in' => 'query',
'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'default' => '1', 'title' => '', 'required' => false, 'example' => '1'],
],
[
'name' => 'pageSize',
'in' => 'query',
'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'default' => '10', 'title' => '', 'required' => false, 'example' => '10'],
],
[
'name' => 'status',
'in' => 'query',
'schema' => ['description' => 'The document status.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '即将可用'],
],
[
'name' => 'libraryId',
'in' => 'query',
'schema' => ['description' => 'The document library ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '3akzl28vap'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<PageVO<LibraryDocumentVO>>',
'description' => 'The returned result.',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'currentPage' => ['description' => 'The current page number. This is a paging parameter.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'pageSize' => ['description' => 'The number of entries per page. This is a paging parameter.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'records' => [
'title' => '',
'description' => 'The records.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'docId' => ['description' => 'The document ID.', 'type' => 'string', 'title' => '', 'example' => '8326748346'],
'documentMeta' => ['description' => 'The document metadata.', 'type' => 'object', 'title' => '', 'example' => ''],
'fileType' => ['description' => 'The document type.', 'type' => 'string', 'title' => '', 'example' => 'pdf'],
'gmtCreate' => ['description' => 'The creation time.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'gmtModified' => ['description' => 'The modification time.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'libraryId' => ['description' => 'The ID of the library to which the document belongs.', 'type' => 'string', 'title' => '', 'example' => 'skjdhshbv'],
'statusCode' => ['description' => 'The document status. Valid values: WaitRefresh (waiting for refresh), InQueue (pending), FetchingData (retrieving data), Embedding (processing document), Error (error), Completed (available), and Null (unknown).', 'type' => 'string', 'title' => '', 'example' => 'WaitRefresh'],
'title' => ['description' => 'The document title.', 'type' => 'string', 'title' => '', 'example' => 'test'],
'url' => ['description' => 'The document URL. This field will be deprecated. The value is empty. To get the document URL, use the GetDocumentUrl operation.', 'type' => 'string', 'title' => '', 'example' => 'null'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'totalPages' => ['description' => 'The total number of pages. This is a paging parameter.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'totalRecords' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'],
],
'example' => '',
],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658'],
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"docId\\": \\"8326748346\\",\\n \\"documentMeta\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"fileType\\": \\"pdf\\",\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\",\\n \\"gmtModified\\": \\"2024-01-01 00:00:00\\",\\n \\"libraryId\\": \\"skjdhshbv\\",\\n \\"statusCode\\": \\"WaitRefresh\\",\\n \\"title\\": \\"test\\",\\n \\"url\\": \\"null\\"\\n }\\n ],\\n \\"totalPages\\": 10,\\n \\"totalRecords\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Retrieve Document List',
'description' => '**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and the Tongyi Gold Point service.'."\n"
."\n"
.'- You have obtained a workspace ID. For more information, see [Get a workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocumentList'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetDocumentList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetDocumentUrl' => [
'summary' => 'Retrieve a download URL for a document. The URL expires after 1 hour.',
'path' => '/{workspaceId}/api/library/document/url',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter. The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'documentId',
'in' => 'query',
'schema' => ['description' => 'The document ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '12681367362'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'ResultCode\\<string>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'The time spent, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'The download URL for the document. The URL expires in 1 hour.', 'type' => 'string', 'title' => '', 'example' => 'https://path_to_file'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '66249B43-8C2B-5EE7-AE78-B382306621C6'],
'success' => ['description' => 'Indicates whether the call succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'The UNIX timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"https://path_to_file\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"66249B43-8C2B-5EE7-AE78-B382306621C6\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
'title' => 'Obtain the document download link',
'description' => '**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'- Obtain the workspace ID. For more information, see [Get the workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocumentUrl'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetDocumentUrl',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetFilterDocumentList' => [
'summary' => 'This operation retrieves a list of documents. You can filter documents by metadata or use paging.',
'path' => '/{workspaceId}/api/library/filterDocument',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'type' => 'object',
'properties' => [
'and' => [
'title' => '',
'description' => 'AND expression to filter documents or document chunks.',
'type' => 'array',
'items' => [
'description' => 'A set of constraints in triplet format, joined by AND.',
'type' => 'object',
'properties' => [
'boost' => ['description' => 'Weight of the value in the text retrieval engine. Default is 1.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1', 'title' => ''],
'key' => ['description' => 'Metadata key in the document library.', 'type' => 'string', 'required' => false, 'example' => 'company', 'title' => ''],
'operator' => ['description' => '### Relationship between the stored metadata value and your input value'."\n"
."\n"
.'- eq: The stored metadata value equals your input value.'."\n"
."\n"
.'- contains: The stored metadata value list contains your input value.', 'type' => 'string', 'required' => false, 'example' => 'eq', 'title' => ''],
'value' => ['description' => 'Input metadata value.', 'type' => 'string', 'required' => false, 'example' => 'alibaba', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'docIdList' => [
'title' => '',
'description' => 'List of document IDs to filter documents or document chunks.',
'type' => 'array',
'items' => ['description' => 'Document ID.', 'type' => 'string', 'required' => false, 'example' => '3553835752369972270', 'title' => ''],
'required' => false,
'example' => '',
],
'libraryId' => ['description' => 'Document library ID to filter documents or document chunks.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cjshcxxxx'],
'or' => [
'title' => '',
'description' => 'OR expression to filter documents or document chunks.',
'type' => 'array',
'items' => [
'description' => 'A set of constraints in triplet format, joined by OR.',
'type' => 'object',
'properties' => [
'boost' => ['description' => 'Weight of the value in the text retrieval engine. Default is 1.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1', 'title' => ''],
'key' => ['description' => 'Metadata key in the document library.', 'type' => 'string', 'required' => false, 'example' => 'company', 'title' => ''],
'operator' => ['description' => '### Relationship between the stored metadata value and your input value'."\n"
."\n"
.'- eq: The stored metadata value equals your input value.'."\n"
."\n"
.'- contains: The stored metadata value list contains your input value.', 'type' => 'string', 'required' => false, 'example' => 'contains', 'title' => ''],
'value' => ['description' => 'Input metadata value.', 'type' => 'string', 'required' => false, 'example' => 'alibaba', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'page' => ['description' => 'Page number for pagination.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
'pageSize' => ['description' => 'Number of records per page for pagination.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
'status' => [
'title' => '',
'description' => 'List of document statuses to filter documents.'."\n"
."\n"
.'### Document parsing status codes'."\n"
."\n"
.'*Status codes: WaitRefresh, InQueue, FetchingData, Embedding, Completed, FormatError, Error*'."\n"
."\n"
.'- Completed: Active. Document parsing completed.'."\n"
."\n"
.'- Error: Inactive. Document parsing failed.'."\n"
."\n"
.'- FormatError: File format error. Re-upload the file in the correct format if it is encrypted or incomplete.'."\n"
."\n"
.'- InQueue: Pending. Document is waiting for parsing.'."\n"
."\n"
.'- Parsed: Parsing completed.'."\n"
."\n"
.'- Other statuses are internal system states. For example, WaitRefresh means the task is scheduled. FetchingData means parsing is in progress. Embedding means index building is in progress.',
'type' => 'array',
'items' => ['description' => 'Document status to filter documents.', 'type' => 'string', 'required' => false, 'example' => 'Completed', 'title' => ''],
'required' => false,
'enumValueTitles' => ['InQueue' => 'InQueue', 'WaitRefresh' => 'WaitRefresh', 'FetchingData' => 'FetchingData', 'Completed' => 'Completed', 'Error' => 'Error', 'Embedding' => 'Embedding'],
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<PageVO<LibraryDocumentVO>>',
'description' => 'Response data.',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Time spent on the request, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'Response data.',
'type' => 'object',
'properties' => [
'currentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'pageSize' => ['description' => 'Number of records per page.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'records' => [
'title' => '',
'description' => 'Records.',
'type' => 'array',
'items' => [
'description' => 'Data.',
'type' => 'object',
'properties' => [
'docId' => ['description' => 'Document ID.', 'type' => 'string', 'title' => '', 'example' => '29368126816'],
'documentMeta' => ['description' => 'Document metadata.', 'type' => 'object', 'title' => '', 'example' => '{"a": "1"}'],
'fileType' => ['description' => 'File type.', 'type' => 'string', 'title' => '', 'example' => 'pdf'],
'gmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'gmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'libraryId' => ['description' => 'Document library ID.', 'type' => 'string', 'title' => '', 'example' => 'sdfgsjdfg'],
'statusCode' => ['description' => 'Document status. Valid values: WaitRefresh (waiting for refresh), InQueue (pending), FetchingData (retrieving data), Embedding (processing document), Error (failed), Completed (active), Null (unknown).', 'type' => 'string', 'title' => '', 'example' => 'WaitRefresh'],
'title' => ['description' => 'Document title.', 'type' => 'string', 'title' => '', 'example' => '公司文档'],
'url' => ['description' => 'Document URL.', 'type' => 'string', 'title' => '', 'example' => 'null'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'totalPages' => ['description' => 'Total number of pages.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'totalRecords' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'],
],
'example' => '',
],
'dataType' => ['description' => 'Data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '7ADF010C-FD89-569D-A079-2D4D5247E943'],
'success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"docId\\": \\"29368126816\\",\\n \\"documentMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"fileType\\": \\"pdf\\",\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\",\\n \\"gmtModified\\": \\"2024-01-01 00:00:00\\",\\n \\"libraryId\\": \\"sdfgsjdfg\\",\\n \\"statusCode\\": \\"WaitRefresh\\",\\n \\"title\\": \\"公司文档\\",\\n \\"url\\": \\"null\\"\\n }\\n ],\\n \\"totalPages\\": 10,\\n \\"totalRecords\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"7ADF010C-FD89-569D-A079-2D4D5247E943\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
'title' => 'Query document list by metadata filters',
'description' => 'Prerequisites'."\n"
."\n"
.'You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'To obtain the workspace ID, see [the document about obtaining the workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFilterDocumentList'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetFilterDocumentList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetHistoryListByBizType' => [
'summary' => 'Retrieve conversation history records by business type.',
'path' => '/{workspaceId}/api/history/list',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'page',
'in' => 'query',
'schema' => ['description' => 'Page number', 'type' => 'integer', 'format' => 'int32', 'default' => '1', 'title' => '', 'required' => false, 'example' => '1'],
],
[
'name' => 'pageSize',
'in' => 'query',
'schema' => ['description' => 'Number of records per page', 'type' => 'integer', 'format' => 'int32', 'default' => '10', 'title' => '', 'required' => false, 'example' => '10'],
],
[
'name' => 'bizType',
'in' => 'query',
'schema' => [
'description' => 'Business type. Supported values are LlmChat and LibraryChat.',
'enumValueTitles' => ['LlmChat' => 'LlmChat', 'LibraryChat' => 'LibraryChat'],
'type' => 'string',
'required' => true,
'title' => '',
'example' => 'LibraryChat',
],
],
[
'name' => 'bizId',
'in' => 'query',
'schema' => ['description' => 'Unique business identifier. When bizType is LibraryChat, bizId is the document library ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'GysYBsxx'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<PageVO<LlmHistoryVO>>',
'description' => 'ResultCode\\<PageVO\\<LlmHistoryVo>>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Response time in milliseconds', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'Response data',
'type' => 'object',
'properties' => [
'currentPage' => ['description' => 'Current page number', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'pageSize' => ['description' => 'Number of records per page', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'records' => [
'title' => '',
'description' => 'Records',
'type' => 'array',
'items' => [
'description' => 'Data',
'type' => 'object',
'properties' => [
'bizId' => ['description' => 'Business ID', 'type' => 'string', 'title' => '', 'example' => 'GysYBsxx'],
'bizType' => ['description' => 'Business type', 'type' => 'string', 'title' => '', 'example' => 'LibraryChat'],
'extraMessage' => ['description' => 'Extension information', 'type' => 'any', 'title' => '', 'example' => 'null'],
'gmtCreate' => ['description' => 'Creation time', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'gmtModified' => ['description' => 'Last modified time', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'."\n"],
'id' => ['description' => 'History record ID', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '210'],
'llmAnswer' => ['description' => 'Large Language Model (LLM) response', 'type' => 'string', 'title' => '', 'example' => '你好。'],
'llmPrompt' => ['description' => 'Prompt for the Large Language Model (LLM)', 'type' => 'string', 'title' => '', 'example' => '请使用以下上下文来回答最后的问题。\\n以下是上下文内容:'],
'llmType' => ['description' => 'Large Language Model (LLM) type', 'type' => 'string', 'title' => '', 'example' => 'qwen-max'],
'sessionId' => ['description' => 'Session ID', 'type' => 'string', 'title' => '', 'example' => 'null'],
'userQuery' => ['description' => 'User query', 'type' => 'string', 'title' => '', 'example' => '你是谁'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'totalPages' => ['description' => 'Total number of pages', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'totalRecords' => ['description' => 'Total number of records', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'],
],
'example' => '',
],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '9DF9B3F3-9FFE-52CB-A8DC-F7BD5F842F0E'],
'success' => ['description' => 'Indicates whether the request succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"bizId\\": \\"GysYBsxx\\",\\n \\"bizType\\": \\"LibraryChat\\",\\n \\"extraMessage\\": \\"null\\",\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\",\\n \\"gmtModified\\": \\"2024-01-01 00:00:00\\\\n\\",\\n \\"id\\": 210,\\n \\"llmAnswer\\": \\"你好。\\",\\n \\"llmPrompt\\": \\"请使用以下上下文来回答最后的问题。\\\\\\\\n以下是上下文内容:\\",\\n \\"llmType\\": \\"qwen-max\\",\\n \\"sessionId\\": \\"null\\",\\n \\"userQuery\\": \\"你是谁\\"\\n }\\n ],\\n \\"totalPages\\": 10,\\n \\"totalRecords\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"9DF9B3F3-9FFE-52CB-A8DC-F7BD5F842F0E\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
'title' => 'Retrieve conversation history by business type ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetHistoryListByBizType'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetHistoryListByBizType',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetLibrary' => [
'summary' => 'Retrieves the detailed configuration of a document library, including its name, description, and index settings.',
'path' => '/{workspaceId}/api/library/get',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter. The workspace ID.', 'type' => 'string', 'required' => false, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'libraryId',
'in' => 'query',
'schema' => ['description' => 'The document library ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cjshcxxxx'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<LibraryVO>',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Response time in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'The response data object.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'The document library description.', 'type' => 'string', 'title' => '', 'example' => '文档库的描述'],
'documentCount' => ['description' => 'The number of documents in the library.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'gmtCreate' => ['description' => 'Creation time', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'gmtModified' => ['description' => 'The last modification time in YYYY-MM-DD HH:MM:SS format.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'."\n"],
'id' => ['description' => 'The document library ID.', 'type' => 'string', 'title' => '', 'example' => '19386728376'],
'indexSetting' => [
'title' => '',
'description' => 'The document library index settings.',
'type' => 'object',
'properties' => [
'chunkStrategy' => [
'title' => '',
'description' => 'The chunking strategy.',
'type' => 'object',
'properties' => [
'docTreeSplit' => ['description' => 'Enable layout-based splitting.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'docTreeSplitSize' => ['description' => 'The layout-based splitting size.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '160'],
'enhanceGraph' => ['description' => 'Enhance images.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'enhanceTable' => ['description' => 'Enhance tables.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'overlap' => ['description' => 'The overlap length between chunks.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '40'],
'sentenceSplit' => ['description' => 'Split by sentence.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'sentenceSplitSize' => ['description' => 'The sentence-based splitting size.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '160'],
'size' => ['description' => 'The chunk size.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '256'],
'split' => ['description' => 'Enable chunking.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'example' => '',
],
'modelConfig' => [
'title' => '',
'description' => 'Model configuration.',
'type' => 'object',
'properties' => [
'temperature' => ['description' => 'temperature', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '0.8'],
'topP' => ['title' => 'topP', 'description' => 'topP', 'type' => 'number', 'format' => 'double', 'example' => '0.8'],
],
'example' => '',
],
'promptRoleStyle' => ['description' => 'The prompt role style.', 'type' => 'string', 'title' => '', 'example' => '你是一个信息处理专家。'],
'queryEnhancer' => [
'title' => '',
'description' => 'Query enhancement settings.',
'type' => 'object',
'properties' => [
'enableFollowUp' => ['description' => 'Enable multi-turn query enhancement.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'enableMultiQuery' => ['description' => 'Use Large Language Model (LLM) knowledge to decompose queries.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'enableOpenQa' => ['description' => 'Use Large Language Model (LLM) knowledge to answer questions.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'enableQueryRewrite' => ['description' => 'Rewrite queries using domain-specific knowledge.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'enableSession' => ['description' => 'Record session history.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'localKnowledgeId' => ['description' => 'The document library ID used for knowledge rewriting.', 'type' => 'string', 'title' => '', 'example' => '2836482634'],
'withDocumentReference' => ['description' => 'Include document references in responses.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'example' => '',
],
'recallStrategy' => [
'title' => '',
'description' => 'The recall strategy.',
'type' => 'object',
'properties' => [
'documentRankType' => ['description' => 'The merge and sort policy.', 'type' => 'string', 'title' => '', 'example' => 'model'],
'limit' => ['description' => 'The number of results returned after merging two recall paths.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
],
'example' => '',
],
'textIndexSetting' => [
'title' => '',
'description' => 'Text index settings.',
'type' => 'object',
'properties' => [
'category' => ['description' => 'The text index type.', 'type' => 'string', 'title' => '', 'example' => 'ElasticSearch'],
'enable' => ['description' => 'Enable text indexing.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'indexAnalyzer' => ['description' => 'The text index analyzer: Standard, IkMaxWord, or IkSmart.', 'type' => 'string', 'title' => '', 'example' => 'IkMaxWord'],
'rankThreshold' => ['description' => 'The ranking threshold for text indexing.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => 'null'],
'searchAnalyzer' => ['description' => 'The text index search analyzer: Standard, IkMaxWord, or IkSmart.', 'type' => 'string', 'title' => '', 'example' => 'Standard'],
'topK' => ['description' => 'The number of final summary results from text indexing.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
],
'example' => '',
],
'vectorIndexSetting' => [
'title' => '',
'description' => 'Vector index settings.',
'type' => 'object',
'properties' => [
'category' => ['description' => 'The vector index source. We recommend ADB.', 'type' => 'string', 'title' => '', 'example' => 'ADB'],
'embeddingType' => ['description' => 'The text embedding model for the vector index.', 'type' => 'string', 'title' => '', 'example' => 'DashScope'],
'enable' => ['description' => 'Enable vector indexing.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'rankThreshold' => ['description' => 'The ranking threshold for vector indexing.', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => 'null'],
'topK' => ['description' => 'Number of final results returned by the vector index.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
],
'example' => '',
],
],
'example' => '',
],
'libraryName' => ['description' => 'The document library name.', 'type' => 'string', 'title' => '', 'example' => '测试文档库'],
],
'example' => '',
],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Fault type', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '44BD277A-87F9-5310-8D63-3E6645F1DA85'],
'success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'UNIX timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"description\\": \\"文档库的描述\\",\\n \\"documentCount\\": 10,\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\",\\n \\"gmtModified\\": \\"2024-01-01 00:00:00\\\\n\\",\\n \\"id\\": \\"19386728376\\",\\n \\"indexSetting\\": {\\n \\"chunkStrategy\\": {\\n \\"docTreeSplit\\": true,\\n \\"docTreeSplitSize\\": 160,\\n \\"enhanceGraph\\": true,\\n \\"enhanceTable\\": true,\\n \\"overlap\\": 40,\\n \\"sentenceSplit\\": true,\\n \\"sentenceSplitSize\\": 160,\\n \\"size\\": 256,\\n \\"split\\": true\\n },\\n \\"modelConfig\\": {\\n \\"temperature\\": 0.8,\\n \\"topP\\": 0.8\\n },\\n \\"promptRoleStyle\\": \\"你是一个信息处理专家。\\",\\n \\"queryEnhancer\\": {\\n \\"enableFollowUp\\": true,\\n \\"enableMultiQuery\\": true,\\n \\"enableOpenQa\\": true,\\n \\"enableQueryRewrite\\": true,\\n \\"enableSession\\": true,\\n \\"localKnowledgeId\\": \\"2836482634\\",\\n \\"withDocumentReference\\": true\\n },\\n \\"recallStrategy\\": {\\n \\"documentRankType\\": \\"model\\",\\n \\"limit\\": 10\\n },\\n \\"textIndexSetting\\": {\\n \\"category\\": \\"ElasticSearch\\",\\n \\"enable\\": true,\\n \\"indexAnalyzer\\": \\"IkMaxWord\\",\\n \\"rankThreshold\\": 0,\\n \\"searchAnalyzer\\": \\"Standard\\",\\n \\"topK\\": 10\\n },\\n \\"vectorIndexSetting\\": {\\n \\"category\\": \\"ADB\\",\\n \\"embeddingType\\": \\"DashScope\\",\\n \\"enable\\": true,\\n \\"rankThreshold\\": 0,\\n \\"topK\\": 10\\n }\\n },\\n \\"libraryName\\": \\"测试文档库\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"44BD277A-87F9-5310-8D63-3E6645F1DA85\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
'title' => 'Obtain document library details ',
'description' => '**Prerequisites**'."\n"
."\n"
.'- Activate the Alibaba Cloud Model Studio and Tongyi Dianjin services.'."\n"
."\n"
.'- Obtain a [workspace identifier](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLibrary'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetLibrary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetLibraryList' => [
'summary' => 'Retrieve the document library list. The list includes document names, descriptions, and unique identifiers.',
'path' => '/{workspaceId}/api/library/list',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter, the workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'page',
'in' => 'query',
'schema' => ['description' => 'Page number', 'type' => 'integer', 'format' => 'int32', 'default' => '1', 'title' => '', 'required' => false, 'example' => '1'],
],
[
'name' => 'pageSize',
'in' => 'query',
'schema' => ['description' => 'Number of records per page', 'type' => 'integer', 'format' => 'int32', 'default' => '10', 'title' => '', 'required' => false, 'example' => '10'],
],
[
'name' => 'query',
'in' => 'query',
'schema' => ['description' => 'Search keywords. Supports document library names and descriptions.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '测试文档库'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<PageVO<LibraryVO>>',
'description' => 'ResultCode\\<PageVO>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Time consumed', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'Returned data',
'type' => 'object',
'properties' => [
'currentPage' => ['description' => 'Page number', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'pageSize' => ['description' => 'Number of records per page', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'records' => [
'title' => '',
'description' => 'Record list',
'type' => 'array',
'items' => [
'description' => 'Record',
'type' => 'object',
'properties' => [
'description' => ['description' => 'Document library description', 'type' => 'string', 'title' => '', 'example' => '文档库'],
'documentCount' => ['description' => 'Document count', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'gmtCreate' => ['description' => 'Creation time', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'."\n"],
'gmtModified' => ['description' => 'Modification time', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'."\n"],
'id' => ['description' => 'Document library ID', 'type' => 'string', 'title' => '', 'example' => '24vs4aa42jv1rg7'],
'indexSetting' => [
'title' => '',
'description' => 'Document library index settings',
'type' => 'object',
'properties' => [
'chunkStrategy' => [
'title' => '',
'description' => 'Chunking strategy',
'type' => 'object',
'properties' => [
'docTreeSplit' => ['description' => 'Layout chunking', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'docTreeSplitSize' => ['description' => 'Layout chunking size', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '160'],
'enhanceGraph' => ['description' => 'Enhance images', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'enhanceTable' => ['description' => 'Enhance tables', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'overlap' => ['description' => 'Chunk overlap length', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '40'],
'sentenceSplit' => ['description' => 'Split by sentence', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'sentenceSplitSize' => ['description' => 'Split by sentence size', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '160'],
'size' => ['description' => 'Chunk size', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '256'],
'split' => ['description' => 'Chunking enabled', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'example' => '',
],
'modelConfig' => [
'title' => '',
'description' => 'Model Configuration',
'type' => 'object',
'properties' => [
'temperature' => ['description' => 'Temperature', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => '0.8'],
'topP' => ['title' => 'topP', 'description' => 'topP', 'type' => 'number', 'format' => 'double', 'example' => '0.8'],
],
'example' => '',
],
'promptRoleStyle' => ['description' => 'Prompt role style', 'type' => 'string', 'title' => '', 'example' => '你是一个信息处理专家。'."\n"],
'queryEnhancer' => [
'title' => '',
'description' => 'Query enhancement',
'type' => 'object',
'properties' => [
'enableFollowUp' => ['description' => 'Multi-turn enhancement', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'enableMultiQuery' => ['description' => 'Use Large Language Model (LLM) knowledge to decompose questions', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'enableOpenQa' => ['description' => 'Use Large Language Model (LLM) knowledge to answer questions', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'enableQueryRewrite' => ['description' => 'Rewrite questions based on domain knowledge', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'enableSession' => ['description' => 'Record session', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'localKnowledgeId' => ['description' => 'Document library ID used for knowledge rewriting', 'type' => 'string', 'title' => '', 'example' => 'sdbcjsbc'],
'withDocumentReference' => ['description' => 'Include document reference', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'example' => '',
],
'recallStrategy' => [
'title' => '',
'description' => 'Recall strategy',
'type' => 'object',
'properties' => [
'documentRankType' => ['description' => 'Merge and sort policy', 'type' => 'string', 'title' => '', 'example' => 'model'],
'limit' => ['description' => 'Number of results from two-way merge summary', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
],
'example' => '',
],
'textIndexSetting' => [
'title' => '',
'description' => 'Text index settings',
'type' => 'object',
'properties' => [
'category' => ['description' => 'Text index type', 'type' => 'string', 'title' => '', 'example' => 'ElasticSearch'],
'enable' => ['description' => 'Text index enabled', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'indexAnalyzer' => ['description' => 'Index analyzer for text index: (Standard, IkMaxWord, IkSmart)', 'type' => 'string', 'title' => '', 'example' => 'Standard'],
'rankThreshold' => ['description' => 'Text index sort threshold', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => 'null'],
'searchAnalyzer' => ['description' => 'Search analyzer for text index: (Standard, IkMaxWord, IkSmart)', 'type' => 'string', 'title' => '', 'example' => 'Standard'],
'topK' => ['description' => 'Number of final summary results for text index', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
],
'example' => '',
],
'vectorIndexSetting' => [
'title' => '',
'description' => 'Vector index settings',
'type' => 'object',
'properties' => [
'category' => ['description' => 'Vector index source. Recommended: ADB', 'type' => 'string', 'title' => '', 'example' => 'ADB'],
'embeddingType' => ['description' => 'Vector index text embedding model', 'type' => 'string', 'title' => '', 'example' => 'DashScope'],
'enable' => ['description' => 'Enabled', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'rankThreshold' => ['description' => 'Vector index sort threshold', 'type' => 'number', 'format' => 'double', 'title' => '', 'example' => 'null'],
'topK' => ['description' => 'Number of final summary results for vector index', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
],
'example' => '',
],
],
'example' => '',
],
'libraryName' => ['description' => 'Document library name', 'type' => 'string', 'title' => '', 'example' => '测试文档库'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'totalPages' => ['description' => 'Total pages', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'totalRecords' => ['description' => 'Total records', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'],
],
'example' => '',
],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '0a06dfe817156528535968405edce3'],
'success' => ['description' => 'Successful', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"description\\": \\"文档库\\",\\n \\"documentCount\\": 10,\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\\\n\\",\\n \\"gmtModified\\": \\"2024-01-01 00:00:00\\\\n\\",\\n \\"id\\": \\"24vs4aa42jv1rg7\\",\\n \\"indexSetting\\": {\\n \\"chunkStrategy\\": {\\n \\"docTreeSplit\\": true,\\n \\"docTreeSplitSize\\": 160,\\n \\"enhanceGraph\\": true,\\n \\"enhanceTable\\": true,\\n \\"overlap\\": 40,\\n \\"sentenceSplit\\": true,\\n \\"sentenceSplitSize\\": 160,\\n \\"size\\": 256,\\n \\"split\\": true\\n },\\n \\"modelConfig\\": {\\n \\"temperature\\": 0.8,\\n \\"topP\\": 0.8\\n },\\n \\"promptRoleStyle\\": \\"你是一个信息处理专家。\\\\n\\",\\n \\"queryEnhancer\\": {\\n \\"enableFollowUp\\": true,\\n \\"enableMultiQuery\\": true,\\n \\"enableOpenQa\\": true,\\n \\"enableQueryRewrite\\": true,\\n \\"enableSession\\": true,\\n \\"localKnowledgeId\\": \\"sdbcjsbc\\",\\n \\"withDocumentReference\\": true\\n },\\n \\"recallStrategy\\": {\\n \\"documentRankType\\": \\"model\\",\\n \\"limit\\": 10\\n },\\n \\"textIndexSetting\\": {\\n \\"category\\": \\"ElasticSearch\\",\\n \\"enable\\": true,\\n \\"indexAnalyzer\\": \\"Standard\\",\\n \\"rankThreshold\\": 0,\\n \\"searchAnalyzer\\": \\"Standard\\",\\n \\"topK\\": 10\\n },\\n \\"vectorIndexSetting\\": {\\n \\"category\\": \\"ADB\\",\\n \\"embeddingType\\": \\"DashScope\\",\\n \\"enable\\": true,\\n \\"rankThreshold\\": 0,\\n \\"topK\\": 10\\n }\\n },\\n \\"libraryName\\": \\"测试文档库\\"\\n }\\n ],\\n \\"totalPages\\": 10,\\n \\"totalRecords\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"0a06dfe817156528535968405edce3\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
'title' => 'Retrieve document library list',
'description' => 'Prerequisites'."\n"
."\n"
.'- You must activate Alibaba Cloud Model Studio and Tongyi Dianjin services.'."\n"
."\n"
.'- Obtain the workspaceId. For more information, see [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLibraryList'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetLibraryList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetParseResult' => [
'summary' => 'Retrieve document parsing results. You can query the document\'s parsing status and obtain the parsing results.',
'path' => '/{workspaceId}/api/library/document/getParseResult',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter, the workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'docId' => ['description' => 'The document ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '873648346573245'],
'libraryId' => ['description' => 'The document library ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'sjdgdsfg'],
'useUrlResult' => ['description' => 'Specifies whether to return the result as a URL. If true, the parsing result is in resultUrl, and result is empty. If false, the parsing result is in result, and resultUrl is empty.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<DocumentParseResultVO>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'fileType' => ['description' => 'The file type.', 'type' => 'string', 'title' => '', 'example' => 'pdf'],
'providerType' => ['description' => 'The provider type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'b0a202e2-5031-4589-a6d7-39185f0d8d01'],
'result' => ['description' => 'The parsing result.', 'type' => 'object', 'title' => '', 'example' => '{'."\n"
.' "Status": "Success",'."\n"
.' "Data": {},'."\n"
.' "Message": null,'."\n"
.' "TaskId": "docmind-20240601-123abc"'."\n"
.' }'],
'status' => ['description' => 'The document parsing status.', 'type' => 'string', 'title' => '', 'example' => 'WaitRefresh'],
'resultUrl' => ['description' => 'The parsing result returned as a URL. You can download it directly. Note: Only PDF, DOC, DOCX, PPT, and PPTX file types have parsing results.', 'type' => 'string', 'example' => 'https://xxx.oss-cn-beijing.aliyuncs.com/library/3mjeoywx7z/1826661605606129665.json', 'title' => ''],
],
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0abb793617204049360065953ec6dd'],
'cost' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"fileType\\": \\"pdf\\",\\n \\"providerType\\": \\"null\\",\\n \\"requestId\\": \\"b0a202e2-5031-4589-a6d7-39185f0d8d01\\",\\n \\"result\\": {\\n \\"Status\\": \\"Success\\",\\n \\"Data\\": {},\\n \\"Message\\": null,\\n \\"TaskId\\": \\"docmind-20240601-123abc\\"\\n },\\n \\"status\\": \\"WaitRefresh\\",\\n \\"resultUrl\\": \\"https://xxx.oss-cn-beijing.aliyuncs.com/library/3mjeoywx7z/1826661605606129665.json\\"\\n },\\n \\"requestId\\": \\"0abb793617204049360065953ec6dd\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Obtain document parsing result ',
'description' => '**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Gold services.'."\n"
."\n"
.'- Obtain the workspace ID. For more information, see [the workspace identity document](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [
['createdAt' => '2024-11-14T09:02:12.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetParseResult'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetParseResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetQualityCheckTaskResult' => [
'summary' => 'Retrieve quality check results.',
'path' => '/{workspaceId}/api/qualitycheck/task/query',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'llm-xxxxx'],
],
[
'name' => 'taskId',
'in' => 'query',
'schema' => ['description' => 'Task ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '17071319'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<QualityQueryResponse>',
'description' => 'ResultCode\\<qualityqueryresponse>\\</qualityqueryresponse>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Processing time, in milliseconds', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'Response data',
'type' => 'object',
'properties' => [
'conversationList' => [
'title' => '',
'description' => 'Original conversation content',
'type' => 'object',
'properties' => [
'callType' => [
'description' => 'Call type:',
'enumValueTitles' => [1 => 'Inbound', 'Outbound'],
'type' => 'string',
'title' => '',
'example' => '1',
],
'customerId' => ['description' => 'Customer ID', 'type' => 'string', 'title' => '', 'example' => '234234'],
'customerName' => ['description' => 'Customer name', 'type' => 'string', 'title' => '', 'example' => '张三'],
'customerServiceId' => ['description' => 'Agent ID', 'type' => 'string', 'title' => '', 'example' => '23984763826'],
'customerServiceName' => ['description' => 'Agent name', 'type' => 'string', 'title' => '', 'example' => '李四'],
'dialogueList' => [
'title' => '',
'description' => 'Dialogue details list',
'type' => 'array',
'items' => [
'description' => 'Dialogue detail',
'type' => 'object',
'properties' => [
'begin' => ['description' => 'Start time of this utterance, in milliseconds relative to the start of the conversation', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'beginTime' => ['description' => 'Start time of this utterance', 'type' => 'string', 'title' => '', 'example' => '2024-09-27 11:23:20'],
'content' => ['description' => 'Dialogue content', 'type' => 'string', 'title' => '', 'example' => '您好,我是2001,很高兴为您服务!'],
'customerId' => ['description' => 'Unique identifier for the dialogue role', 'type' => 'string', 'title' => '', 'example' => 'null'],
'customerServiceId' => ['description' => 'Agent ID', 'type' => 'string', 'title' => '', 'example' => '李四'],
'customerServiceType' => [
'description' => 'Agent type',
'enumValueTitles' => ['Bot', 'Human'],
'type' => 'string',
'title' => '',
'example' => '0',
],
'end' => ['description' => 'End time of this utterance, in milliseconds relative to the start of the conversation', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'id' => ['description' => 'Unique identifier for this utterance. Assigned internally', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'role' => [
'description' => 'Role',
'enumValueTitles' => ['Customer', 'Agent'],
'type' => 'string',
'title' => '',
'example' => '0',
],
'type' => [
'description' => 'Content type',
'enumValueTitles' => ['IMAGE' => 'Image', 'TEXT' => 'Text', 'AUDIO' => 'Voice'],
'type' => 'string',
'title' => '',
'example' => 'TEXT',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'gmtService' => ['description' => 'Conversation time', 'type' => 'string', 'title' => '', 'example' => '2024-09-27 11:23:20'],
],
'example' => '',
],
'gmtCreate' => ['description' => 'Task creation time. This is when the task was submitted', 'type' => 'string', 'title' => '', 'example' => '2024-09-27 11:23:20'],
'gmtEnd' => ['description' => 'System execution end time', 'type' => 'string', 'title' => '', 'example' => '2024-09-27 11:23:20'],
'gmtStart' => ['description' => 'System execution start time', 'type' => 'string', 'title' => '', 'example' => '2024-09-27 11:23:20'],
'qualityCheckList' => [
'title' => '',
'description' => 'Quality check result set',
'type' => 'array',
'items' => [
'description' => 'Quality check result',
'type' => 'object',
'properties' => [
'checkExplanation' => ['description' => 'Reason for passing or failing the quality check', 'type' => 'string', 'title' => '', 'example' => '暂无'],
'checkPassed' => [
'description' => 'Whether the quality check passed',
'enumValueTitles' => ['NOT_PASSED' => 'Failed', 'PASSED' => 'Passed'],
'type' => 'string',
'title' => '',
'example' => 'PASSED',
],
'checkProcess' => ['description' => 'Description of the quality check process', 'type' => 'string', 'title' => '', 'example' => '暂无'],
'checked' => [
'description' => 'Whether the rule matched',
'enumValueTitles' => ['HIT' => 'Matched', 'NOT_HIT' => 'Not matched'],
'type' => 'string',
'title' => '',
'example' => 'HIT',
],
'gmtEnd' => ['description' => 'Quality check completion time', 'type' => 'string', 'title' => '', 'example' => '2024-05-23 14:57:50'],
'gmtStart' => ['description' => 'Quality check start time', 'type' => 'string', 'title' => '', 'example' => '2024-05-23 14:57:50'],
'mode' => [
'description' => 'Internal quality check mode',
'enumValueTitles' => ['Large Language Model (LLM) quality check'],
'type' => 'string',
'title' => '',
'example' => '0',
],
'originDialogue' => [
'title' => '',
'description' => 'Original dialogue list',
'type' => 'array',
'items' => [
'description' => 'Original dialogue',
'type' => 'object',
'properties' => [
'begin' => ['description' => 'Start time of this utterance, in milliseconds relative to the start of the conversation', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'beginTime' => ['description' => 'Start time of this utterance', 'type' => 'string', 'title' => '', 'example' => '2024-05-23 14:57:50'],
'content' => ['description' => 'Dialogue content', 'type' => 'string', 'title' => '', 'example' => '您好,我是2001,很高兴为您服务!'],
'customerId' => ['description' => 'Unique identifier for the dialogue role', 'type' => 'string', 'title' => '', 'example' => 'xxx'],
'customerServiceId' => ['description' => 'Agent ID', 'type' => 'string', 'title' => '', 'example' => '23876432'],
'customerServiceType' => [
'description' => 'Agent type',
'enumValueTitles' => ['Bot', 'Human'],
'type' => 'string',
'title' => '',
'example' => '0',
],
'end' => ['description' => 'End time of this utterance, in milliseconds relative to the start of the conversation', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'id' => ['description' => 'Unique identifier for this utterance. Assigned internally', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'role' => [
'description' => 'Role',
'enumValueTitles' => ['Customer', 'Agent'],
'type' => 'string',
'title' => '',
'example' => '0',
],
'type' => [
'description' => 'Content type',
'enumValueTitles' => ['IMAGE' => 'Image', 'TEXT' => 'Text', 'AUDIO' => 'Voice'],
'type' => 'string',
'title' => '',
'example' => 'TEXT',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'qualityGroupId' => ['description' => 'Quality check group ID', 'type' => 'string', 'title' => '', 'example' => 'warning_customers'],
'ruleDescription' => ['description' => 'Quality check item description', 'type' => 'string', 'title' => '', 'example' => '进入检测预警客户流程'],
'ruleId' => ['description' => 'Quality check item ID', 'type' => 'string', 'title' => '', 'example' => 'wcm_start'],
'bizType' => ['title' => 'Rule business type ', 'description' => 'Rule business type', 'type' => 'string', 'example' => 'No'],
'ruleType' => ['title' => 'Rule polarity type. 0: negative, 1: positive. ', 'description' => 'Rule direction. 0: negative, 1: positive', 'type' => 'string', 'example' => '0'],
'subNodeCol' => [
'description' => 'Child node',
'title' => 'Child node ',
'type' => 'array',
'items' => ['description' => 'Quality check result for the child node. Structure matches qualityCheckList', 'type' => 'any', 'example' => '{'."\n"
.' "ruleId": "wxx_regulatory_authorities",'."\n"
.' "ruleDescription": "具体某机构预警",'."\n"
.' "checked": "HIT",'."\n"
.' "checkProcess": "通过审查对话记录,客户主要询问了关于贷款资方信息和结清证明的问题,并表达了想要注销账户的意愿。在整个对话过程中,客户并未提及任何具体的部门名称,也没有明确表示要向部门投诉的意图。",'."\n"
.' "originDialogue": null,'."\n"
.' "checkPassed": "NOT_PASSED",'."\n"
.' "checkExplanation": null,'."\n"
.' "mode": "0",'."\n"
.' "gmtStart": "2024-12-02 10:38:39",'."\n"
.' "gmtEnd": "2024-12-02 10:38:43",'."\n"
.' "qualityGroupId": "warning_customers",'."\n"
.' "bizType": null,'."\n"
.' "ruleType": "0",'."\n"
.' "subNodeCol": null'."\n"
.' }', 'title' => ''],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'status' => [
'description' => 'Task status',
'enumValueTitles' => ['CANCELLED' => 'Cancelled', 'INIT' => 'Initializing', 'COMPLETED' => 'Completed', 'PROCESSING' => 'In progress', 'FAIL' => 'Failed'],
'type' => 'string',
'title' => '',
'example' => 'INIT',
],
'taskId' => ['description' => 'Task ID', 'type' => 'string', 'title' => '', 'example' => '1703557101831'],
],
'example' => '',
],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '67C7021A-D268-553D-8C15-A087B9604028'],
'success' => ['description' => 'Whether the request succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"conversationList\\": {\\n \\"callType\\": \\"1\\",\\n \\"customerId\\": \\"234234\\",\\n \\"customerName\\": \\"张三\\",\\n \\"customerServiceId\\": \\"23984763826\\",\\n \\"customerServiceName\\": \\"李四\\",\\n \\"dialogueList\\": [\\n {\\n \\"begin\\": 0,\\n \\"beginTime\\": \\"2024-09-27 11:23:20\\",\\n \\"content\\": \\"您好,我是2001,很高兴为您服务!\\",\\n \\"customerId\\": \\"null\\",\\n \\"customerServiceId\\": \\"李四\\",\\n \\"customerServiceType\\": \\"0\\",\\n \\"end\\": 0,\\n \\"id\\": 1,\\n \\"role\\": \\"0\\",\\n \\"type\\": \\"TEXT\\"\\n }\\n ],\\n \\"gmtService\\": \\"2024-09-27 11:23:20\\"\\n },\\n \\"gmtCreate\\": \\"2024-09-27 11:23:20\\",\\n \\"gmtEnd\\": \\"2024-09-27 11:23:20\\",\\n \\"gmtStart\\": \\"2024-09-27 11:23:20\\",\\n \\"qualityCheckList\\": [\\n {\\n \\"checkExplanation\\": \\"暂无\\",\\n \\"checkPassed\\": \\"PASSED\\",\\n \\"checkProcess\\": \\"暂无\\",\\n \\"checked\\": \\"HIT\\",\\n \\"gmtEnd\\": \\"2024-05-23 14:57:50\\",\\n \\"gmtStart\\": \\"2024-05-23 14:57:50\\",\\n \\"mode\\": \\"0\\",\\n \\"originDialogue\\": [\\n {\\n \\"begin\\": 0,\\n \\"beginTime\\": \\"2024-05-23 14:57:50\\",\\n \\"content\\": \\"您好,我是2001,很高兴为您服务!\\",\\n \\"customerId\\": \\"xxx\\",\\n \\"customerServiceId\\": \\"23876432\\",\\n \\"customerServiceType\\": \\"0\\",\\n \\"end\\": 0,\\n \\"id\\": 1,\\n \\"role\\": \\"0\\",\\n \\"type\\": \\"TEXT\\"\\n }\\n ],\\n \\"qualityGroupId\\": \\"warning_customers\\",\\n \\"ruleDescription\\": \\"进入检测预警客户流程\\",\\n \\"ruleId\\": \\"wcm_start\\",\\n \\"bizType\\": \\"No\\",\\n \\"ruleType\\": \\"0\\",\\n \\"subNodeCol\\": [\\n \\"{\\\\n \\\\\\"ruleId\\\\\\": \\\\\\"wxx_regulatory_authorities\\\\\\",\\\\n \\\\\\"ruleDescription\\\\\\": \\\\\\"具体某机构预警\\\\\\",\\\\n \\\\\\"checked\\\\\\": \\\\\\"HIT\\\\\\",\\\\n \\\\\\"checkProcess\\\\\\": \\\\\\"通过审查对话记录,客户主要询问了关于贷款资方信息和结清证明的问题,并表达了想要注销账户的意愿。在整个对话过程中,客户并未提及任何具体的部门名称,也没有明确表示要向部门投诉的意图。\\\\\\",\\\\n \\\\\\"originDialogue\\\\\\": null,\\\\n \\\\\\"checkPassed\\\\\\": \\\\\\"NOT_PASSED\\\\\\",\\\\n \\\\\\"checkExplanation\\\\\\": null,\\\\n \\\\\\"mode\\\\\\": \\\\\\"0\\\\\\",\\\\n \\\\\\"gmtStart\\\\\\": \\\\\\"2024-12-02 10:38:39\\\\\\",\\\\n \\\\\\"gmtEnd\\\\\\": \\\\\\"2024-12-02 10:38:43\\\\\\",\\\\n \\\\\\"qualityGroupId\\\\\\": \\\\\\"warning_customers\\\\\\",\\\\n \\\\\\"bizType\\\\\\": null,\\\\n \\\\\\"ruleType\\\\\\": \\\\\\"0\\\\\\",\\\\n \\\\\\"subNodeCol\\\\\\": null\\\\n }\\"\\n ]\\n }\\n ],\\n \\"status\\": \\"INIT\\",\\n \\"taskId\\": \\"1703557101831\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"67C7021A-D268-553D-8C15-A087B9604028\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
'title' => 'Obtain quality inspection Result',
'changeSet' => [
['createdAt' => '2024-12-17T12:52:56.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2024-11-19T13:39:23.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetQualityCheckTaskResult'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetQualityCheckTaskResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetSummaryTaskResult' => [
'summary' => 'Retrieves the result of a financial report summary task.',
'path' => '/{workspaceId}/api/task/summary/result',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'llm-xxxx'],
],
[
'name' => 'taskId',
'in' => 'query',
'schema' => ['description' => 'Task ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '17071319'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<ChatModelResponse>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Time spent', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'Response data',
'type' => 'object',
'properties' => [
'choices' => [
'title' => '',
'description' => 'Details of the content generated by the model.',
'type' => 'array',
'items' => [
'description' => 'Chat messages',
'type' => 'object',
'properties' => [
'finishReason' => ['description' => 'Reason why the model stopped generating content.', 'type' => 'string', 'title' => '', 'example' => 'stop'],
'index' => ['description' => 'Sequence number of the generated result. Default is 0.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'message' => [
'title' => '',
'description' => 'Message output by the model.',
'type' => 'object',
'properties' => [
'content' => ['description' => 'Text generated by the model.', 'type' => 'string', 'title' => '', 'example' => '### **报告期经营业绩概述**\\n截至2024年3月31日止三个月的未经审核综合业绩显示强劲增长.'],
'role' => ['description' => 'Role of the model. Always assistant.', 'type' => 'string', 'title' => '', 'example' => 'assistant'],
'toolCalls' => [
'title' => '',
'description' => 'Tool calling',
'type' => 'array',
'items' => ['description' => 'Tool calling', 'type' => 'object', 'example' => 'null', 'title' => ''],
'example' => '',
],
],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'created' => ['description' => 'Creation time', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1726285125915'],
'id' => ['description' => 'System-generated ID that identifies this call.', 'type' => 'string', 'title' => '', 'example' => '1202'],
'modelId' => ['description' => 'Name of the model used in this call.', 'type' => 'string', 'title' => '', 'example' => 'qwen-max'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '0bc13a9517168617617186457e401f'],
'time' => ['description' => 'Time', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'totalTokens' => ['description' => 'Token count', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '300'],
'usage' => [
'title' => '',
'description' => 'Token consumption',
'type' => 'object',
'properties' => [
'imageCount' => ['description' => 'Number of images, for models such as wanx', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'imageTokens' => ['description' => 'Image token count, for models such as qwen-vl', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'inputTokens' => ['description' => 'Input token count', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '100'],
'outputTokens' => ['description' => 'Output token count', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
'totalTokens' => ['description' => 'Total token count', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '300'],
],
'example' => '',
],
],
'example' => '',
],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '0bc13a9517168617617186457e401f'],
'success' => ['description' => 'Whether the operation succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"choices\\": [\\n {\\n \\"finishReason\\": \\"stop\\",\\n \\"index\\": 0,\\n \\"message\\": {\\n \\"content\\": \\"### **报告期经营业绩概述**\\\\\\\\n截至2024年3月31日止三个月的未经审核综合业绩显示强劲增长.\\",\\n \\"role\\": \\"assistant\\",\\n \\"toolCalls\\": [\\n null\\n ]\\n }\\n }\\n ],\\n \\"created\\": 1726285125915,\\n \\"id\\": \\"1202\\",\\n \\"modelId\\": \\"qwen-max\\",\\n \\"requestId\\": \\"0bc13a9517168617617186457e401f\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"totalTokens\\": 300,\\n \\"usage\\": {\\n \\"imageCount\\": 0,\\n \\"imageTokens\\": 0,\\n \\"inputTokens\\": 100,\\n \\"outputTokens\\": 200,\\n \\"totalTokens\\": 300\\n }\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"0bc13a9517168617617186457e401f\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Retrieve Financial Report Summary Job Result ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSummaryTaskResult'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetSummaryTaskResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetTaskResult' => [
'summary' => 'Retrieves the result of an asynchronous task.',
'path' => '/{workspaceId}/api/task/result',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'llm-xxxx'],
],
[
'name' => 'taskId',
'in' => 'query',
'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '17071319'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<ChatModelResponse>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'The result of the asynchronous task.'."\n"
."\n"
.'## PDF translation task'."\n"
."\n"
.'The returned file\\_url is a downloadable file address.'."\n"
."\n"
.'```'."\n"
.'{'."\n"
.' "file_url": "https://finllmworks.oss-cn-zhangjiakou.aliyuncs.com/render_pdf/5336180997111160501.pdf"'."\n"
.'}'."\n"
.'```', 'type' => 'object', 'example' => '{'."\n"
.' "file_url": "https://finllmworks.oss-cn-zhangjiakou.aliyuncs.com/render_pdf/5336180997111160501.pdf"'."\n"
.'}', 'title' => ''],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '9D5D6BB5-BEAE-53C8-A70A-7275CC1F856C'],
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"file_url\\": \\"https://finllmworks.oss-cn-zhangjiakou.aliyuncs.com/render_pdf/5336180997111160501.pdf\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"9D5D6BB5-BEAE-53C8-A70A-7275CC1F856C\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Retrieve Result',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskResult'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetTaskResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetTaskStatus' => [
'summary' => 'Gets the status of a task.',
'path' => '/{workspaceId}/api/task/status',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'llm-xxxx'],
],
[
'name' => 'taskId',
'in' => 'query',
'schema' => ['description' => 'Task ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '17071319'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'ResultCode\\<string>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Execution time, in milliseconds', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'description' => 'Response data. The current status of the task.'."\n"
."\n"
.'- invalid: Parameters or dependent resources are unavailable.'."\n"
."\n"
.'- success: The task completed successfully.'."\n"
."\n"
.'- evict: The task was canceled.'."\n"
."\n"
.'- error: The task failed.'."\n"
."\n"
.'- running: The task is running.'."\n"
."\n"
.'- pending: The task is queued.',
'enumValueTitles' => ['running' => 'running', 'pending' => 'pending', 'invalid' => 'invalid', 'error' => 'error', 'evict' => 'evict'],
'type' => 'string',
'title' => '',
'example' => 'running',
],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '30F6AD44-F078-540D-B5A5-1E519C8E9E6D'],
'success' => ['description' => 'Indicates whether the request succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"running\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"30F6AD44-F078-540D-B5A5-1E519C8E9E6D\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Obtain Job Status',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskStatus'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetTaskStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'InvokePlugin' => [
'summary' => 'Call a plugin and retrieve its response.',
'path' => '/{workspaceId}/api/plugin/invoke',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter. The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameters.',
'type' => 'object',
'properties' => [
'params' => ['description' => 'Request parameters.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => '{'."\n"
.' "query": "介绍一下贵金属业务",'."\n"
.' "filters": ['."\n"
.' {'."\n"
.' "libraryId": "9xznrxw"'."\n"
.' }'."\n"
.' ],'."\n"
.' "topK": 1'."\n"
.' }'],
'pluginId' => ['description' => 'The plugin ID.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '3mj87da7zr'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<JSONObject>',
'description' => 'Result code.',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Response time in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'Response data.', 'type' => 'object', 'title' => '', 'example' => '{\'jobWaiting\': [0, 0], \'timestamps\': [1713383820, 1713383880], \'jobUsage\': [0, 0], \'quotaUsage\': [123, 32]}'],
'dataType' => ['description' => 'Data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '915AAAB9-4908-5224-9E53-9E9D7D0AA94B'],
'success' => ['description' => 'Indicates whether the call succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp in YYYY-MM-DD HH:MM:SS format.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"915AAAB9-4908-5224-9E53-9E9D7D0AA94B\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Invoke Plugin',
'description' => '**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Dianjin services.'."\n"
."\n"
.'- Obtain the workspace ID. For more information, see [Get the workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InvokePlugin'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:InvokePlugin',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'PreviewDocument' => [
'summary' => 'Preview documents. Retrieve document download links, types, and titles. Use this operation to preview documents.',
'path' => '/{workspaceId}/api/library/document/preview',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter, workspace ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'llm-xxxxx'],
],
[
'name' => 'documentId',
'in' => 'query',
'schema' => ['description' => 'Document ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '8326472354762354'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<DocumentPreviewVO>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
'previewType' => ['description' => 'Preview type.', 'type' => 'string', 'title' => '', 'example' => 'pdf'],
'title' => ['description' => 'Document title.', 'type' => 'string', 'title' => '', 'example' => 'test'],
'uploadTime' => ['description' => 'Upload time.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'url' => ['description' => 'Document URL.', 'type' => 'string', 'title' => '', 'example' => 'https://agi.alicdn.com/user/d0o/d3c1f50d-a6c2-49b3-b0c8-3e613c3f20ee_16872_3236784461.png'],
],
'example' => '',
],
'dataType' => ['description' => 'Data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => 'ff551395-1c8a-4f30-8ffd-ef7e87c70b4c'],
'success' => ['description' => 'Is successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Time.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"previewType\\": \\"pdf\\",\\n \\"title\\": \\"test\\",\\n \\"uploadTime\\": \\"2024-01-01 00:00:00\\",\\n \\"url\\": \\"https://agi.alicdn.com/user/d0o/d3c1f50d-a6c2-49b3-b0c8-3e613c3f20ee_16872_3236784461.png\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"ff551395-1c8a-4f30-8ffd-ef7e87c70b4c\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Preview document',
'description' => '**Prerequisites**'."\n"
."\n"
.'- You must activate Alibaba Cloud Model Studio and Tongyi Gold services.'."\n"
."\n"
.'- Obtain the workspace ID. For more information, see [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PreviewDocument'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:PreviewDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ReIndex' => [
'summary' => 'Reindexing reprocesses the specified document by parsing it, splitting it into chunks, and building a new index.',
'path' => '/{workspaceId}/api/library/document/reIndex',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter. The ID of the workspace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'llm-xxxxx'],
],
[
'name' => 'documentId',
'in' => 'query',
'schema' => ['description' => 'The ID of the document.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '8326472354762354'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<ResultCodeEnum>',
'description' => 'The response object.',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Processing time', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'The response data.', 'type' => 'string', 'title' => '', 'example' => 'True'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '32FFC91D-0A9F-585A-B84F-8A54C5187035'],
'success' => ['description' => 'Indicates whether the operation succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'The timestamp in YYYY-MM-DD HH:MM:SS format.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"True\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"32FFC91D-0A9F-585A-B84F-8A54C5187035\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Reindex',
'description' => 'Before you use this operation, review the billing method and pricing for Tongyi Dianjin.'."\n"
."\n"
.'**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'- You have obtained a workspace ID: Retrieve the [workspace identifier](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReIndex'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:ReIndex',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'RealTimeDialog' => [
'summary' => 'Starts a real-time session. After you create a session by calling the CreateDialog API, use this API to conduct the real-time interaction.',
'path' => '/{workspaceId}/api/realtime/dialog/chat',
'methods' => ['post'],
'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['text/event-stream', 'application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The request body parameters.',
'type' => 'object',
'properties' => [
'bizType' => ['description' => 'The business type. The default value is mixIntentChat.', 'type' => 'string', 'example' => 'mixIntentChat', 'default' => 'mixIntentChat', 'title' => '', 'required' => false],
'analysis' => ['description' => 'Specifies whether to perform analysis.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'],
'recommend' => ['description' => 'The recommended intent.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'],
'metaData' => ['description' => 'The metadata used to encapsulate prompts.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => '{'."\n"
.' "phoneTailNumber": "机主尾号:98X1",'."\n"
.' "preScreeningQuota": "预审额度:3万",'."\n"
.' "generalInterest": "平台一般利息:20.4%"'."\n"
.' }'],
'stream' => ['description' => 'Specifies whether to return the response in a stream.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'],
'conversationModel' => [
'title' => '',
'description' => 'The list of conversations.',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'A conversation.',
'type' => 'object',
'properties' => [
'role' => [
'description' => 'The role. 0 indicates the customer, and 1 indicates the customer service representative.',
'type' => 'integer',
'format' => 'int32',
'required' => true,
'enum' => ['0', '1'],
'title' => '',
'example' => '0',
],
'intentionCode' => ['title' => 'Intent Code ', 'description' => 'The intent code.', 'type' => 'string', 'required' => false, 'example' => '198379874354'],
'customerServiceType' => [
'description' => 'The type of the customer service representative. 0: bot, 1: human.',
'type' => 'string',
'enum' => ['0', '1'],
'title' => '',
'required' => false,
'example' => '0',
],
'customerServiceId' => ['description' => 'The ID of the customer service representative. This parameter is **required**.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1374683645635'],
'customerId' => ['description' => 'The unique ID of the conversation role. This parameter is **required**.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '98457834685635'],
'content' => ['description' => 'The specific content of the conversation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '人工客服'],
'type' => [
'description' => 'The type of the conversation content. Valid values: text, audio, and image.',
'type' => 'string',
'required' => true,
'enum' => ['text', 'audio', 'image'],
'title' => '',
'example' => 'audio',
],
'beginTime' => ['description' => 'The start time of this sentence.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2024-11-08 09:51:16'],
'begin' => ['description' => 'The start time of the sentence, in milliseconds, relative to the start of the session.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '5'],
'end' => ['description' => 'The end time of the sentence, in milliseconds, relative to the start of the session.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
],
'required' => false,
'example' => '',
],
'required' => true,
'example' => '',
],
'sessionId' => ['description' => 'The session ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '237645726354'],
'dialogMemoryTurns' => ['description' => 'The number of historical conversation turns to include.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '3'],
'userVad' => ['title' => 'Indicates whether the user interrupted', 'description' => 'Specifies whether the user interrupted the conversation.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'true'],
'scriptContentPlayed' => ['title' => 'Portion of the previous customer service script that has already been played', 'description' => 'The part of the previous script from the customer service representative that has been played.', 'type' => 'string', 'required' => false, 'example' => '你好,我是'],
'opType' => ['title' => 'Operation Type, currently supports common or hierarchical', 'description' => 'The operation type. Only common and hierarchical are supported.', 'type' => 'string', 'example' => 'common', 'default' => 'common', 'required' => false],
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'IntentionChatResp',
'description' => 'IntentionChatResp',
'type' => 'object',
'properties' => [
'id' => ['description' => 'The unique identifier for this call. Each chunk object has the same ID.', 'type' => 'string', 'title' => '', 'example' => 'eb2b6139-ddf1-91a0-a47f-df7617ae9032'],
'choices' => [
'title' => '',
'description' => 'An array of generated content. It can contain one or more choice objects.',
'type' => 'array',
'items' => [
'description' => 'The generated content.',
'type' => 'object',
'properties' => [
'index' => ['description' => 'The sequence number in the choices list.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'finishReason' => ['description' => 'The value is \\`stop\\` if the session ends. The value is \\`null\\` if the session is in progress. If \\`success\\` is \\`false\\`, this parameter returns an error message.', 'type' => 'string', 'title' => '', 'example' => 'stop'],
'message' => [
'title' => '',
'description' => 'The full result returned for non-streaming responses. This is empty for streaming responses.',
'type' => 'object',
'properties' => [
'intentionCode' => ['description' => 'The intent code.', 'type' => 'string', 'title' => '', 'example' => '1853360771162058752'],
'intentionScript' => ['description' => 'The intent script.', 'type' => 'string', 'title' => '', 'example' => '抱歉,我没有明白您的意思,或者您可以拨打我们的客服热线,请客服人员为您解答。'],
'intentionName' => ['description' => 'The intent name.', 'type' => 'string', 'title' => '', 'example' => '其它'],
'recommendIntention' => ['description' => 'The recommended intent.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'recommendScript' => ['description' => 'The recommended script.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'analysisProcess' => ['description' => 'The analysis process.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'selfDirectedScript' => ['description' => 'The script for the Q\\&A pair. This is incremental data. This is empty for streaming responses.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'callTime' => ['title' => 'time', 'description' => 'The time.', 'type' => 'string', 'example' => '1735139569523'],
'hangUpDialog' => ['description' => 'Hang up the dialog.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'selfDirectedScriptFullContent' => ['description' => 'The script for the Q\\&A pair. This is the full data.', 'type' => 'string', 'title' => '', 'example' => '关于宇宙的大小,这是一个非常深奥的科学话题'."\n"],
'interrupt' => ['title' => 'is interrupted ', 'description' => 'Specifies whether the conversation was interrupted.', 'type' => 'boolean', 'example' => 'false'],
'skipCurrentRecognize' => ['title' => 'is skip current recognition ', 'description' => 'Specifies whether to skip the current recognition.', 'type' => 'boolean', 'default' => 'false', 'example' => ''],
],
'example' => '',
],
'delta' => [
'title' => '',
'description' => 'The incremental result returned for streaming responses. This is empty for non-streaming responses.',
'type' => 'object',
'properties' => [
'intentionCode' => ['description' => 'The intent code.', 'type' => 'string', 'title' => '', 'example' => '1853360771162058752'],
'intentionScript' => ['description' => 'The intent script.', 'type' => 'string', 'title' => '', 'example' => '抱歉,我没有明白您的意思,或者您可以拨打我们的客服热线,请客服人员为您解答。'],
'intentionName' => ['description' => 'The intent name.', 'type' => 'string', 'title' => '', 'example' => '其他'],
'recommendIntention' => ['description' => 'The recommended intent.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'recommendScript' => ['description' => 'The recommended script.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'analysisProcess' => ['description' => 'The analysis process.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'selfDirectedScript' => ['description' => 'The script for the Q\\&A pair. This is incremental data.', 'type' => 'string', 'title' => '', 'example' => '话题'],
'callTime' => ['title' => 'time', 'description' => 'The time.', 'type' => 'string', 'example' => 'null'],
'hangUpDialog' => ['description' => 'Hangs up the dialog.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'selfDirectedScriptFullContent' => ['description' => 'The script for the Q\\&A pair. This is the full data.', 'type' => 'string', 'title' => '', 'example' => '关于宇宙的大小,这是一个非常深奥的科学话题'],
'interrupt' => ['title' => 'is interrupt', 'description' => 'Specifies whether the conversation was interrupted.', 'type' => 'boolean', 'example' => 'false'],
'skipCurrentRecognize' => ['title' => 'is skip current detect', 'description' => 'Specifies whether to skip the current recognition.', 'type' => 'boolean', 'default' => 'false', 'example' => 'false'],
],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'created' => ['description' => 'The timestamp when this request was created.', 'type' => 'string', 'title' => '', 'example' => '1735139569523'],
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"id\\": \\"eb2b6139-ddf1-91a0-a47f-df7617ae9032\\",\\n \\"choices\\": [\\n {\\n \\"index\\": 0,\\n \\"finishReason\\": \\"stop\\",\\n \\"message\\": {\\n \\"intentionCode\\": \\"1853360771162058752\\",\\n \\"intentionScript\\": \\"抱歉,我没有明白您的意思,或者您可以拨打我们的客服热线,请客服人员为您解答。\\",\\n \\"intentionName\\": \\"其它\\",\\n \\"recommendIntention\\": \\"null\\",\\n \\"recommendScript\\": \\"null\\",\\n \\"analysisProcess\\": \\"null\\",\\n \\"selfDirectedScript\\": \\"null\\",\\n \\"callTime\\": \\"1735139569523\\",\\n \\"hangUpDialog\\": false,\\n \\"selfDirectedScriptFullContent\\": \\"关于宇宙的大小,这是一个非常深奥的科学话题\\\\n\\",\\n \\"interrupt\\": false,\\n \\"skipCurrentRecognize\\": false\\n },\\n \\"delta\\": {\\n \\"intentionCode\\": \\"1853360771162058752\\",\\n \\"intentionScript\\": \\"抱歉,我没有明白您的意思,或者您可以拨打我们的客服热线,请客服人员为您解答。\\",\\n \\"intentionName\\": \\"其他\\",\\n \\"recommendIntention\\": \\"null\\",\\n \\"recommendScript\\": \\"null\\",\\n \\"analysisProcess\\": \\"null\\",\\n \\"selfDirectedScript\\": \\"话题\\",\\n \\"callTime\\": \\"null\\",\\n \\"hangUpDialog\\": false,\\n \\"selfDirectedScriptFullContent\\": \\"关于宇宙的大小,这是一个非常深奥的科学话题\\",\\n \\"interrupt\\": false,\\n \\"skipCurrentRecognize\\": false\\n }\\n }\\n ],\\n \\"created\\": \\"1735139569523\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\"\\n}","type":"json"}]',
'title' => 'Real-time Session ',
'description' => 'Before using this API, make sure you understand the billing methods and pricing of the Tongyi Gold service.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'Alibaba Cloud Model Studio and the Tongyi Gold service are activated.'."\n"
."\n"
.'Obtain a workspaceId. For more information, see [Get an app ID and workspace](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [
['createdAt' => '2025-09-25T02:55:43.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2025-03-28T02:04:24.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2025-02-25T12:02:04.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RealTimeDialog'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RealTimeDialog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'RealtimeDialogAssist' => [
'summary' => 'Provides real-time dialog assistance after a session is created using CreateDialog. Note: This operation returns multiple intents, tags, and SOP flows. Unlike real-time sessions, it does not support streaming responses.',
'path' => '/{workspaceId}/api/realtime/dialog/assist',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['text/event-stream', 'application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameters.',
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254'],
'bizType' => ['description' => 'Business type. Currently, only dialogAssist is supported.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'dialogAssist'],
'analysis' => ['description' => 'Whether to analyze', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'],
'metaData' => ['title' => 'metaData', 'description' => 'metaData', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "phoneTailNumber": "机主尾号:98X1",'."\n"
.' "preScreeningQuota": "预审额度:3万",'."\n"
.' "generalInterest": "平台一般利息:20.4%"'."\n"
.' }'],
'conversationModel' => [
'title' => '',
'description' => 'Dialog list',
'type' => 'array',
'items' => [
'description' => 'Dialog',
'type' => 'object',
'properties' => [
'role' => ['description' => 'Role. 0 indicates customer, 1 indicates agent.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '0'],
'customerServiceType' => ['description' => 'Agent type. 0: Robot, 1: Human.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '0'],
'customerServiceId' => ['description' => 'Customer service ID', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '1374683645635'],
'customerId' => ['description' => 'Unique identity of the dialog role', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '98457834685635'],
'content' => ['description' => 'Specific content of the dialog', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '你好'],
'type' => ['description' => 'Type of dialog content. Currently, only text is supported.', 'type' => 'string', 'required' => false, 'example' => 'text', 'default' => 'text', 'title' => ''],
'beginTime' => ['title' => 'Start time of this utterance ', 'description' => 'Start time of this utterance', 'type' => 'string', 'example' => '2025-12-12 09:00:00', 'required' => false],
'begin' => ['title' => 'Start time of this utterance, expressed as an offset in milliseconds from the start point of the session ', 'description' => 'Start time of this utterance, offset in milliseconds from the session start.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'required' => false],
'end' => ['title' => 'End time of this utterance, expressed as an offset in milliseconds from the start point of the session ', 'description' => 'End time of this utterance, offset in milliseconds from the session start.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'required' => false],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
'sessionId' => ['description' => 'Session ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1915593248420413441'],
'dialogMemoryTurns' => ['description' => 'Number of historical dialog turns included', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'default' => '0', 'title' => '', 'required' => false],
'userVad' => ['title' => 'Indicates whether the user interrupted ', 'description' => 'Whether the user interrupted', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'true'],
'scriptContentPlayed' => ['title' => 'The portion of the previous customer service script that has already been played', 'description' => 'Portion of the previous agent utterance already broadcast', 'type' => 'string', 'example' => '你好', 'required' => false],
'hangUpDialog' => ['description' => 'Hang up the session', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<DialogAssistResult>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Whether successful', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'Response data',
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'Unique request ID. This request ID matches the request ID in the input parameter.', 'type' => 'string', 'title' => '', 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254'],
'sessionId' => ['description' => 'Session ID', 'type' => 'string', 'title' => '', 'example' => '"1915593248420413441"'],
'interrupt' => ['title' => 'Whether interrupted ', 'description' => 'Whether interrupted', 'type' => 'boolean', 'example' => 'true'],
'conversationModel' => [
'title' => '',
'description' => 'Current dialog content',
'type' => 'array',
'items' => [
'description' => 'Specific content of the dialog',
'type' => 'object',
'properties' => [
'role' => ['description' => 'Role. 0 indicates customer, 1 indicates agent.', 'type' => 'string', 'title' => '', 'example' => '"0"'],
'customerServiceType' => ['description' => 'Agent type. 0: Robot, 1: Human.', 'type' => 'string', 'title' => '', 'example' => '"0"'],
'customerServiceId' => ['description' => 'Customer service ID', 'type' => 'string', 'title' => '', 'example' => '"1374683645635"'],
'customerId' => ['description' => 'Unique identity of the dialog role', 'type' => 'string', 'title' => '', 'example' => '"98457834685635"'],
'content' => ['description' => 'Specific content of the dialog', 'type' => 'string', 'title' => '', 'example' => '你好'],
'type' => ['description' => 'Type of dialog content', 'type' => 'string', 'title' => '', 'example' => 'text'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'assistScripts' => [
'title' => '',
'description' => 'List of dialog assist results',
'type' => 'array',
'items' => [
'description' => 'Dialog assist result',
'type' => 'object',
'properties' => [
'intentCode' => ['description' => 'Intent encoding', 'type' => 'string', 'title' => '', 'example' => '"1920005488515465216"'],
'intentName' => ['description' => 'Intent name', 'type' => 'string', 'title' => '', 'example' => '礼貌问答'],
'intentLabels' => ['description' => 'Intent labels', 'type' => 'string', 'title' => '', 'example' => 'null'],
'assistScript' => ['description' => 'Recommended utterance', 'type' => 'string', 'title' => '', 'example' => '可按照SOP流程回应。'],
'isDefault' => ['description' => 'Whether intent escaped', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'assistSop' => [
'title' => '',
'description' => 'List of flow assist results',
'type' => 'array',
'items' => [
'description' => 'Flow assist result',
'type' => 'object',
'properties' => [
'intentCode' => ['description' => 'Intent encoding', 'type' => 'string', 'title' => '', 'example' => 'XXX'],
'intentName' => ['description' => 'Intent name', 'type' => 'string', 'title' => '', 'example' => 'XXX'],
'assistSop' => ['description' => 'Recommended flow', 'type' => 'string', 'title' => '', 'example' => 'XXX'],
'isDefault' => ['description' => 'Indicates whether the intent is to escape.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'analysisProcess' => ['description' => 'Analysis process', 'type' => 'string', 'title' => '', 'example' => '客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。'],
],
'example' => '',
],
'requestId' => ['description' => 'Request ID. This is the system-recorded request ID. If issues arise, provide this ID to the Model Studio DianJin R\\&D team for troubleshooting.', 'type' => 'string', 'title' => '', 'example' => '67C7021A-D268-553D-8C15-A087B9604028'],
'cost' => ['description' => 'Time consumed', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"requestId\\": \\"0FC6636E-380A-5369-AE01-D1C15BB9B254\\",\\n \\"sessionId\\": \\"\\\\\\"1915593248420413441\\\\\\"\\",\\n \\"interrupt\\": true,\\n \\"conversationModel\\": [\\n {\\n \\"role\\": \\"\\\\\\"0\\\\\\"\\",\\n \\"customerServiceType\\": \\"\\\\\\"0\\\\\\"\\",\\n \\"customerServiceId\\": \\"\\\\\\"1374683645635\\\\\\"\\",\\n \\"customerId\\": \\"\\\\\\"98457834685635\\\\\\"\\",\\n \\"content\\": \\"你好\\",\\n \\"type\\": \\"text\\"\\n }\\n ],\\n \\"assistScripts\\": [\\n {\\n \\"intentCode\\": \\"\\\\\\"1920005488515465216\\\\\\"\\",\\n \\"intentName\\": \\"礼貌问答\\",\\n \\"intentLabels\\": \\"null\\",\\n \\"assistScript\\": \\"可按照SOP流程回应。\\",\\n \\"isDefault\\": true\\n }\\n ],\\n \\"assistSop\\": [\\n {\\n \\"intentCode\\": \\"XXX\\",\\n \\"intentName\\": \\"XXX\\",\\n \\"assistSop\\": \\"XXX\\",\\n \\"isDefault\\": true\\n }\\n ],\\n \\"analysisProcess\\": \\"客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。\\"\\n },\\n \\"requestId\\": \\"67C7021A-D268-553D-8C15-A087B9604028\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Real-Time Session Assistance ',
'description' => 'Before you use this API, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/zh/model-studio/tongyi-dianjin-overview?spm=a2c4g.11186623.help-menu-2400256.d_1_6_6_0.15e77499sSMTGb) of Alibaba Cloud Model Studio DianJin.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'Activate the Alibaba Cloud Model Studio and Model Studio DianJin services.'."\n"
."\n"
.'Obtain the [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8) to use as your workspaceId.',
'changeSet' => [
['createdAt' => '2026-01-07T02:52:32.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RealtimeDialogAssist',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'RebuildTask' => [
'summary' => 'Rebuilds an existing task. You cannot rebuild tasks that are queued or currently executing.',
'path' => '/{workspaceId}/api/task/rebuild',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeNodes' => ['FEATUREsfmJIZ0TW'],
],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'taskIds' => [
'title' => '',
'description' => 'A list of task IDs.',
'type' => 'array',
'items' => ['description' => 'A task ID.', 'type' => 'string', 'required' => false, 'example' => '3894763764', 'title' => ''],
'required' => true,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<List<Map<String, Object>>>',
'description' => 'ResultCode\\<List\\<Map\\<String, Object>>>',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'The data returned.',
'type' => 'array',
'items' => ['description' => 'The result of the rebuild task operation. \\`taskId\\` is the task ID. \\`status\\` indicates the operation status (\\`success\\` or \\`error\\`). \\`message\\` provides details.'."\n"
."\n"
.'```'."\n"
.'{'."\n"
.' "message": "The task is being executed and cannot be rebuilt.",'."\n"
.' "taskId": "-253103935",'."\n"
.' "status": "error"'."\n"
.'}'."\n"
.'```', 'type' => 'object', 'title' => '', 'example' => '{'."\n"
.' "message": "任务正在执行中,不能重新构建",'."\n"
.' "taskId": "-253103935",'."\n"
.' "status": "error"'."\n"
.'}'],
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258'],
'cost' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": [\\n {\\n \\"message\\": \\"任务正在执行中,不能重新构建\\",\\n \\"taskId\\": \\"-253103935\\",\\n \\"status\\": \\"error\\"\\n }\\n ],\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Rebuild Job ',
'description' => 'Before you use this API, review the billing methods and pricing for the Dianjin service.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'You have activated Alibaba Cloud Model Studio and the Dianjin service.'."\n"
."\n"
.'You have obtained a workspace ID. For more information, see [Get an app ID and workspace](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RebuildTask'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RebuildTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'RecallDocument' => [
'summary' => 'You can retrieve document chunks from a document library using text. You can specify the number of chunks to retrieve, filter them by metadata conditions, and choose whether to complete the document chunks.',
'path' => '/{workspaceId}/api/library/recallDocument',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter, workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameters.',
'type' => 'object',
'properties' => [
'filters' => [
'title' => '',
'description' => 'Metadata filter conditions.',
'type' => 'array',
'items' => [
'description' => 'Filter.',
'type' => 'object',
'properties' => [
'and' => [
'title' => '',
'description' => 'AND expression, used to filter documents/document chunks.',
'type' => 'array',
'items' => [
'description' => 'AND expression.',
'type' => 'object',
'properties' => [
'boost' => ['description' => 'Keyword weight.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '20', 'title' => ''],
'key' => ['description' => 'The key of the metadata in the document library.', 'type' => 'string', 'required' => false, 'example' => 'docType', 'title' => ''],
'operator' => ['description' => 'The relationship between the value stored in the document library metadata key and the value you enter.'."\n"
."\n"
.'- eq: The value stored in the document library metadata key equals the value you enter.'."\n"
."\n"
.'- lte: The value stored in the document library metadata key is less than or equal to the value you enter.'."\n"
."\n"
.'- gte: The value stored in the document library metadata key is greater than or equal to the value you enter.'."\n"
."\n"
.'- lt: The value stored in the document library metadata key is less than the value you enter.'."\n"
."\n"
.'- gt: The value stored in the document library metadata key is greater than the value you enter.'."\n"
."\n"
.'- contains: The list of values stored in the document library metadata key contains the value you enter.', 'type' => 'string', 'required' => false, 'example' => 'contains', 'title' => ''],
'value' => ['description' => 'The value of the metadata you enter.', 'type' => 'string', 'required' => false, 'example' => '策略报告', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'chunkType' => ['description' => 'Document chunk type, used to filter document chunks, such as: Text, Graph, Table, FAQ.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Text'],
'docIdList' => [
'title' => '',
'description' => 'Document ID list, used to filter documents/document chunks.',
'type' => 'array',
'items' => ['description' => 'Document ID.', 'type' => 'string', 'required' => false, 'example' => '8372458573692819933', 'title' => ''],
'required' => false,
'example' => '',
],
'libraryId' => ['description' => 'Document library ID, used to filter documents/document chunks.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'sdbjhvs'],
'or' => [
'title' => '',
'description' => 'OR expression, used to filter documents/document chunks.',
'type' => 'array',
'items' => [
'description' => 'OR expression.',
'type' => 'object',
'properties' => [
'boost' => ['description' => 'Keyword weight.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '30', 'title' => ''],
'key' => ['description' => 'The key of the metadata in the document library.', 'type' => 'string', 'required' => false, 'example' => 'researcher', 'title' => ''],
'operator' => ['description' => 'The relationship between the value stored in the document library metadata key and the value you enter.'."\n"
."\n"
.'- eq: The value stored in the document library metadata key equals the value you enter.'."\n"
."\n"
.'- lte: The value stored in the document library metadata key is less than or equal to the value you enter.'."\n"
."\n"
.'- gte: The value stored in the document library metadata key is greater than or equal to the value you enter.'."\n"
."\n"
.'- lt: The value stored in the document library metadata key is less than the value you enter.'."\n"
."\n"
.'- gt: The value stored in the document library metadata key is greater than the value you enter.'."\n"
."\n"
.'- contains: The list of values stored in the document library metadata key contains the value you enter.', 'type' => 'string', 'required' => false, 'example' => 'eq', 'title' => ''],
'value' => ['description' => 'The value of the metadata you enter.', 'type' => 'string', 'required' => false, 'example' => 'zhangsan', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'status' => [
'title' => '',
'description' => 'Document status list, used to filter documents.',
'type' => 'array',
'items' => ['description' => 'Document status.', 'type' => 'string', 'required' => false, 'example' => 'WaitRefresh', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'query' => ['description' => 'Text.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '欧洲杯历史上有哪些球队因为球员的适应新文化而受益'],
'rearrangement' => ['description' => 'Enable parent-child document chunk retrieval.'."\n"
."\n"
.'- Parent-child document chunks: During document parsing, a complete semantic block, such as a paragraph or a section, might split into multiple document chunks. This depends on your chunking strategy. When you enable parent-child document retrieval, the system attempts to complete the semantic block of the retrieved document chunk. This makes the corpus more semantically complete when constructing prompts, improving answer completeness and accuracy.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
'topK' => ['description' => 'The number of document chunks to retrieve.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<LibraryDocumentRecallVO>',
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Time elapsed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'],
'data' => [
'title' => '',
'description' => 'Response data.',
'type' => 'object',
'properties' => [
'chunkList' => [
'title' => '',
'description' => 'Chunk list.',
'type' => 'array',
'items' => [
'description' => 'Chunk.',
'type' => 'object',
'properties' => [
'chunkId' => ['description' => 'Document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '823746762354'],
'chunkMeta' => ['description' => 'Document chunk metadata.', 'type' => 'object', 'title' => '', 'example' => '{"a":"1"}'],
'chunkOssUrl' => ['description' => 'Document chunk OSS address.', 'type' => 'string', 'title' => '', 'example' => 'http://oss-xxx-hangzhou.com/xxx'],
'chunkText' => ['description' => 'Document chunk text.', 'type' => 'string', 'title' => '', 'example' => '测试文档块'],
'chunkType' => ['description' => 'Document chunk type.', 'type' => 'string', 'title' => '', 'example' => 'text'],
'docId' => ['description' => 'Document ID.', 'type' => 'string', 'title' => '', 'example' => '839468263472'],
'fileType' => ['description' => 'Document type.', 'type' => 'string', 'title' => '', 'example' => 'pdf'],
'libraryId' => ['description' => 'Document library ID.', 'type' => 'string', 'title' => '', 'example' => 'dscsbdsk'],
'libraryName' => ['description' => 'Document library name.', 'type' => 'string', 'title' => '', 'example' => '测试文档库'],
'nextChunkId' => ['description' => 'Next document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '982374872364'],
'pos' => [
'title' => '',
'description' => 'Document chunk position.',
'type' => 'array',
'items' => [
'description' => 'Document chunk position coordinates.',
'type' => 'object',
'properties' => [
'axisArray' => [
'title' => '',
'description' => 'Coordinates.',
'type' => 'array',
'items' => ['description' => 'Coordinate value.', 'type' => 'number', 'format' => 'double', 'example' => '20.8', 'title' => ''],
'example' => '',
],
'page' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'textHighlightArea' => [
'title' => '',
'description' => 'Text highlight area, used for text-type file highlighting.',
'type' => 'array',
'items' => ['description' => 'Text highlight area data.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'preChunkId' => ['description' => 'Previous document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '827364827364832'],
'score' => ['description' => 'Document chunk score.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0.5'],
'title' => ['description' => 'Document title.', 'type' => 'string', 'title' => '', 'example' => 'test'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'chunkPartList' => [
'title' => '',
'description' => 'Chunk part (layout recognition result) list.',
'type' => 'array',
'items' => [
'description' => 'Chunk part (layout recognition result).',
'type' => 'object',
'properties' => [
'chunkId' => ['description' => 'Document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '98327482364'],
'chunkMeta' => ['description' => 'Document chunk metadata.', 'type' => 'object', 'title' => '', 'example' => '{"a":"1"}'],
'chunkOssUrl' => ['description' => 'Document chunk OSS address.', 'type' => 'string', 'title' => '', 'example' => 'http://oss-xxx-hangzhou.com/xxx'."\n"],
'chunkText' => ['description' => 'Document chunk text.', 'type' => 'string', 'title' => '', 'example' => '测试文档块'."\n"],
'chunkType' => ['description' => 'Document chunk type.', 'type' => 'string', 'title' => '', 'example' => 'text'],
'docId' => ['description' => 'Document ID.', 'type' => 'string', 'title' => '', 'example' => '92837482364'],
'fileType' => ['description' => 'Document type.', 'type' => 'string', 'title' => '', 'example' => 'pdf'],
'libraryId' => ['description' => 'Document library ID.', 'type' => 'string', 'title' => '', 'example' => 'sjdhgjsd'],
'libraryName' => ['description' => 'Document library name.', 'type' => 'string', 'title' => '', 'example' => '测试文档库'],
'nextChunkId' => ['description' => 'Next document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '2387648263542'],
'pos' => [
'title' => '',
'description' => 'Document chunk position.',
'type' => 'array',
'items' => [
'description' => 'Document chunk position data.',
'type' => 'object',
'properties' => [
'axisArray' => [
'title' => '',
'description' => 'Coordinates.',
'type' => 'array',
'items' => ['description' => 'Coordinate value.', 'type' => 'number', 'format' => 'double', 'example' => '1', 'title' => ''],
'example' => '',
],
'page' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'textHighlightArea' => [
'title' => '',
'description' => 'Text highlight area, used for text-type file highlighting.',
'type' => 'array',
'items' => ['description' => 'Text highlight area position data.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'preChunkId' => ['description' => 'Previous document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '32874682764'],
'score' => ['description' => 'Document chunk score.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0.5'],
'title' => ['description' => 'Document title.', 'type' => 'string', 'title' => '', 'example' => '测试文档标题'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'chunkTextList' => [
'title' => '',
'description' => 'Chunk text list.',
'type' => 'array',
'items' => ['description' => 'Document chunk', 'type' => 'string', 'example' => '这是一段测试文档块', 'title' => ''],
'example' => '',
],
'documents' => [
'title' => '',
'description' => 'Document list.',
'type' => 'array',
'items' => [
'description' => 'Document information.',
'type' => 'object',
'properties' => [
'docId' => ['description' => 'Document ID.', 'type' => 'string', 'title' => '', 'example' => '92837482364'],
'documentMeta' => ['description' => 'Document metadata.', 'type' => 'object', 'title' => '', 'example' => '{"a":"1"}'."\n"],
'fileType' => ['description' => 'Document type.', 'type' => 'string', 'title' => '', 'example' => 'pdf'],
'gmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'libraryId' => ['description' => 'Document library ID.', 'type' => 'string', 'title' => '', 'example' => 'sjdhgjsd'."\n"],
'title' => ['description' => 'Document title.', 'type' => 'string', 'title' => '', 'example' => 'test'],
'url' => ['description' => 'Document link.', 'type' => 'string', 'title' => '', 'example' => 'http://oss-xxx-hangzhou.com/test.pdf'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'embeddingElapsedMs' => ['description' => 'Vector computation time elapsed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'],
'textChunkList' => [
'title' => '',
'description' => 'List of chunks retrieved from the text index.',
'type' => 'array',
'items' => [
'description' => 'Chunk retrieved from the text index.',
'type' => 'object',
'properties' => [
'chunkId' => ['description' => 'Document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '32874682364'],
'chunkMeta' => ['description' => 'Document chunk metadata.', 'type' => 'object', 'title' => '', 'example' => '{"a":"1"}'."\n"],
'chunkOssUrl' => ['description' => 'Document chunk OSS address.', 'type' => 'string', 'title' => '', 'example' => 'http://oss-xxx-hangzhou.com/xxx'."\n"],
'chunkText' => ['description' => 'Document chunk text.', 'type' => 'string', 'title' => '', 'example' => '这是一段测试文档块'."\n"],
'chunkType' => ['description' => 'Document chunk type.', 'type' => 'string', 'title' => '', 'example' => 'text'],
'docId' => ['description' => 'Document ID.', 'type' => 'string', 'title' => '', 'example' => '8372467263542'],
'fileType' => ['description' => 'Document type.', 'type' => 'string', 'title' => '', 'example' => 'pdf'],
'libraryId' => ['description' => 'Document library ID.', 'type' => 'string', 'title' => '', 'example' => 'djsgfsjd'],
'libraryName' => ['description' => 'Document library name.', 'type' => 'string', 'title' => '', 'example' => '测试文档库'],
'nextChunkId' => ['description' => 'Next document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '23874682432'],
'pos' => [
'title' => '',
'description' => 'Document chunk position.',
'type' => 'array',
'items' => [
'description' => 'Document chunk position.',
'type' => 'object',
'properties' => [
'axisArray' => [
'title' => '',
'description' => 'Coordinates.',
'type' => 'array',
'items' => ['description' => 'Coordinate value.', 'type' => 'number', 'format' => 'double', 'example' => '10', 'title' => ''],
'example' => '',
],
'page' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'textHighlightArea' => [
'title' => '',
'description' => 'Text highlight area, used for text-type file highlighting.',
'type' => 'array',
'items' => ['description' => 'Text highlight area data.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'preChunkId' => ['description' => 'Previous document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '89473868346'],
'score' => ['description' => 'Document chunk score.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0.5'],
'title' => ['description' => 'Document title.', 'type' => 'string', 'title' => '', 'example' => '测试文档标题'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'textSearchElapsedMs' => ['description' => 'Text search time elapsed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'],
'totalElapsedMs' => ['description' => 'Total time elapsed, including vector computation time, vector search time, and text search time (depending on retrieval parameters).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '400'],
'vectorChunkList' => [
'title' => '',
'description' => 'List of chunks retrieved from the vector index.',
'type' => 'array',
'items' => [
'description' => 'Chunk retrieved from the vector index.',
'type' => 'object',
'properties' => [
'chunkId' => ['description' => 'Document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '8723642345276'],
'chunkMeta' => ['description' => 'Document chunk metadata.', 'type' => 'object', 'title' => '', 'example' => '{"a":"1"}'],
'chunkOssUrl' => ['description' => 'Document chunk OSS address.', 'type' => 'string', 'title' => '', 'example' => 'https://oss-xxxx-hangzhou.com/test.pdf'],
'chunkText' => ['description' => 'Document chunk text.', 'type' => 'string', 'title' => '', 'example' => '这是一段测试文本'],
'chunkType' => ['description' => 'Document chunk type.', 'type' => 'string', 'title' => '', 'example' => 'text'],
'docId' => ['description' => 'Document ID.', 'type' => 'string', 'title' => '', 'example' => '78326476235675372'],
'fileType' => ['description' => 'Document type.', 'type' => 'string', 'title' => '', 'example' => 'pdf'],
'libraryId' => ['description' => 'Document library ID.', 'type' => 'string', 'title' => '', 'example' => 'djsgfsjd'],
'libraryName' => ['description' => 'Document library name.', 'type' => 'string', 'title' => '', 'example' => '测试文档库'],
'nextChunkId' => ['description' => 'Next document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '293846872343'],
'pos' => [
'title' => '',
'description' => 'Document chunk position.',
'type' => 'array',
'items' => [
'description' => 'Document chunk position coordinates.',
'type' => 'object',
'properties' => [
'axisArray' => [
'title' => '',
'description' => 'Coordinates.',
'type' => 'array',
'items' => ['description' => 'Coordinate value.', 'type' => 'number', 'format' => 'double', 'example' => '48.8', 'title' => ''],
'example' => '',
],
'page' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'textHighlightArea' => [
'title' => '',
'description' => 'Text highlight area, used for text-type file highlighting.',
'type' => 'array',
'items' => ['description' => 'Text highlight area.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'preChunkId' => ['description' => 'Previous document chunk ID.', 'type' => 'string', 'title' => '', 'example' => '873647326542'],
'score' => ['description' => 'Document chunk score.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0.5'],
'title' => ['description' => 'Document title.', 'type' => 'string', 'title' => '', 'example' => 'test'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'vectorSearchElapsedMs' => ['description' => 'Vector search time elapsed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'],
],
'example' => '',
],
'dataType' => ['description' => 'Data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '0bc13a9517168617617186457e401f'],
'success' => ['description' => 'Success.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"chunkList\\": [\\n {\\n \\"chunkId\\": \\"823746762354\\",\\n \\"chunkMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"chunkOssUrl\\": \\"http://oss-xxx-hangzhou.com/xxx\\",\\n \\"chunkText\\": \\"测试文档块\\",\\n \\"chunkType\\": \\"text\\",\\n \\"docId\\": \\"839468263472\\",\\n \\"fileType\\": \\"pdf\\",\\n \\"libraryId\\": \\"dscsbdsk\\",\\n \\"libraryName\\": \\"测试文档库\\",\\n \\"nextChunkId\\": \\"982374872364\\",\\n \\"pos\\": [\\n {\\n \\"axisArray\\": [\\n 20.8\\n ],\\n \\"page\\": 1,\\n \\"textHighlightArea\\": [\\n 1\\n ]\\n }\\n ],\\n \\"preChunkId\\": \\"827364827364832\\",\\n \\"score\\": 0.5,\\n \\"title\\": \\"test\\"\\n }\\n ],\\n \\"chunkPartList\\": [\\n {\\n \\"chunkId\\": \\"98327482364\\",\\n \\"chunkMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"chunkOssUrl\\": \\"http://oss-xxx-hangzhou.com/xxx\\\\n\\",\\n \\"chunkText\\": \\"测试文档块\\\\n\\",\\n \\"chunkType\\": \\"text\\",\\n \\"docId\\": \\"92837482364\\",\\n \\"fileType\\": \\"pdf\\",\\n \\"libraryId\\": \\"sjdhgjsd\\",\\n \\"libraryName\\": \\"测试文档库\\",\\n \\"nextChunkId\\": \\"2387648263542\\",\\n \\"pos\\": [\\n {\\n \\"axisArray\\": [\\n 1\\n ],\\n \\"page\\": 1,\\n \\"textHighlightArea\\": [\\n 1\\n ]\\n }\\n ],\\n \\"preChunkId\\": \\"32874682764\\",\\n \\"score\\": 0.5,\\n \\"title\\": \\"测试文档标题\\"\\n }\\n ],\\n \\"chunkTextList\\": [\\n \\"这是一段测试文档块\\"\\n ],\\n \\"documents\\": [\\n {\\n \\"docId\\": \\"92837482364\\",\\n \\"documentMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"fileType\\": \\"pdf\\",\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\",\\n \\"libraryId\\": \\"sjdhgjsd\\\\n\\",\\n \\"title\\": \\"test\\",\\n \\"url\\": \\"http://oss-xxx-hangzhou.com/test.pdf\\"\\n }\\n ],\\n \\"embeddingElapsedMs\\": 100,\\n \\"textChunkList\\": [\\n {\\n \\"chunkId\\": \\"32874682364\\",\\n \\"chunkMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"chunkOssUrl\\": \\"http://oss-xxx-hangzhou.com/xxx\\\\n\\",\\n \\"chunkText\\": \\"这是一段测试文档块\\\\n\\",\\n \\"chunkType\\": \\"text\\",\\n \\"docId\\": \\"8372467263542\\",\\n \\"fileType\\": \\"pdf\\",\\n \\"libraryId\\": \\"djsgfsjd\\",\\n \\"libraryName\\": \\"测试文档库\\",\\n \\"nextChunkId\\": \\"23874682432\\",\\n \\"pos\\": [\\n {\\n \\"axisArray\\": [\\n 10\\n ],\\n \\"page\\": 1,\\n \\"textHighlightArea\\": [\\n 1\\n ]\\n }\\n ],\\n \\"preChunkId\\": \\"89473868346\\",\\n \\"score\\": 0.5,\\n \\"title\\": \\"测试文档标题\\"\\n }\\n ],\\n \\"textSearchElapsedMs\\": 100,\\n \\"totalElapsedMs\\": 400,\\n \\"vectorChunkList\\": [\\n {\\n \\"chunkId\\": \\"8723642345276\\",\\n \\"chunkMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"chunkOssUrl\\": \\"https://oss-xxxx-hangzhou.com/test.pdf\\",\\n \\"chunkText\\": \\"这是一段测试文本\\",\\n \\"chunkType\\": \\"text\\",\\n \\"docId\\": \\"78326476235675372\\",\\n \\"fileType\\": \\"pdf\\",\\n \\"libraryId\\": \\"djsgfsjd\\",\\n \\"libraryName\\": \\"测试文档库\\",\\n \\"nextChunkId\\": \\"293846872343\\",\\n \\"pos\\": [\\n {\\n \\"axisArray\\": [\\n 48.8\\n ],\\n \\"page\\": 1,\\n \\"textHighlightArea\\": [\\n 10\\n ]\\n }\\n ],\\n \\"preChunkId\\": \\"873647326542\\",\\n \\"score\\": 0.5,\\n \\"title\\": \\"test\\"\\n }\\n ],\\n \\"vectorSearchElapsedMs\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"0bc13a9517168617617186457e401f\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'document recall ',
'description' => '**Prerequisites**'."\n"
."\n"
.'- Activate the Alibaba Cloud Model Studio service and the Tongyi Dianjin service.'."\n"
."\n"
.'- Obtain the workspace ID. Obtain the [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%93%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecallDocument'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RecallDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'RecognizeIntention' => [
'summary' => 'Detects intents. This operation supports global and hierarchical intent detection, attitude detection, and enterprise detection.',
'path' => '/{workspaceId}/api/recog/intent',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'type' => 'object',
'properties' => [
'analysis' => ['description' => 'Enable analysis.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'],
'bizType' => [
'description' => 'Business type.',
'enumValueTitles' => ['common' => 'Intent detection', 'business' => 'Enterprise detection', 'attitude' => 'Attitude detection'],
'type' => 'string',
'required' => true,
'title' => '',
'example' => 'common',
],
'conversation' => ['description' => 'Conversation text.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '##客服##:您好,请问是朱杰先生吗?这里是诚信财务的周莉。我们发现您有一项款项昨天是账单日,但您还没还款,这很可能是一个小小的疏忽。来电是提醒您尽快完成还款,避免影响您的信用记录。\\n ##客户##:今天天气怎么样呢?'],
'globalIntentionList' => [
'title' => '',
'description' => 'Global intent list. Required when opType is hierarchical.',
'type' => 'array',
'items' => [
'description' => 'Global intent.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'Intent description.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '正常付款3'],
'intention' => ['description' => 'Intent name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '正常付款3'],
'intentionCode' => ['description' => 'Intent code.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '1810566978021232640'],
'intentionScript' => ['title' => 'Intent Script', 'description' => 'Intent script.', 'type' => 'string', 'required' => false, 'example' => '好的,那先不打扰您了,祝您生活愉快!再见!'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'hierarchicalIntentionList' => [
'title' => '',
'description' => 'Hierarchical intent list. Required when opType is hierarchical.',
'type' => 'array',
'items' => [
'description' => 'Hierarchical intent.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'Intent description.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '询问股票价格'],
'intention' => ['description' => 'Intent name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '询问股票价格'],
'intentionCode' => ['description' => 'Intent code.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '1810929291010150400'],
'intentionScript' => ['title' => 'Intent Script', 'description' => 'Intent script.', 'type' => 'string', 'required' => false, 'example' => '好的,那先不打扰您了,祝您生活愉快!再见!'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'intentionList' => [
'title' => '',
'description' => 'Intent list. Required when bizType is not attitude.',
'type' => 'array',
'items' => [
'description' => 'Intent.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'Intent description.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '客户表示忘记还款'],
'intention' => ['description' => 'Intent name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '客户表示忘记还款'],
'intentionCode' => ['description' => 'Intent code.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '1808766224000262144'],
'intentionScript' => ['title' => 'Intent script ', 'description' => 'Intent script.', 'type' => 'string', 'required' => false, 'example' => '好的,那先不打扰您了,祝您生活愉快!再见!'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'opType' => [
'description' => 'Operation type.',
'enumValueTitles' => ['common' => 'Common', 'hierarchical' => 'Hierarchical'],
'type' => 'string',
'example' => 'common',
'default' => 'common',
'title' => '',
'required' => false,
],
'recommend' => ['description' => 'Recommend intent.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
'intentionDomainCode' => ['title' => 'Intent library: Local intent library code ', 'description' => 'Intent library: Local intent library code.', 'type' => 'string', 'required' => false, 'example' => 'collection'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<RecogResult>',
'description' => 'Result code.',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Processing time in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => [
'title' => '',
'description' => 'Response data.',
'type' => 'object',
'properties' => [
'analysisProcess' => ['description' => 'Analysis process.', 'type' => 'string', 'title' => '', 'example' => '客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。'],
'intentionCode' => ['description' => 'Intent code.', 'type' => 'string', 'title' => '', 'example' => '-1'],
'intentionName' => ['description' => 'Intent name.', 'type' => 'string', 'title' => '', 'example' => '其它'],
'recommendIntention' => ['description' => 'Recommended intent.', 'type' => 'string', 'title' => '', 'example' => '客户试图回避谈论逾期还款的话题'],
'recommendScript' => ['description' => 'Recommended script.', 'type' => 'string', 'title' => '', 'example' => '朱先生,理解您可能对天气感兴趣,但更重要的是您的账户情况。请让我们专注于您未偿还的款项,这对您的信用健康至关重要。'],
'intentionScript' => ['title' => 'Intent script ', 'description' => 'Intent script.', 'type' => 'string', 'example' => '朱先生,理解您可能对天气感兴趣,但更重要的是您的账户情况。请让我们专注于您未偿还的款项,这对您的信用健康至关重要。'],
],
'example' => '',
],
'dataType' => ['description' => 'Data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '003D019A-1BB3-53EC-A0D2-CE76DA5D73B1'],
'success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"analysisProcess\\": \\"客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。\\",\\n \\"intentionCode\\": \\"-1\\",\\n \\"intentionName\\": \\"其它\\",\\n \\"recommendIntention\\": \\"客户试图回避谈论逾期还款的话题\\",\\n \\"recommendScript\\": \\"朱先生,理解您可能对天气感兴趣,但更重要的是您的账户情况。请让我们专注于您未偿还的款项,这对您的信用健康至关重要。\\",\\n \\"intentionScript\\": \\"朱先生,理解您可能对天气感兴趣,但更重要的是您的账户情况。请让我们专注于您未偿还的款项,这对您的信用健康至关重要。\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"003D019A-1BB3-53EC-A0D2-CE76DA5D73B1\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Intent recognition ',
'description' => 'Before you use this operation, review the billing methods and pricing of Alibaba Cloud Tongyi Dianjin.'."\n"
."\n"
.'**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'- You have obtained a [workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [
['createdAt' => '2024-11-14T09:02:12.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '150', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecognizeIntention'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RecognizeIntention',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'RunAgent' => [
'summary' => 'Run an agent. This API supports both streaming and non-streaming responses.',
'path' => '/{workspaceId}/api/bot/thread/run',
'methods' => ['post'],
'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/octet-stream'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Request body parameters',
'type' => 'object',
'properties' => [
'modelId' => ['description' => 'Model ID. Optional. If empty, the agent uses the model from its configuration.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'qwen-plus'],
'threadId' => ['description' => 'Thread ID. Optional. If empty, a new thread starts.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '4vlag5ken3'],
'botId' => ['description' => 'Agent ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'd6zxykawk9'],
'userContent' => ['description' => 'User input', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '你是谁'],
'stream' => ['description' => 'Enable streaming. Default is true.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'versionId' => ['description' => 'Version ID to run', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'w4paqoezm2'],
'useDraft' => ['description' => 'Use the draft version. Drafts are unpublished versions in the editor. They are unstable. Default is false.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
'userInputs' => ['title' => 'User-defined complex input parameters', 'description' => 'More complex user-defined input parameters', 'type' => 'object', 'required' => false, 'example' => '{"name": "zhangsan"}'],
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<AgentResponse>',
'description' => 'ResultCode\\<agentresponse>\\</agentresponse>',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates success', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'Response data',
'type' => 'object',
'properties' => [
'versionId' => ['description' => 'Agent version ID', 'type' => 'string', 'title' => '', 'example' => 'w4paqoezm2'],
'traceId' => ['description' => 'Trace ID', 'type' => 'string', 'title' => '', 'example' => '5bdb9809856c58acb92001f8ae65773c'],
'threadId' => ['description' => 'Thread ID', 'type' => 'string', 'title' => '', 'example' => '4vlag5ken3'],
'functionCallResponses' => [
'title' => '',
'description' => 'Tool call responses',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'Tool call response',
'type' => 'object',
'properties' => [
'functionName' => ['description' => 'Tool function name', 'type' => 'string', 'title' => '', 'example' => 'web_search'],
'displayName' => ['description' => 'Tool function display name', 'type' => 'string', 'title' => '', 'example' => '搜索引擎'],
'functionArgs' => ['description' => 'Tool function arguments', 'type' => 'string', 'title' => '', 'example' => '{\\"query\\":\\"2025年1月28日到2月3日天气预报\\"}'],
'result' => ['description' => 'Tool call result', 'type' => 'string', 'title' => '', 'example' => '下周天气晴朗'],
'startTime' => ['description' => 'Start time', 'type' => 'string', 'title' => '', 'example' => '2025-01-21 16:37:14'],
'endTime' => ['description' => 'End time', 'type' => 'string', 'title' => '', 'example' => '2025-01-21 16:37:14'],
],
'example' => '',
],
'example' => '',
],
'response' => [
'title' => '',
'description' => 'Model response',
'type' => 'object',
'properties' => [
'id' => ['description' => 'ID generated by the system for this call.', 'type' => 'string', 'title' => '', 'example' => 'd91d9afa-7cfc-4235-b012-a6f8e6ffa443'],
'modelId' => ['description' => 'Name of the model used for this call.', 'type' => 'string', 'title' => '', 'example' => 'qwen-plus'],
'choices' => [
'title' => '',
'description' => 'Details of the model-generated content.',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'Details of the model-generated content.',
'type' => 'object',
'properties' => [
'index' => ['description' => 'Index number of the generated result. Default is 0.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'message' => [
'title' => '',
'description' => 'Message from the model.',
'type' => 'object',
'properties' => [
'role' => ['description' => 'Role of the model. Fixed value: assistant.', 'type' => 'string', 'title' => '', 'example' => 'assistant'],
'roleDisplayName' => ['description' => 'Display name of the model\'s role.', 'type' => 'string', 'title' => '', 'example' => 'assistant'],
'content' => ['description' => 'Text generated by the model.', 'type' => 'string', 'title' => '', 'example' => '下周天气都不错'],
],
'example' => '',
],
'finishReason' => ['description' => 'Reason why the model stopped generating content.', 'type' => 'string', 'title' => '', 'example' => 'stop'],
],
'example' => '',
],
'example' => '',
],
'created' => ['description' => 'Creation time', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1737448637'],
'time' => ['description' => 'Time', 'type' => 'string', 'title' => '', 'example' => '2025-01-21T16:37:17.497206762'],
],
'example' => '',
],
'inputTokens' => ['description' => 'Input tokens', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '766'],
'outputTokens' => ['description' => 'Output tokens', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '988'],
],
'example' => '',
],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258'],
'cost' => ['description' => 'Duration in milliseconds', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-01-01 00:00:00\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"versionId\\": \\"w4paqoezm2\\",\\n \\"traceId\\": \\"5bdb9809856c58acb92001f8ae65773c\\",\\n \\"threadId\\": \\"4vlag5ken3\\",\\n \\"functionCallResponses\\": [\\n {\\n \\"functionName\\": \\"web_search\\",\\n \\"displayName\\": \\"搜索引擎\\",\\n \\"functionArgs\\": \\"{\\\\\\\\\\\\\\"query\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2025年1月28日到2月3日天气预报\\\\\\\\\\\\\\"}\\",\\n \\"result\\": \\"下周天气晴朗\\",\\n \\"startTime\\": \\"2025-01-21 16:37:14\\",\\n \\"endTime\\": \\"2025-01-21 16:37:14\\"\\n }\\n ],\\n \\"response\\": {\\n \\"id\\": \\"d91d9afa-7cfc-4235-b012-a6f8e6ffa443\\",\\n \\"modelId\\": \\"qwen-plus\\",\\n \\"choices\\": [\\n {\\n \\"index\\": 0,\\n \\"message\\": {\\n \\"role\\": \\"assistant\\",\\n \\"roleDisplayName\\": \\"assistant\\",\\n \\"content\\": \\"下周天气都不错\\"\\n },\\n \\"finishReason\\": \\"stop\\"\\n }\\n ],\\n \\"created\\": 1737448637,\\n \\"time\\": \\"2025-01-21T16:37:17.497206762\\"\\n },\\n \\"inputTokens\\": 766,\\n \\"outputTokens\\": 988\\n },\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Run agent ',
'description' => 'Before you use this API, review the billing model and pricing for Tongyi Dianjin.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'Obtain a workspace ID: [Obtain your workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'responseParamsDescription' => '## Streaming API example:'."\n"
."\n"
.'### The messageType field indicates the type of each frame.'."\n"
."\n"
.'- toolDiscovery (tool discovery)'."\n"
."\n"
.'- functionCall (tool call)'."\n"
."\n"
.'- toolResponse (tool response)'."\n"
."\n"
.'- toolStartStep (start a tool processing step)'."\n"
."\n"
.'- toolEmitStepData (detail data sent during each step)'."\n"
."\n"
.'- completeStep (complete a tool processing step)'."\n"
."\n"
.'- **answer** (answer)'."\n"
."\n"
.'```'."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"ToolDiscovery","contentGroup":"","content":"{\\"toolName\\":\\"web_search\\",\\"displayName\\":\\"Search engine\\"}","contentType":"JSON","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:19"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"FunctionCall","contentGroup":"","content":"{\\"functionArgs\\":\\"{\\\\\\"query\\\\\\":\\\\\\"next week\'s weather\\\\\\"}\\",\\"functionName\\":\\"web_search\\",\\"displayName\\":\\"Search engine\\"}","contentType":"JSON","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:19"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"ToolResponse","contentGroup":"","content":"{\\"toolName\\":\\"web_search\\",\\"result\\":\\"{\\\\\\"items\\\\\\":{\\\\\\"item\\\\\\":[{\\\\\\"sc_name\\\\\\":\\\\\\"weather_moji\\\\\\",\\\\\\"weather_moji\\\\\\":{\\\\\\"sc_stype\\\\\\":\\\\\\"BOOK\\\\\\",\\\\\\"wisdomData\\\\\\":{\\\\\\"country\\\\\\":\\\\\\"China\\\\\\",\\\\\\"province\\\\\\":\\\\\\"Zhejiang Province\\\\\\",\\\\\\"city\\\\\\":\\\\\\"Hangzhou City\\\\\\",\\\\\\"district\\\\\\":\\\\\\"Hangzhou City\\\\\\",\\\\\\"realtime_data\\\\\\":{\\\\\\"current\\\\\\":{\\\\\\"real_feel\\\\\\":\\\\\\"13.0\\\\\\",\\\\\\"vis\\\\\\":\\\\\\"5000\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"haze\\\\\\",\\\\\\"comfort\\\\\\":\\\\\\"54\\\\\\",\\\\\\"daytime\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.31\\\\\\",\\\\\\"tips\\\\\\":\\\\\\"Slightly cool but comfortable.\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"-3.0\\\\\\",\\\\\\"icon_weak\\\\\\":\\\\\\"16_weak\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"2\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-21 06:55:00\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"obs_time\\\\\\":\\\\\\"2025-01-21 16:45:08\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1015\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"15.0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-21 17:26:00\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"34\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"30\\\\\\",\\\\\\"precip_1h\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 16:15:03\\\\\\"}},\\\\\\"weather_forecast_data\\\\\\":{\\\\\\"lowest_temp\\\\\\":\\\\\\"-3\\\\\\",\\\\\\"hourly\\\\\\":{\\\\\\"item\\\\\\":[{\\\\\\"real_feel\\\\\\":\\\\\\"13.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"haze\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 16:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"36\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"-4.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"2\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"16\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"16\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1014\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"15.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"34\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"30\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"14.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 17:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"31\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.1\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"-1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"17\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1020\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"14.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"32\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"11.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 18:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"36\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.3\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"18\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"13.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"41\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 19:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"28\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.1\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"19\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"12.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"52\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 20:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"25\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.4\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"20\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"62\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 21:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"26\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.2\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"21\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"69\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 22:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"11\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"0.9\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"22\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"71\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"clear\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 23:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"2\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"0.6\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"18\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"23\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"5\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"73\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 0:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"21\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"0.6\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"3\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"0\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"75\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 1:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"31\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"0.5\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"225\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"11\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southwest wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"1\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"76\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 2:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"38\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"225\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"10\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southwest wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"2\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"76\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 3:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"46\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.4\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"225\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"10\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southwest wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"3\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"74\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 4:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"52\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.4\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"180\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"9\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"south wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"4\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"72\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 5:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"65\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.6\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"180\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"9\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"south wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"5\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1020\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"70\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 6:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"63\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.6\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"180\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"9\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"south wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"6\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"73\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 7:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"60\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.7\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"7\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"73\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 8:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"48\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.6\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"8\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"71\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 9:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"48\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.8\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"9\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"61\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 10:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"38\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.3\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"10\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"11.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"48\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"11.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 11:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"47\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"-1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"11\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"13.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"43\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"14.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 12:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"31\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.3\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"12\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"14.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"39\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"16.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 13:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"29\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.2\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"13\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1019\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"16.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"38\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 14:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"30\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.9\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"14\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1018\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"37\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"18.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 15:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"29\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.3\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"15\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1018\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"36\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"19.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"4\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"clear\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 16:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"21\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"0.9\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"7\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"0\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"16\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1018\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"5\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"30\\\\\\"}]},\\\\\\"days_15_diff\\\\\\":\\\\\\"21\\\\\\",\\\\\\"highest_temp\\\\\\":\\\\\\"18\\\\\\",\\\\\\"daily\\\\\\":{\\\\\\"item\\\\\\":[{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"4\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-20\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-20 10:26:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-20 22:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"8\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-20 06:55:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"clear\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningGibbous\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1020\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-20 23:22:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-20 17:25:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"31\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"34\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"15.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-20 22:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"4\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"4\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-21 10:52:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"8\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"4\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-21 06:55:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningGibbous\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-21 00:00:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-21 17:26:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"31\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"50\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"8\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"5\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"135\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"east wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"1\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-22 11:20:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"8\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"0.9\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"90\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"8\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-22 06:55:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"Last\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1020\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-22 00:16:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-22 17:27:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"31\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"54\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"8\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-23\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-23 11:51:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"8\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-23 06:54:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1020\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-23 01:12:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-23 17:28:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"31\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"67\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"18.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"8\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"4\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"60\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-24\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-24 12:27:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"51\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"light rain\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"4.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"4\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-24 06:54:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"cloudy\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-24 02:10:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-24 17:29:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"7\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"82\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"14.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"13\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"4\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"50\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-25\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-25 13:10:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"51\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"light rain\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"4\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-25 06:54:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"light rain\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1024\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-25 03:10:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-25 17:30:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"7\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"75\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"13.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"51\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"15\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"4.9\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"60\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"315\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-26\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northwest wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-26 14:01:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"51\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"light rain\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"4.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"315\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"15\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-26 06:53:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northwest wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"light rain\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1026\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"4.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-26 04:10:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-26 17:31:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"7\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"80\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"51\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"15\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"4\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"315\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-27\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northwest wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-27 15:00:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"13\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"cloudy\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"315\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"15\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-27 06:53:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northwest wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1030\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"4.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"-1.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-27 05:07:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-27 17:31:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"42\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"8\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"4\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"4\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"315\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-28\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-28 16:04:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"clear\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"14\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-28 06:52:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northwest wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"clear\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1031\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-28 06:01:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-28 17:32:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"30\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"36\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-29\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-29 17:12:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"clear\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"4\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-29 06:52:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"clear\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"New\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1029\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-29 06:48:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-29 17:33:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"30\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"40\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"16\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"60\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"135\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-30\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northwest wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-30 18:20:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"49\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"sleet\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"315\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"7\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-30 06:51:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"southeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"clear\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1024\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-30 07:29:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-30 17:34:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"6\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"51\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"4\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"70\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"5\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"315\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-31\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-31 19:28:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"13\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"cloudy\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"16\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-31 06:51:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northwest wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"sleet\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"-2.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-31 08:06:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-31 17:35:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"56\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"49\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-02-01\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-02-01 20:34:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"8\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"partly cloudy\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-02-01 06:50:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"cloudy\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1023\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"-3.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-02-01 08:39:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-02-01 17:36:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"31\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"66\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"13\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-02-02\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-02-02 21:40:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"13\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"cloudy\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-02-02 06:49:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"cloudy\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1023\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"-2.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-02-02 09:10:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-02-02 17:37:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"74\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"13\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-02-03\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-02-03 22:46:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"13\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"cloudy\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-02-03 06:49:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"cloudy\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1024\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-02-03 09:42:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-02-03 17:38:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"67\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"13\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"80\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"9\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-02-04\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-02-04 23:53:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"49\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"sleet\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"4\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-02-04 06:48:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"northeast wind\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"rain\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1024\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-02-04 10:15:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-02-04 17:38:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"6\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"60\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"78\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"}]}},\\\\\\"index_data\\\\\\":{\\\\\\"index\\\\\\":{\\\\\\"item\\\\\\":[{\\\\\\"index_level\\\\\\":\\\\\\"4\\\\\\",\\\\\\"index_type_id\\\\\\":\\\\\\"12\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 14:22:02\\\\\\",\\\\\\"index_desc\\\\\\":\\\\\\"Colds are likely to occur. Avoid crowded places to reduce the risk of catching a cold.\\\\\\",\\\\\\"index_type\\\\\\":\\\\\\"Cold index\\\\\\",\\\\\\"index_level_desc\\\\\\":\\\\\\"Likely\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\"},{\\\\\\"index_level\\\\\\":\\\\\\"7\\\\\\",\\\\\\"index_type_id\\\\\\":\\\\\\"17\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 14:22:02\\\\\\",\\\\\\"index_desc\\\\\\":\\\\\\"Not ideal for car washing. No rain expected tomorrow, but strong winds may leave dust on your vehicle.\\\\\\",\\\\\\"index_type\\\\\\":\\\\\\"Car wash index\\\\\\",\\\\\\"index_level_desc\\\\\\":\\\\\\"Not ideal\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\"},{\\\\\\"index_level\\\\\\":\\\\\\"5\\\\\\",\\\\\\"index_type_id\\\\\\":\\\\\\"20\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 14:22:02\\\\\\",\\\\\\"index_desc\\\\\\":\\\\\\"Slightly cool. Add layers to your clothing.\\\\\\",\\\\\\"index_type\\\\\\":\\\\\\"Clothing index\\\\\\",\\\\\\"index_level_desc\\\\\\":\\\\\\"Cool\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\"},{\\\\\\"index_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"index_type_id\\\\\\":\\\\\\"21\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 14:22:02\\\\\\",\\\\\\"index_desc\\\\\\":\\\\\\"Low UV radiation. Use SPF12-15, PA+ sunscreen.\\\\\\",\\\\\\"index_type\\\\\\":\\\\\\"UV index\\\\\\",\\\\\\"index_level_desc\\\\\\":\\\\\\"Low\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\"},{\\\\\\"index_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"index_type_id\\\\\\":\\\\\\"32\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 14:22:02\\\\\\",\\\\\\"index_desc\\\\\\":\\\\\\"Current weather conditions make it unlikely for major allergens to spread. Allergy symptoms are unlikely.\\\\\\",\\\\\\"index_type\\\\\\":\\\\\\"Allergy index\\\\\\",\\\\\\"index_level_desc\\\\\\":\\\\\\"Unlikely\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\"}]}}}}},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://3g.china.com/act/news/10000169/20250120/47893150.html\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737363220\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"China.com\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"Xi\'an to see snow, sleet, and cooling next week; widespread snow and sleet expected\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://3g.china.com/act/news/10000169/20250120/47893150.html\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"3g.china.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"Xi\'an next week will see snow, sleet, and cooling - China.com\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"Shaanxi Provincial Meteorological Bureau issued an important weather report on January 19, forecasting widespread snow, sleet, cooling, and strong winds from January 24 to 26. Snow and sleet will mainly fall on January 24 and 25, while cooling will last from January 24 to 26. This weather event features wide coverage, high intensity, and complex precipitation types, along with significant cooling and strong winds...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"Shaanxi Provincial Meteorological Bureau issued an important weather report on January 19, forecasting widespread snow, sleet, cooling, and strong winds from January 24 to 26. Snow and sleet will mainly fall on January 24 and 25, while cooling will last from January 24 to 26. This weather event features wide coverage, high intensity, and complex precipitation types, along with significant cooling and strong winds.\\\\\\\\nOn January 24, northern Shaanxi will see moderate to heavy snow (2–5 mm), southern Shaanxi, Guanzhong, and Shangluo will see sleet turning into heavy to blizzard-level snow (5–15 mm), and Hanzhong and Ankang will see light to moderate rain or sleet turning into light to moderate snow (3–15 mm). On January 25, northern Shaanxi will see light to moderate snow (1–3 mm), Guanzhong will see moderate to heavy snow (3–5 mm), and southern Shaanxi will see sleet turning into moderate to heavy snow (4–15 mm).\\\\\\\\nSnow depth is expected to reach 5–8 cm in northern Shaanxi, 1–6 cm in Guanzhong, 0–5 cm in southern Shaanxi, and 10–20 cm in Qinba Mountain areas. From January 24 to 26, average daily temperatures in northern Shaanxi and Qinba Mountain areas will drop by 12–14°C, with local drops up to 16°C; Guanzhong will drop by 10–14°C; and southern Shaanxi will drop by 10–12°C. The lowest temperatures will occur on the morning of January 27, at -22 to -20°C in northern Shaanxi, -18 to -16°C in northern Guanzhong, -10 to -8°C in southern Guanzhong, -14 to -12°C in Shangluo, -7 to -5°C in Hanzhong and Ankang, and -18 to -13°C in Qinba Mountain areas, with some areas below -20°C. From January 24 night to January 26, northern Shaanxi, most parts of Guanzhong, Shangluo, and Qinba Mountain areas will experience gales of level 5...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://c.m.163.com/news/a/JM90PUQI0514CILT.html\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737260160\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"NetEase News App\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"Next week\'s weather to change dramatically; a wave of overcast and rainy days coming, with minimum temperature of -2°C on Chinese New Year\'s Eve\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://c.m.163.com/news/a/JM90PUQI0514CILT.html\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"c.m.163.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"Next week\'s weather to change dramatically; a wave of overcast and rainy days coming, with minimum temperature of -2°C on Chinese New Year\'s Eve - NetEase News App\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"District Meteorological Station issued a weather forecast at 6 a.m. on January 19, 2025: clear to partly cloudy, with fog in some areas before noon today. Tomorrow will be partly cloudy. Westerly winds today, shifting to northwesterly winds tomorrow, both at force 3–4. Today\'s maximum temperature is 15°C, and tomorrow\'s minimum temperature is -1°C, with thin ice. This warming trend covers most of China. Before January 21, ...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"This weekend\\\\\\\\nJinshan District remains clear to partly cloudy\\\\\\\\nwith abundant sunshine\\\\\\\\nand warming as the main theme\\\\\\\\nDistrict Meteorological Station issued a weather forecast at 6 a.m. on January 19, 2025: clear to partly cloudy, with fog in some areas before noon today. Tomorrow will be partly cloudy. Westerly winds today, shifting to northwesterly winds tomorrow, both at force 3–4. Today\'s maximum temperature is 15°C, and tomorrow\'s minimum temperature is -1°C, with thin ice.\\\\\\\\nThis warming trend covers most of China. Before January 21, the cumulative increase in maximum temperatures in most parts of China can reach 6°C to 12°C. From January 19 to 21 is the warmest period of this cycle, with the 10°C maximum temperature line reaching southern North China, and temperatures south of the Yangtze River generally exceeding 20°C, with many places in South China exceeding 25°C.\\\\\\\\nOpen NetEase News to view more pictures\\\\\\\\nImage source: Huakai Haishang Ecological Park\\\\\\\\nBased on the current forecast, the warmth in many parts of southern China is comparable to early to mid-April. The warmth in the Jiangnan area is particularly prominent, with maximum temperatures generally 10°C to 15°C higher than the same period in previous years.\\\\\\\\nAfter this major warming trend\\\\\\\\na \'corrective\' cold front will move south\\\\\\\\nand temperatures may return to\\\\\\\\nnormal winter levels before the Spring Festival\\\\\\\\nStarting next Thursday, cloud cover will increase significantly\\\\\\\\nbringing a period of continuous overcast and rainy weather\\\\\\\\nThe dry weather that has lasted for more than a month\\\\\\\\nwill be alleviated\\\\\\\\nAround next Sunday\\\\\\\\na strong cold front will arrive\\\\\\\\nand temperatures will drop sharply\\\\\\\\nThe key day is Little New Year\'s Eve\\\\\\\\n(note January 27)\\\\\\\\nthe temperature will drop to -2°C\\\\\\\\nand the maximum temperature will only be 4°C\\\\\\\\nThe diurnal temperature range in recent days\\\\\\\\nmay be nearly 10°C\\\\\\\\nWarm during the day\\\\\\\\nbut still cool in the morning and evening...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://sdxw.iqilu.com/share/YS0yMS0xNjE5NjExMA.html\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737277064\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"Qilu.com\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"Weather change next week! Shandong to welcome cold air, strong winds, and cooling, with light rain in some areas\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://sdxw.iqilu.com/share/YS0yMS0xNjE5NjExMA.html\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"sdxw.iqilu.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"Weather change next week! Shandong to welcome cold air, strong winds, and cooling, with light rain in some areas - Qilu.com\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"Today, the weather theme for most of China is still: dry. The weather will change next week, with Shandong welcoming cold air. According to Shandong... In short, next week\'s snow, sleet, and cooling will affect a wide area, and the cold of winter may return. It is currently the peak of the Spring Festival travel rush, so friends with travel plans should pack enough clothes and adjust their itineraries according to the weather changes...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"Original title: Weather change next week! Shandong to welcome cold air, strong winds, and cooling, with light rain in some areas\\\\\\\\nSource: Shandong Radio and Television Station\\\\\\\\nToday is the third day of the \'Fourth Nine\' period, and an unusually long and warm spell is approaching, with temperatures significantly higher than normal for this time of year.\\\\\\\\nToday, the weather theme for most of China is still: dry.\\\\\\\\nWeather will change next week, with Shandong welcoming cold air\\\\\\\\nAccording to the latest forecast from the Shandong Provincial Meteorological Station, from the 19th, day to night, the province will be clear to partly cloudy. From the 20th, day to night, the province will be clear to partly cloudy. From the 21st to the 24th, a weak cold front will affect the province, with mostly cloudy weather and light rain in some parts of southern Shandong.\\\\\\\\nSpecific forecast for the next 7 days:\\\\\\\\nFrom the night of the 18th to the day of the 19th, the province will be clear to partly cloudy. The peninsula area will have southerly winds of force 4–5 with gusts of 6, shifting to northerly winds of force 3–4. Other areas will have southerly winds of force 3–4, shifting to northerly winds of force 2–3.\\\\\\\\nMinimum temperature: around -5°C in northwestern Shandong and the peninsula inland areas, and around -3°C in other areas.\\\\\\\\nMaximum temperature: around 11°C in southern Shandong, around 5°C in northern coastal areas, and around 8°C in other areas.\\\\\\\\nFrom the night of the 19th to the day of the 20th, the province will be clear to partly cloudy. Northerly winds will shift to southerly winds, with force 3–4 in the peninsula area and around 3 in other areas.\\\\\\\\nMinimum temperature: around -5°C in northwestern and central Shandong, and around -3°C in other areas.\\\\\\\\nMaximum temperature: around 13°C in Heze and Liaocheng, around 7°C in the peninsula area, and around 10°C in other areas.\\\\\\\\nFrom the night of the 20th to the day of the 21st, the province will be clear to partly cloudy. The peninsula area will have southerly winds of force 3–4, while other areas will have southerly winds shifting to northerly winds of force 3–...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://sdxw.iqilu.com/share/YS0yMS0xNjE5NjY4NA.html\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737298306\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"Qilu.com\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"Snow, sleet, and cooling! Heavy fog! Dezhou\'s weather forecast for next week→\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://sdxw.iqilu.com/share/YS0yMS0xNjE5NjY4NA.html\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"sdxw.iqilu.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"Snow, sleet, and cooling! Heavy fog! Dezhou\'s weather forecast for next week→ - Qilu.com\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"Qilu.com · Lightning News, January 19 - Dezhou Meteorological Station released the latest weather forecast this afternoon, predicting mainly clear to partly cloudy weather from January 20–24, with rising temperatures. Heavy fog may occur on the mornings of the 23rd and 24th. A snow, sleet, and cooling event is expected from the 25th to the 26th. The weekly minimum temperature of -7°C will occur on the morning of the 20th, and the weekly maximum...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":0},\\\\\\"MainBody\\\\\\":\\\\\\"Qilu.com · Lightning News, January 19 - Dezhou Meteorological Station released the latest weather forecast this afternoon, predicting mainly clear to partly cloudy weather from January 20–24, with rising temperatures. Heavy fog may occur on the mornings of the 23rd and 24th. A snow, sleet, and cooling event is expected from the 25th to the 26th. The weekly minimum temperature of -7°C will occur on the morning of the 20th, and the weekly maximum temperature of 11°C will occur from the 20th to the 21st.\\\\\\\\nSpecific forecast\\\\\\\\nTonight: clear, southeast wind force 1, minimum temperature -6°C.\\\\\\\\nTomorrow: clear, south wind force 2, maximum temperature 11°C.\\\\\\\\nNight of the 20th: clear, southwest wind force 1, minimum temperature -4°C.\\\\\\\\nDay of the 21st: clear to partly cloudy, northeast wind force 2, maximum temperature 10°C.\\\\\\\\nNight of the 21st: clear, northeast wind force 2, minimum temperature -1°C.\\\\\\\\nDay of the 22nd: clear, northeast wind force 2, maximum temperature 10°C.\\\\\\\\nNight of the 22nd: clear, north wind force 1, minimum temperature -5°C.\\\\\\\\nDay of the 23rd: clear, northeast wind force 2, maximum temperature 8°C.\\\\\\\\nDezhou Station, Sun Jiuxin\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://mparticle.uc.cn/article.html?uc_param_str\\\\u003dfrdnsnpfvecpntnwprdssskt#!wm_aid\\\\u003d32cfb6517da7454c90e50a00e84dc7ab!!wm_id\\\\u003d64e2b4f2a9dc49a4be162b53d6572fd9\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737292453\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"Information Supermarket\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"Return home early! Dry weather to continue in the short term! Widespread snow and sleet trend credible for late next week\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://mparticle.uc.cn/article.html?uc_param_str\\\\u003dfrdnsnpfvecpntnwprdssskt#!wm_aid\\\\u003d32cfb6517da7454c90e50a00e84dc7ab!!wm_id\\\\u003d64e2b4f2a9dc49a4be162b53d6572fd9\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"mparticle.uc.cn\\\\\\",\\\\\\"title\\\\\\":\\\\\\"Return home early! Dry weather to continue in the short term! Widespread snow and sleet trend credible for late next week - Information Supermarket\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"But then it will decrease again, and for the latter half of the week, most areas will have clear and dry weather. In addition, dust may affect Ningxia and other areas at the beginning of the week. National precipitation forecast map (issued by the Central Meteorological Administration). Experts say that monitoring data shows that this afternoon (19th), the air on the Qinghai-Tibet Plateau and in the central and eastern regions is still dry. Among them, ...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"△ National precipitation forecast map (issued by the Central Meteorological Administration)\\\\\\\\nMinsheng Tianxia, Beijing, January 19 - In a flash, the traditional \'Minor Cold\' solar term is nearing its end. This week (January 13 - January 19), experts say the national weather stage saw a pattern of strong-then-weak cold air, with temperatures bottoming out and then rising, showing a \'V-shaped\' trend of low in the middle and significantly higher at the beginning and end of the week. In addition, at the beginning of the week, under the influence of the southern branch trough and the passage of a cold front, precipitation temporarily increased. But then it decreased again, and for the latter half of the week, most areas will have clear and dry weather. In addition, dust may affect Ningxia and other areas at the beginning of the week.\\\\\\\\n△ National precipitation forecast map (issued by the Central Meteorological Administration)\\\\\\\\nExperts say that monitoring data shows that this afternoon (19th), the air on the Qinghai-Tibet Plateau and in the central and eastern regions is still dry. Among them, the relative humidity in Lhasa and Lijiang is less than 10%. In addition, statistics show that the relative humidity in Zhengzhou, Shijiazhuang, Beijing, Tianjin, Taiyuan, and Jinan is less than 20%. According to the latest meteorological data analysis, there will still be little rain and snow in the next 3 days; but after next Thursday (23rd), there may be widespread precipitation in the central and eastern regions.\\\\\\\\n△ National precipitation forecast map (issued by the Central Meteorological Administration)\\\\\\\\nIt is worth noting that industry insiders emphasize that it is not difficult to judge from the situation that, as experts say, there are still differences in the forecasts of European and American meteorological numerical models regarding the scope and intensity of snowfall; therefore, the public needs to pay attention to the revisions of the meteorological departments on water vapor transport and dynamic coordination in the later period. As...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"http://cj.sina.cn/articles/view/2369612657/8d3d6b71019018vom?finpagefr\\\\u003dp_104\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737286740\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"Finance Headlines\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"Widespread snowfall + cooling! Weather changes next week→\\\\\\",\\\\\\"url\\\\\\":\\\\\\"http://cj.sina.cn/articles/view/2369612657/8d3d6b71019018vom?finpagefr\\\\u003dp_104\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"cj.sina.cn\\\\\\",\\\\\\"title\\\\\\":\\\\\\"Widespread snowfall + cooling! Weather changes next week→ - Finance Headlines\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"It is now the fourth nine-day period of winter, but the weather pattern of high temperatures and clear, dry conditions continues in most of Inner Mongolia. It is expected that in the next few days, the cold air will continue to be inactive, and temperatures across the region will rise steadily, with little rain or snow. Looking ahead, starting from the 24th, a stronger cold front will affect our region, bringing widespread snow, sleet, and...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":0},\\\\\\"MainBody\\\\\\":\\\\\\"Jungar Banner\'s weather forecast for the next week\\\\\\\\n(January 20 - January 26)\\\\\\\\n▪ Monday to Thursday (January 20 - January 23), Jungar Banner will be mainly clear, with temperatures slowly rising;\\\\\\\\n▪ Friday to Saturday (January 24 - January 25), Jungar Banner will have a widespread snowfall event, with strong winds during the snowfall, and temperatures dropping by 8–10°C after the snow;\\\\\\\\n▪ Sunday (January 26), partly cloudy, with the minimum temperature dropping to -19 to -15°C.\\\\\\\\nIt is now the fourth nine-day period of winter, but the weather pattern of high temperatures and clear, dry conditions continues in most of Inner Mongolia. It is expected that in the next few days, the cold air will continue to be inactive, and temperatures across the region will rise steadily, with little rain or snow. Looking ahead, starting from the 24th, a stronger cold front will affect our region, bringing widespread snow, sleet, and cooling. There will be heavy snow in many parts of the central and western regions, and blizzards in the western and southern parts of Ordos City. Temperatures in most of the western region and the western part of the northeast will drop by 6 to 8°C, with some areas dropping by more than 8°C, accompanied by short-term northwesterly winds of force 5-6, gusting to 7-8.\\\\\\\\nAs the Spring Festival approaches, during the peak of the travel rush, the public needs to pay timely attention to the latest weather forecasts and take precautions against the adverse effects of rain, snow, and cooling on transportation.\\\\\\\\nSource: Jungar Banner Converged Media Center\\\\\\\\n0 comments | 0 participants User comments\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://m.163.com/dy/article/JMA24PJU0530JPVV.html?spss\\\\u003ddy_author\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737295147\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"NetEase Subscription\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"-6°C + sleet! Zibo\'s weather next week→\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://m.163.com/dy/article/JMA24PJU0530JPVV.html?spss\\\\u003ddy_author\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"m.163.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"-6°C + sleet! Zibo\'s weather next week→ - NetEase Subscription\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"Next week, some areas of Shandong will have light rain and snow. According to the Shandong Provincial Meteorological Station, from the 20th to the 21st, the weather in the province will be clear to partly cloudy, with rising temperatures; from the 22nd to the 25th, a weak cold front will affect the area, with increased cloud cover and some... From the night of the 21st to the day of the 22nd, Heze, Jining, and Liaocheng will have partly cloudy to cloudy weather with light rain in some areas, while other areas will have partly cloudy weather...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"Tomorrow (January 20)\\\\\\\\nwill be the Major Cold solar term\\\\\\\\nMajor Cold is the last of the twenty-four solar terms\\\\\\\\nWhat will the weather be like next\\\\\\\\nLet\'s take a look\\\\\\\\nStarting from the 23rd, a strong cold front will bring rain, snow, and cooling\\\\\\\\nAccording to @ChinaWeather, from January 19 to 21, temperatures in most of the country will continue to rise steadily, and we will welcome the Major Cold solar term with even warmer \'posture\'. This round of warming will be long-lasting and widespread, and temperatures in various places will reach their recent highs. Starting from the 23rd, a strong cold front will affect most of our country, bringing widespread rain and snow. During the Spring Festival travel rush, the public needs to pay close attention to weather changes and make corresponding preparations in advance.\\\\\\\\nNext week, some areas of Shandong will have light rain and snow\\\\\\\\nAccording to the Shandong Provincial Meteorological Station, from the 20th to the 21st, the weather in the province will be clear to partly cloudy, with rising temperatures; from the 22nd to the 25th, a weak cold front will affect the area, with increased cloud cover and light rain and snow in some areas.\\\\\\\\nSpecific forecast\\\\\\\\nFrom the night of the 19th to the day of the 20th, the province will be clear to partly cloudy. North wind shifting to south wind, force 3-4. Minimum temperature: around -5°C in northwestern and central Shandong, and around -3°C in other areas. Maximum temperature: around 12°C in Liaocheng, Heze, and Jining, around 6°C in northern coastal areas, and around 9°C in other areas.\\\\\\\\nFrom the night of the 20th to the day of the 21st, the province will be clear to partly cloudy. South wind shifting to north wind, force 3-4. Minimum temperature: around -1°C in coastal areas, and around -3°C in other areas. Maximum temperature: around 10°C in northwestern Shandong and the peninsula, and around 13°C in other areas.\\\\\\\\nFrom the night of the 21st to the day of the 22nd, Heze, Jining, and...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"http://cj.sina.cn/articles/view/1931238691/731c5d2301901pjje?finpagefr\\\\u003dp_104\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737286980\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"Finance Headlines\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"Rain, snow, strong winds, and cooling are coming! Next week, Qingdao\'s weather will change!\\\\\\",\\\\\\"url\\\\\\":\\\\\\"http://cj.sina.cn/articles/view/1931238691/731c5d2301901pjje?finpagefr\\\\u003dp_104\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"cj.sina.cn\\\\\\",\\\\\\"title\\\\\\":\\\\\\"Rain, snow, strong winds, and cooling are coming! Next week, Qingdao\'s weather will change! - Finance Headlines\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"For the next two days, the clear and warm weather trend will continue, with the city\'s maximum temperature reaching between 7 and 11 degrees, which is conducive to pre-holiday cleaning and Spring Festival travel. In general, for most of next week, there will be no significant cold air influence, with weak winds and small temperature fluctuations. However, for inland areas, although it doesn\'t feel like the fourth nine-day period of winter during the day, the diurnal temperature range is large, ...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"It\'s the third and fourth nine-day periods of winter\\\\\\\\nWinter is ending and spring is coming. At 4:00 on January 20, we will welcome the last of the twenty-four solar terms—Major Cold\\\\\\\\nIt is expected that from January 19 to 21,\\\\\\\\ntemperatures in most of the country will continue to rise steadily,\\\\\\\\nand we will welcome the Major Cold solar term with an even warmer \'posture\'.\\\\\\\\nThis round of warming will be long-lasting and widespread,\\\\\\\\nand temperatures in various places will reach their recent highs.\\\\\\\\nStarting from the 23rd,\\\\\\\\na strong cold front will affect most of our country,\\\\\\\\nand bring widespread rain and snow.\\\\\\\\nIt will bring a 6 to 10°C drop in temperature to most areas,\\\\\\\\nwith some areas seeing a drop of more than 12°C,\\\\\\\\naccompanied by winds of force 4 to 6.\\\\\\\\nShandong Provincial Meteorological Station at 16:00 on January 19, 2025\\\\\\\\nreleased a short-term weather forecast for the province\\\\\\\\nFrom the night of the 19th to the day of the 20th, the province will be clear to partly cloudy. North wind shifting to south wind, force 3–4.\\\\\\\\nMinimum temperature: around -5°C in northwestern and central Shandong, and around -3°C in other areas.\\\\\\\\nMaximum temperature: around 12°C in Liaocheng, Heze, and Jining, around 6°C in northern coastal areas, and around 9°C in other areas.\\\\\\\\nFrom the night of the 20th to the day of the 21st, the province will be clear to partly cloudy. South wind shifting to north wind, force 3–4.\\\\\\\\nMinimum temperature: around -1°C in coastal areas, and around -3°C in other areas.\\\\\\\\nMaximum temperature: around 10°C in northwestern Shandong and the peninsula, and around 13°C in other areas.\\\\\\\\nFrom the night of the 21st to the day of the 22nd, Heze, Jining, and Liaocheng will have partly cloudy to cloudy weather with light rain in some areas, while other areas will have partly cloudy weather. North wind, force 3–4.\\\\\\\\nMinimum temperature: around 1°C in southern Shandong and coastal areas, and around -2°C in other areas.\\\\\\\\nMaximum temperature: in...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://m.163.com/dy/article/JM9AHHJC0550E6NG.html?spss\\\\u003ddy_author\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737270399\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"NetEase Subscription\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"Rain, snow! Cooling! Next week, Linyi\'s weather will change!\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://m.163.com/dy/article/JM9AHHJC0550E6NG.html?spss\\\\u003ddy_author\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"m.163.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"Rain, snow! Cooling! Next week, Linyi\'s weather will change! - NetEase Subscription\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"In short, next week\'s rain, snow, and cooling will affect a wide area, and the cold of winter may return. It is currently the peak of the Spring Festival travel rush, so friends with travel plans should pack enough clothes and adjust their itineraries according to the weather changes. However, the forecast is still far out, and the weather may still change, so it is necessary to keep a close watch. Spread the word! Let everyone know! The video account has been updated...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"Although it is now the fourth nine-day period of winter\\\\\\\\nLinyi is experiencing significant warming\\\\\\\\nToday\'s maximum temperature reached 12°C\\\\\\\\nSpecific weather forecast\\\\\\\\nThis afternoon to tonight, clear to partly cloudy, north wind force 3, temperature 12 to -3°C;\\\\\\\\nFrom the day of the 20th to the night, clear to partly cloudy, north wind shifting to south wind force 3, temperature 11 to -1°C;\\\\\\\\nFrom the day of the 21st to the night, clear to partly cloudy, south wind shifting to east wind force 3–4, temperature 12 to -1°C.\\\\\\\\nHowever\\\\\\\\nNext week, the weather will change\\\\\\\\nAccording to the latest forecast from the Shandong Provincial Meteorological Station\\\\\\\\nFrom the 19th to the 21st, the province will be clear to partly cloudy\\\\\\\\nwith rising temperatures\\\\\\\\nFrom the 22nd to the 25th, a weak cold front will affect the area\\\\\\\\nwith light rain and snow in southern Shandong\\\\\\\\nWeather forecast for the next three days in the province\\\\\\\\nFrom the day of the 19th to the night, the province will be clear to partly cloudy. The peninsula area will have a north wind of force 3–4, while other areas will have a north wind shifting to a south wind of force 3–4.\\\\\\\\nNighttime minimum temperature: around -5°C in northwestern and central Shandong, and around -3°C in other areas.\\\\\\\\nMaximum temperature: around 11°C in southern Shandong, around 5°C in northern coastal areas, and around 8°C in other areas.\\\\\\\\nFrom the day of the 20th to the night, the province will be clear to partly cloudy. The peninsula area will have a north wind shifting to a south wind of force 3–4, while other areas will have a south wind of force 3–4.\\\\\\\\nNighttime minimum temperature: around -1°C in coastal areas, and around -3°C in other areas.\\\\\\\\nMaximum temperature: around 13°C in Heze and Liaocheng, around 7°C in the peninsula area, and around 10°C in other areas.\\\\\\\\nFrom the day of the 21st to the night, northwestern Shandong will have partly cloudy to cloudy weather, while other areas will have partly cloudy weather. South wind shifting to north wind, force 3–4.\\\\\\\\nNighttime minimum temperature: in...\\\\\\"}],\\\\\\"@attributes\\\\\\":{\\\\\\"total\\\\\\":760082,\\\\\\"searchtime\\\\\\":339,\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}}}\\"}","contentType":"JSON","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:20"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"According to","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" the search","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" results","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":", next week\'s weather","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" forecast is as follows:\\n\\n-","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" **January 2","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"2 (Monday","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":")**: Partly","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" cloudy, with temperatures gradually","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" rising. The daytime high","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" will be around 17","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"°C, and the nighttime low","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" will be around 7°C","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":".\\n- **January","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:26"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" 23","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:26"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" (Tuesday)**","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:26"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":": Partly cloudy,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:26"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" with temperatures continuing to rise.","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" The daytime high will be around","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" 18°C,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" and the nighttime low will be around","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" 8°C.\\n-","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" **January 2","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"4 (Wednesday","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:28"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":")**: Partly","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:28"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" cloudy to cloudy,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:28"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" with light rain in some areas","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:28"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":". The daytime high will be","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:28"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" around 14°C","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:29"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":", and the nighttime low will be","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:29"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" around 7°C.\\n","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:29"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"- **January","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" 25 (","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"Thursday)**:","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" Cloudy to light rain","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":". The daytime high will be","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" around 13°C","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":", and the nighttime low will be","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" around 5°C.\\n","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"- **January","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" 26 (","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"Friday)**:","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" Light rain. The daytime","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" high will be around 9","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"°C, and the nighttime low","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:32"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" will be around 2°C","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:33"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":".\\n- **January","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:33"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" 27","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:33"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" (Saturday)**","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":": Cloudy to clear","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":". The daytime high will be","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" around 8°C,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" and the nighttime low will be around","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" -1°C.\\n","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"- **January","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" 28 (","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"Sunday)**","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":": Clear. The daytime","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" high will be around 1","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"0°C, and the nighttime","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" low will be around 1","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"°C.\\n\\n Additionally,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" starting from January 2","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"4,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" a strong","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" cold front will bring","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" widespread","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" rain, snow, and cooling","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":". Especially on January","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" 27","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" (Saturday) and","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" January 28","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" (Sunday","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"), temperatures will drop","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" significantly. Stay","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:38"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" warm and plan","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:38"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" your travel accordingly.","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:38"}'."\n"
."\n"
.'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":null,"contentType":"TEXT","extraInfo":null,"stop":true,"time":"2025-01-21 16:57:38"}'."\n"
.'```',
'changeSet' => [
['createdAt' => '2025-06-26T12:54:47.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RunAgent'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RunAgent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'RunChatResultGeneration' => [
'summary' => 'Generates chat responses. You can select a model for the conversation and choose streaming or non-streaming output.',
'path' => '/{workspaceId}/api/run/chat/generation',
'methods' => ['post'],
'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter. The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameters.',
'type' => 'object',
'properties' => [
'inferenceParameters' => ['description' => 'Hyperparameters used for inference.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => '{"topP": 0.8}'],
'messages' => [
'title' => '',
'description' => 'Messages to input into the model.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'content' => ['description' => 'Message content.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '你是一个信息处理专家'],
'role' => ['description' => 'Message role.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'user'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
'modelId' => ['description' => 'The model service type. Get this value from the /api/app/config API endpoint in the llmHelperTypeList field.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'qwen-max'],
'sessionId' => ['description' => 'Session ID. Use this to mark a conversation.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '237645726354'],
'stream' => ['description' => 'Streaming mode. Set to true for streaming responses. Set to false for full responses. Default is false.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'],
'tools' => [
'title' => '',
'description' => 'Tool information. Specify a list of tools the model can call. When multiple tools are provided, the model selects one to generate a response.',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'Tool information.',
'type' => 'object',
'properties' => [
'function' => [
'title' => '',
'description' => 'An object containing name, description, and parameters.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'A string describing the tool function. This helps the model decide when and how to call it.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '工具函数的描述'],
'name' => ['description' => 'A string representing the tool function name. It must contain only letters, digits, underscores, and hyphens. Maximum length is 64 characters.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'get_time'],
'parameters' => [
'title' => '',
'description' => 'An object describing the tool parameters. It must be a valid JSON Schema.',
'type' => 'object',
'properties' => [
'properties' => ['description' => 'Properties.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "location": {'."\n"
.' "type": "string",'."\n"
.' "description": "The city and state, e.g. San Francisco, CA"'."\n"
.' },'."\n"
.' "unit": {'."\n"
.' "type": "string",'."\n"
.' "enum": ['."\n"
.' "celsius",'."\n"
.' "fahrenheit"'."\n"
.' ]'."\n"
.' }'."\n"
.' }', 'title' => ''],
'type' => ['description' => 'Type.', 'type' => 'string', 'required' => false, 'example' => 'object', 'title' => ''],
],
'required' => false,
'example' => '',
],
'required' => [
'description' => 'List of required parameters.',
'type' => 'array',
'items' => ['description' => 'Required parameter.', 'type' => 'string', 'required' => false, 'example' => 'location', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'example' => '',
],
'type' => ['description' => 'A string indicating the tool type. Currently, only "function" is supported.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'function'],
],
'required' => false,
'example' => '',
],
'required' => false,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'choices' => [
'title' => '',
'description' => 'Details of the model-generated content.',
'type' => 'array',
'items' => [
'description' => 'Details of the model-generated content.',
'type' => 'object',
'properties' => [
'finishReason' => ['description' => 'Three possible values:'."\n"
."\n"
.'- null while generating;'."\n"
."\n"
.'- "stop" if generation ends due to a stop condition in the input parameters;'."\n"
."\n"
.'- "length" if generation ends because the output is too long.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'index' => ['description' => 'Sequence number of the generated result. Default is 0.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'message' => [
'title' => '',
'description' => 'Chat message.',
'type' => 'object',
'properties' => [
'content' => ['description' => 'Message content.', 'type' => 'string', 'title' => '', 'example' => '你是谁'],
'role' => ['description' => 'Role.', 'type' => 'string', 'title' => '', 'example' => 'user'],
'toolCalls' => [
'title' => '',
'description' => 'List of tool calls.',
'type' => 'array',
'items' => ['description' => 'Tool call.', 'type' => 'object', 'example' => '{'."\n"
.' "type": "function",'."\n"
.' "function": {'."\n"
.' "name": "get_current_weather",'."\n"
.' "arguments": "{\\"location\\": \\"长沙\\", \\"unit\\": \\"celsius\\"}"'."\n"
.' },'."\n"
.' "id": ""'."\n"
.' }', 'title' => ''],
'example' => '',
],
],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'created' => ['description' => 'Creation time.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1720602203'],
'id' => ['description' => 'Request identifier.', 'type' => 'string', 'title' => '', 'example' => 'eb2b6139-ddf1-91a0-a47f-df7617ae9032'],
'modelId' => ['description' => 'Large Language Model (LLM) ID.', 'type' => 'string', 'title' => '', 'example' => 'qwen-max'],
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => 'eb2b6139-ddf1-91a0-a47f-df7617ae9032'."\n"],
'time' => ['description' => 'Timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'totalTokens' => ['description' => 'Total tokens.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '500'],
'usage' => [
'title' => '',
'description' => 'Usage.',
'type' => 'object',
'properties' => [
'imageCount' => ['description' => 'Number of images. Returned by models such as wanx.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'imageTokens' => ['description' => 'Image tokens. Returned by models such as qwen-vl.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'inputTokens' => ['description' => 'Input tokens.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
'outputTokens' => ['description' => 'Output tokens.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '300'],
'totalTokens' => ['description' => 'Total tokens.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '500'],
],
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"choices\\": [\\n {\\n \\"finishReason\\": \\"null\\",\\n \\"index\\": 0,\\n \\"message\\": {\\n \\"content\\": \\"你是谁\\",\\n \\"role\\": \\"user\\",\\n \\"toolCalls\\": [\\n {\\n \\"type\\": \\"function\\",\\n \\"function\\": {\\n \\"name\\": \\"get_current_weather\\",\\n \\"arguments\\": \\"{\\\\\\"location\\\\\\": \\\\\\"长沙\\\\\\", \\\\\\"unit\\\\\\": \\\\\\"celsius\\\\\\"}\\"\\n },\\n \\"id\\": \\"\\"\\n }\\n ]\\n }\\n }\\n ],\\n \\"created\\": 1720602203,\\n \\"id\\": \\"eb2b6139-ddf1-91a0-a47f-df7617ae9032\\",\\n \\"modelId\\": \\"qwen-max\\",\\n \\"requestId\\": \\"eb2b6139-ddf1-91a0-a47f-df7617ae9032\\\\n\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"totalTokens\\": 500,\\n \\"usage\\": {\\n \\"imageCount\\": 0,\\n \\"imageTokens\\": 0,\\n \\"inputTokens\\": 200,\\n \\"outputTokens\\": 300,\\n \\"totalTokens\\": 500\\n }\\n}","type":"json"}]',
'title' => 'Generate conversation result ',
'description' => 'Before you use this API, review the billing method and pricing for Alibaba Cloud Tongyi Dianjin.'."\n"
."\n"
.'**Prerequisites**'."\n"
."\n"
.'- Activate Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'- Obtain your workspace ID: retrieve your [workspace identifier](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RunChatResultGeneration'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RunChatResultGeneration',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'RunDialogAnalysis' => [
'summary' => 'Retrieves session analysis results through a streaming API.',
'path' => '/{workspaceId}/api/virtualHuman/dialog/stream/analysis',
'methods' => ['post'],
'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/octet-stream'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The request body parameters.',
'type' => 'object',
'properties' => [
'sessionId' => ['description' => 'The session ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1759457905S001vejpvd6vej'],
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<DialogAnalysisResult>',
'description' => 'Result code',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'dialogAnalysisRespList' => [
'title' => '',
'description' => 'The list of session analysis results.',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'The session analysis result.',
'type' => 'object',
'properties' => [
'sessionId' => ['description' => 'The session ID.', 'type' => 'string', 'title' => '', 'example' => '1759457905S001vejpvd6vej'],
'gmtCreate' => ['description' => 'The time when the session was created.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'."\n"],
'status' => [
'description' => 'The execution status of the session analysis task.',
'enumValueTitles' => ['success' => 'The task succeeded.', 'pending' => 'The task is in progress.', 'error' => 'The task failed.'],
'type' => 'string',
'title' => '',
'example' => 'success',
],
'analysisResp' => [
'title' => '',
'description' => 'The result of the session analysis.',
'type' => 'object',
'properties' => [
'dialogLabels' => [
'title' => '',
'description' => 'The list of session labels.',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'The session label.',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The label name.', 'type' => 'string', 'title' => '', 'example' => '二级标签'],
'value' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => '协商还款'],
],
'example' => '',
],
'example' => '',
],
'dialogSummary' => ['description' => 'The session summary.', 'type' => 'string', 'title' => '', 'example' => '- 是否有资金需求:否\\\\n- 是否有意向:否,客户认为自己已经解决,对当前状态表示不解\\\\n- 是否可营销:否,对话中未表现出对营销信息的兴趣或接受度\\\\n- 待满足需求:客户希望在三天内解决问题'],
'dialogExecPlan' => ['description' => 'The session execution plan.', 'type' => 'string', 'title' => '', 'example' => '1. 核实客户账户信息,确认还款情况。\\\\n2. 若未收到还款,联系财务部门确认是否到账延迟。\\\\n3. 若已还款,更新客户记录并致歉。\\\\n4. 跟进客户,确保问题解决。'],
'dialogSop' => ['description' => 'The session SOP.', 'type' => 'string', 'title' => '', 'example' => '营销'],
'dialogProcessAnalysis' => [
'title' => '',
'description' => 'The session process analysis.',
'type' => 'object',
'additionalProperties' => ['description' => 'The content of the session process analysis.', 'type' => 'any', 'title' => '', 'example' => '{'."\n"
.' "dialogues": ['."\n"
.' {'."\n"
.' "result": ['."\n"
.' {'."\n"
.' "value": "开场白",'."\n"
.' "key": "客服"'."\n"
.' },'."\n"
.' {'."\n"
.' "value": "拒绝",'."\n"
.' "key": "客户"'."\n"
.' }'."\n"
.' ],'."\n"
.' "round": 1.0'."\n"
.' },'."\n"
.' {'."\n"
.' "result": ['."\n"
.' {'."\n"
.' "value": "挽留",'."\n"
.' "key": "客服"'."\n"
.' },'."\n"
.' {'."\n"
.' "value": "中性",'."\n"
.' "key": "客户"'."\n"
.' }'."\n"
.' ],'."\n"
.' "round": 2.0'."\n"
.' }'."\n"
.' ],'."\n"
.' "dialogProcessAnalysisStr": "第一轮对话:客服-开场白,客户-拒绝\\\\n第二轮对话:客服-挽留,客户-中性"'."\n"
.'}'],
'example' => '',
],
'dialogOpenAnalysis' => [
'title' => '',
'description' => 'The session open analysis.',
'type' => 'object',
'additionalProperties' => ['description' => 'The content of the session open analysis.', 'type' => 'any', 'title' => '', 'example' => '{'."\n"
.' "dialogues": ['."\n"
.' {'."\n"
.' "result": ['."\n"
.' {'."\n"
.' "value": "开场白",'."\n"
.' "key": "客服"'."\n"
.' },'."\n"
.' {'."\n"
.' "value": "拒绝",'."\n"
.' "key": "客户"'."\n"
.' }'."\n"
.' ],'."\n"
.' "round": 1.0'."\n"
.' },'."\n"
.' {'."\n"
.' "result": ['."\n"
.' {'."\n"
.' "value": "挽留",'."\n"
.' "key": "客服"'."\n"
.' },'."\n"
.' {'."\n"
.' "value": "中性",'."\n"
.' "key": "客户"'."\n"
.' }'."\n"
.' ],'."\n"
.' "round": 2.0'."\n"
.' }'."\n"
.' ],'."\n"
.' "dialogProcessAnalysisStr": "第一轮对话:客服-开场白,客户-拒绝\\\\n第二轮对话:客服-挽留,客户-中性"'."\n"
.'}'],
'example' => '',
],
],
'example' => '',
],
'failNode' => [
'title' => '',
'description' => 'The list of failed nodes.',
'type' => 'array',
'items' => ['description' => 'The failed node.', 'type' => 'string', 'title' => '', 'example' => 'DIALOG_OPEN_ANALYSIS'],
'example' => '',
],
],
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '02CD4454-3F2C-57D0-9060-68DEAA1F6993'],
'cost' => ['description' => 'The time consumed, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"dialogAnalysisRespList\\": [\\n {\\n \\"sessionId\\": \\"1759457905S001vejpvd6vej\\",\\n \\"gmtCreate\\": \\"2024-04-24 11:54:34\\\\n\\",\\n \\"status\\": \\"success\\",\\n \\"analysisResp\\": {\\n \\"dialogLabels\\": [\\n {\\n \\"name\\": \\"二级标签\\",\\n \\"value\\": \\"协商还款\\"\\n }\\n ],\\n \\"dialogSummary\\": \\"- 是否有资金需求:否\\\\\\\\\\\\\\\\n- 是否有意向:否,客户认为自己已经解决,对当前状态表示不解\\\\\\\\\\\\\\\\n- 是否可营销:否,对话中未表现出对营销信息的兴趣或接受度\\\\\\\\\\\\\\\\n- 待满足需求:客户希望在三天内解决问题\\",\\n \\"dialogExecPlan\\": \\"1. 核实客户账户信息,确认还款情况。\\\\\\\\\\\\\\\\n2. 若未收到还款,联系财务部门确认是否到账延迟。\\\\\\\\\\\\\\\\n3. 若已还款,更新客户记录并致歉。\\\\\\\\\\\\\\\\n4. 跟进客户,确保问题解决。\\",\\n \\"dialogSop\\": \\"营销\\",\\n \\"dialogProcessAnalysis\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"dialogues\\\\\\": [\\\\n {\\\\n \\\\\\"result\\\\\\": [\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"开场白\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客服\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"拒绝\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客户\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"round\\\\\\": 1.0\\\\n },\\\\n {\\\\n \\\\\\"result\\\\\\": [\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"挽留\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客服\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"中性\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客户\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"round\\\\\\": 2.0\\\\n }\\\\n ],\\\\n \\\\\\"dialogProcessAnalysisStr\\\\\\": \\\\\\"第一轮对话:客服-开场白,客户-拒绝\\\\\\\\\\\\\\\\n第二轮对话:客服-挽留,客户-中性\\\\\\"\\\\n}\\"\\n },\\n \\"dialogOpenAnalysis\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"dialogues\\\\\\": [\\\\n {\\\\n \\\\\\"result\\\\\\": [\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"开场白\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客服\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"拒绝\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客户\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"round\\\\\\": 1.0\\\\n },\\\\n {\\\\n \\\\\\"result\\\\\\": [\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"挽留\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客服\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"中性\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客户\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"round\\\\\\": 2.0\\\\n }\\\\n ],\\\\n \\\\\\"dialogProcessAnalysisStr\\\\\\": \\\\\\"第一轮对话:客服-开场白,客户-拒绝\\\\\\\\\\\\\\\\n第二轮对话:客服-挽留,客户-中性\\\\\\"\\\\n}\\"\\n }\\n },\\n \\"failNode\\": [\\n \\"DIALOG_OPEN_ANALYSIS\\"\\n ]\\n }\\n ]\\n },\\n \\"requestId\\": \\"02CD4454-3F2C-57D0-9060-68DEAA1F6993\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Generate Conversation Analysis Result ',
'description' => 'Before you use this API, make sure that you understand the billing methods and pricing for Tongyi Gold.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'You have activated Alibaba Cloud Model Studio and Tongyi Gold.'."\n"
."\n"
.'You must have a workspace ID. For more information, see [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RunDialogAnalysis',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'RunLibraryChatGeneration' => [
'summary' => 'Generates a chat response from a document library. You can ask questions in natural language, and the system retrieves relevant information to provide a summarized answer.',
'path' => '/{workspaceId}/api/run/library/chat/generation',
'methods' => ['post'],
'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'docIdList' => [
'title' => '',
'description' => 'A list of document IDs.',
'type' => 'array',
'items' => ['description' => 'A document ID.', 'type' => 'string', 'required' => false, 'example' => '1273827636xxx', 'title' => ''],
'required' => false,
'example' => '',
],
'enableFollowUp' => ['description' => 'Specifies whether to enable multi-turn enhancement.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
'enableMultiQuery' => ['description' => 'Specifies whether to enable query splitting.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
'enableOpenQa' => ['description' => 'Specifies whether to enable openQA.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
'followUpLlm' => ['description' => 'The Large Language Model (LLM) used for multi-turn query enhancement.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'qwen-max'],
'libraryId' => ['description' => 'The ID of the document library.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '3akzl28vap'],
'llmType' => ['description' => 'The type of the LLM.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'qwen-max'],
'multiQueryLlm' => ['description' => 'The LLM used for query splitting.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'qwen-max'],
'query' => ['description' => 'The query entered by the user.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '这两天北京气候怎么样'],
'queryCriteria' => [
'title' => '',
'description' => 'The property filter.',
'type' => 'object',
'properties' => [
'and' => [
'title' => '',
'description' => 'The \\`and\\` expression, used to filter documents or document chunks.',
'type' => 'array',
'items' => [
'description' => 'The content of the \\`and\\` expression.',
'type' => 'object',
'properties' => [
'boost' => ['description' => 'The weight of the tag. A value less than 1 decreases the weight of the corresponding keyword. A value greater than 1 increases the weight.', 'type' => 'number', 'format' => 'float', 'title' => '', 'required' => false, 'example' => '0.5'],
'key' => ['description' => 'The key of the tag.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'city'],
'operator' => ['description' => 'The operator for the tag. It specifies the relationship between the metadata key\'s stored value and your input value.'."\n"
."\n"
.'- eq: Equal to.'."\n"
."\n"
.'- lte: Less than or equal to.'."\n"
."\n"
.'- gte: Greater than or equal to.'."\n"
."\n"
.'- lt: Less than.'."\n"
."\n"
.'- gt: Greater than.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'eq'],
'value' => ['description' => 'The value of the tag.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '北京'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'or' => [
'title' => '',
'description' => 'The \\`or\\` expression, used to filter documents or document chunks.',
'type' => 'array',
'items' => [
'description' => 'The content of the \\`or\\` expression.',
'type' => 'object',
'properties' => [
'boost' => ['description' => 'The weight of the tag. A value less than 1 decreases the weight of the corresponding keyword. A value greater than 1 increases the weight.', 'type' => 'number', 'format' => 'float', 'title' => '', 'required' => false, 'example' => '0.5'],
'key' => ['description' => 'The key of the tag.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'city'],
'operator' => ['description' => 'The operator for the tag. It specifies the relationship between the metadata key\'s stored value and your input value.'."\n"
."\n"
.'- eq: Equal to.'."\n"
."\n"
.'- lte: Less than or equal to.'."\n"
."\n"
.'- gte: Greater than or equal to.'."\n"
."\n"
.'- lt: Less than.'."\n"
."\n"
.'- gt: Greater than.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'eq'],
'value' => ['description' => 'The value of the tag.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '北京'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
'required' => false,
'example' => '',
],
'rerankType' => ['description' => 'The type of the sort policy. Valid values: \\`linear\\` and \\`model\\`. \\`linear\\`: rule-based sorting. \\`model\\`: model-based sorting (LLM).', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'linear'],
'sessionId' => ['title' => 'sessionId', 'description' => 'The session ID.', 'type' => 'string', 'required' => false, 'example' => 'null'],
'stream' => ['description' => 'Specifies whether to use streaming or non-streaming mode.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'],
'subQueryList' => [
'title' => '',
'description' => 'A list of subqueries.',
'type' => 'array',
'items' => ['description' => 'A subquery.', 'type' => 'string', 'required' => false, 'example' => '北京最近气温如何?', 'title' => ''],
'required' => false,
'example' => '',
],
'textSearchParameter' => [
'title' => '',
'description' => 'Search engine parameters: text search parameters.',
'type' => 'object',
'properties' => [
'limit' => ['description' => 'The number of rows to return.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
'searchAnalyzerType' => ['description' => 'The search tokenizer. Valid values: \\`Standard\\`, \\`IkMaxWord\\`, and \\`IkSmart\\`. Configure this parameter as needed. If left empty, the tokenizer attached to the document library is used.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'IkMaxWord'],
],
'required' => false,
'example' => '',
],
'topK' => ['description' => 'The final number of retrieved corpus entries.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
'vectorSearchParameter' => [
'title' => '',
'description' => 'Search engine parameters: vector search parameters.',
'type' => 'object',
'properties' => [
'limit' => ['description' => 'The number of rows to return.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
],
'required' => false,
'example' => '',
],
'withDocumentReference' => ['description' => 'Specifies whether to return document references.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<Object>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'The response data (non-streaming).', 'type' => 'any', 'title' => '', 'example' => '{'."\n"
.' "finish":true,'."\n"
.' "text":"是的,记名预付卡的有效期不得低于3年。",'."\n"
.' "message": "是的,记名预付卡的有效期不得低于3年。",'."\n"
.' "queryResult":{'."\n"
.' "errCode": "0", //接口协议层面的错误码,正常为0,未授权,参数错误,服务器异常时会发生变化,可以忽略不处理'."\n"
.' "message": "ok", //接口协议层面的消息'."\n"
.' "data":{'."\n"
.' "success": true, //有回答true 无回答false'."\n"
.' "answer": null, //大模型生成的回答结果'."\n"
.' "embeddingElapsedMs": 127,'."\n"
.' "vectorSearchElapsedMs": 2745,'."\n"
.' "llmElapsedMs": 7911,'."\n"
.' "totalElapsedMs": 10820,'."\n"
.' "chunks": [ //召回的分块信息,一般为top5或top10,可联系我们调整效果'."\n"
.' {'."\n"
.' "chunkId": "470182177892469799", //分块信息的编号'."\n"
.' "docId": "22666332", //分块关联的文档编号'."\n"
.' "chunkText": "Profits plummeted in the first quarter, can\'t you bear it? In fact, previous rounds of price cuts have indeed had a certain impact on Tesla\'s financial data. Tesla has just released its financial report for the first quarter of this year. The data shows that in Q1 2023, Tesla achieved revenue of 23.33 billion US dollars, an increase of 24% over the previous year; Tesla delivered more than 422,000 electric vehicles worldwide in the first quarter, an increase of 36% over the previous year", //新闻原始内容'."\n"
.' "chunkMeta": { // demo数据中的其他metadata'."\n"
.' "language": "en",'."\n"
.' "unique_id": "news_22666332_13",'."\n"
.' "content_type": "news",'."\n"
.' "stock_id_list": []'."\n"
.' }'."\n"
.' }],'."\n"
.' "documents": [{'."\n"
.' "docId": "1686637056086872065", //文档编号'."\n"
.' "gmtCreate": "2023-08-02 15:16:25", //文档的创建时间'."\n"
.' "libraryId": "a1b2c3", //文档关联的知识库编号'."\n"
.' "title": "2023年工银信用卡微信、京东绑卡消费累计积分活动", //文档标题'."\n"
.' "url": null //文档连接,如有'."\n"
.' }] //块文本关联的文档'."\n"
.' },'."\n"
.' "success": true //接口协议层面的成功/失败状态 true就是errCode为0'."\n"
.' }'."\n"
.' }'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658'],
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"{\\\\n \\\\\\"finish\\\\\\":true,\\\\n \\\\\\"text\\\\\\":\\\\\\"是的,记名预付卡的有效期不得低于3年。\\\\\\",\\\\n \\\\\\"message\\\\\\": \\\\\\"是的,记名预付卡的有效期不得低于3年。\\\\\\",\\\\n \\\\\\"queryResult\\\\\\":{\\\\n \\\\\\"errCode\\\\\\": \\\\\\"0\\\\\\",\\\\t//接口协议层面的错误码,正常为0,未授权,参数错误,服务器异常时会发生变化,可以忽略不处理\\\\n \\\\\\"message\\\\\\": \\\\\\"ok\\\\\\",\\\\t//接口协议层面的消息\\\\n \\\\\\"data\\\\\\":{\\\\n \\\\\\"success\\\\\\": true,\\\\t//有回答true 无回答false\\\\n \\\\\\"answer\\\\\\": null,\\\\t//大模型生成的回答结果\\\\n \\\\\\"embeddingElapsedMs\\\\\\": 127,\\\\n \\\\\\"vectorSearchElapsedMs\\\\\\": 2745,\\\\n \\\\\\"llmElapsedMs\\\\\\": 7911,\\\\n \\\\\\"totalElapsedMs\\\\\\": 10820,\\\\n \\\\\\"chunks\\\\\\": [\\\\t//召回的分块信息,一般为top5或top10,可联系我们调整效果\\\\n {\\\\n \\\\\\"chunkId\\\\\\": \\\\\\"470182177892469799\\\\\\",\\\\t//分块信息的编号\\\\n \\\\\\"docId\\\\\\": \\\\\\"22666332\\\\\\",\\\\t//分块关联的文档编号\\\\n \\\\\\"chunkText\\\\\\": \\\\\\"Profits plummeted in the first quarter, can\'t you bear it? In fact, previous rounds of price cuts have indeed had a certain impact on Tesla\'s financial data. Tesla has just released its financial report for the first quarter of this year. The data shows that in Q1 2023, Tesla achieved revenue of 23.33 billion US dollars, an increase of 24% over the previous year; Tesla delivered more than 422,000 electric vehicles worldwide in the first quarter, an increase of 36% over the previous year\\\\\\",\\\\t//新闻原始内容\\\\n \\\\\\"chunkMeta\\\\\\": {\\\\t// demo数据中的其他metadata\\\\n \\\\\\"language\\\\\\": \\\\\\"en\\\\\\",\\\\n \\\\\\"unique_id\\\\\\": \\\\\\"news_22666332_13\\\\\\",\\\\n \\\\\\"content_type\\\\\\": \\\\\\"news\\\\\\",\\\\n \\\\\\"stock_id_list\\\\\\": []\\\\n }\\\\n }],\\\\n \\\\\\"documents\\\\\\": [{\\\\n \\\\\\"docId\\\\\\": \\\\\\"1686637056086872065\\\\\\",\\\\t//文档编号\\\\n \\\\\\"gmtCreate\\\\\\": \\\\\\"2023-08-02 15:16:25\\\\\\",\\\\t//文档的创建时间\\\\n \\\\\\"libraryId\\\\\\": \\\\\\"a1b2c3\\\\\\",\\\\t//文档关联的知识库编号\\\\n \\\\\\"title\\\\\\": \\\\\\"2023年工银信用卡微信、京东绑卡消费累计积分活动\\\\\\",\\\\t//文档标题\\\\n \\\\\\"url\\\\\\": null\\\\t//文档连接,如有\\\\n }]\\\\t//块文本关联的文档\\\\n },\\\\n \\\\\\"success\\\\\\": true\\\\t//接口协议层面的成功/失败状态 true就是errCode为0\\\\n }\\\\n }\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Generate Document Library Session',
'responseParamsDescription' => '## Streaming response description'."\n"
."\n"
.'### Result rewritten based on conversation history'."\n"
."\n"
.'```json'."\n"
.'{'."\n"
.' "success": true,'."\n"
.' "dataType": "copilotStep",'."\n"
.' "time": "2024-08-26 11:28:10",'."\n"
.' "errCode": "0",'."\n"
.' "message": "ok",'."\n"
.' "data": {'."\n"
.' "stepName": "start_followup_query", // Start rewriting'."\n"
.' "data": "How is the performance"'."\n"
.' },'."\n"
.' "requestId": null,'."\n"
.' "cost": null'."\n"
.'}'."\n"
."\n\n"
.'{'."\n"
.' "success": true,'."\n"
.' "dataType": "copilotStep",'."\n"
.' "time": "2024-08-26 11:28:10",'."\n"
.' "errCode": "0",'."\n"
.' "message": "ok",'."\n"
.' "data": {'."\n"
.' "stepName": "completed_followup_query", // Rewriting completed'."\n"
.' "data": "How is the performance"'."\n"
.' },'."\n"
.' "requestId": null,'."\n"
.' "cost": null'."\n"
.'}'."\n"
.'```'."\n"
."\n"
.'### Query decomposition'."\n"
."\n"
.'```json'."\n"
.'{'."\n"
.' "success": true,'."\n"
.' "dataType": "copilotStep",'."\n"
.' "time": "2024-08-26 11:28:10",'."\n"
.' "errCode": "0",'."\n"
.' "message": "ok",'."\n"
.' "data": {'."\n"
.' "stepName": "start_understand_query", // Start decomposition'."\n"
.' "data": "How is the performance"'."\n"
.' },'."\n"
.' "requestId": null,'."\n"
.' "cost": null'."\n"
.'}'."\n"
."\n"
.'{'."\n"
.' "success": true,'."\n"
.' "dataType": "copilotStep",'."\n"
.' "time": "2024-08-26 11:28:12",'."\n"
.' "errCode": "0",'."\n"
.' "message": "ok",'."\n"
.' "data": {'."\n"
.' "stepName": "completed_understand_query", // Decomposition completed'."\n"
.' "data": ['."\n"
.' "What is the specific time period for the performance?",'."\n"
.' "Which industry\'s or company\'s performance are you referring to?",'."\n"
.' "What are the data metrics for performance? For example, revenue, profit, market share, etc."'."\n"
.' ]'."\n"
.' },'."\n"
.' "requestId": null,'."\n"
.' "cost": null'."\n"
.'}'."\n"
.'```'."\n"
."\n"
.'### Retrieval results'."\n"
."\n"
.'```json'."\n"
.'{'."\n"
.' "success": true,'."\n"
.' "dataType": "queryResult",'."\n"
.' "time": "2023-09-20 16:36:04",'."\n"
.' "errCode": "0",'."\n"
.' "message": "retriever completed",'."\n"
.' "data": {'."\n"
.' "success": true,'."\n"
.' "answer": null,'."\n"
.' "prompt": "Please use the following context to answer the final question.\\n The following is the context:\\n ... unless otherwise specified in these measures. The validity period of a non-registered prepaid card must not be less than 3 years.\\n Prepaid cards must not have an overdraft function.\\n When issuing and selling prepaid cards, the issuing institution must inform the cardholder of the card\'s validity period and its calculation method. For prepaid cards that still have a balance after the expiration date, the issuing institution must provide services such as extension, activation, or card replacement to ensure the cardholder can continue to use the funds.\\n Article 9: The face of the prepaid card must display elements such as the prepaid card name, the name of the issuing institution, whether it is registered, the card number, the validity period or expiration date, notes for the cardholder, and the customer service phone number.\\n Article 10: Individuals or entities purchasing a registered prepaid card or making a one-time purchase of non-registered prepaid cards worth CNY 10,000 or more must use their real names and provide valid identification.\\n The issuing institution must verify the identity of the purchaser and the entity\'s handler,\\n\\n ... information.\\n For registered prepaid cards, the issuing institution must also record the cardholder\'s valid identification information, prepaid card number, amount, and other information in the core prepaid card business processing system.\\n Article 12: For one-time purchases of prepaid cards worth CNY 5,000 or more by an entity, or CNY 50,000 or more by an individual, the purchase must be made through non-cash settlement methods such as bank transfer. Cash must not be used.\\n The purchaser must not use a credit card to buy a prepaid card.\\n Article 13: When purchasing prepaid cards using non-cash settlement methods such as bank transfer, the payer\'s bank account name and the purchaser\'s name must be the same.\\n The issuing institution must verify the consistency of the account information and identity information, and record information such as the payer\'s bank account name and number, the payee\'s bank account name and number, and the transfer amount in the core prepaid card business processing system.\\n Article 14\\n\\n\\n\\n Based on your understanding of the context, provide an answer. Keep the answer as concise as possible. If you do not know the answer, just say \'I don\'t know\'.\\n Question: Must the validity period of a registered prepaid card be no less than 3 years?\\n Answer:",'."\n"
.' "embeddingElapsedMs": 1423,'."\n"
.' "vectorSearchElapsedMs": 115,'."\n"
.' "textSearchElapsedMs": 0,'."\n"
.' "llmElapsedMs": null,'."\n"
.' "totalElapsedMs": 1626,'."\n"
.' "reRankElapsedMs": 8,'."\n"
.' "chunks": ['."\n"
.' {'."\n"
.' "libraryId": "5rdxr3dxmk",'."\n"
.' "libraryName": "Fudian Bank Test Knowledge Base",'."\n"
.' "title": "Measures for the Administration of Prepaid Card Business of Payment Institutions (Announcement [2012] No. 12 of the People\'s Bank of China)",'."\n"
.' "chunkId": "478245189908103170",'."\n"
.' "docId": "1701838553380655106",'."\n"
.' "chunkText": "... unless otherwise specified in these measures. The validity period of a non-registered prepaid card must not be less than 3 years.\\n Prepaid cards must not have an overdraft function.\\n When issuing and selling prepaid cards, the issuing institution must inform the cardholder of the card\'s validity period and its calculation method. For prepaid cards that still have a balance after the expiration date, the issuing institution must provide services such as extension, activation, or card replacement to ensure the cardholder can continue to use the funds.\\n Article 9: The face of the prepaid card must display elements such as the prepaid card name, the name of the issuing institution, whether it is registered, the card number, the validity period or expiration date, notes for the cardholder, and the customer service phone number.\\n Article 10: Individuals or entities purchasing a registered prepaid card or making a one-time purchase of non-registered prepaid cards worth CNY 10,000 or more must use their real names and provide valid identification.\\n The issuing institution must verify the identity of the purchaser and the entity\'s handler,",'."\n"
.' "fileType": "pdf",'."\n"
.' "chunkMeta": {},'."\n"
.' "score": 0.92747295'."\n"
.' },'."\n"
.' {'."\n"
.' "libraryId": "5rdxr3dxmk",'."\n"
.' "libraryName": "Fudian Bank Test Knowledge Base",'."\n"
.' "title": "Measures for the Administration of Prepaid Card Business of Payment Institutions (Announcement [2012] No. 12 of the People\'s Bank of China)",'."\n"
.' "chunkId": "478245189908234242",'."\n"
.' "docId": "1701838553380655106",'."\n"
.' "chunkText": "... information.\\n For registered prepaid cards, the issuing institution must also record the cardholder\'s valid identification information, prepaid card number, amount, and other information in the core prepaid card business processing system.\\n Article 12: For one-time purchases of prepaid cards worth CNY 5,000 or more by an entity, or CNY 50,000 or more by an individual, the purchase must be made through non-cash settlement methods such as bank transfer. Cash must not be used.\\n The purchaser must not use a credit card to buy a prepaid card.\\n Article 13: When purchasing prepaid cards using non-cash settlement methods such as bank transfer, the payer\'s bank account name and the purchaser\'s name must be the same.\\n The issuing institution must verify the consistency of the account information and identity information, and record information such as the payer\'s bank account name and number, the payee\'s bank account name and number, and the transfer amount in the core prepaid card business processing system.\\n Article 14",'."\n"
.' "fileType": "pdf",'."\n"
.' "chunkMeta": {},'."\n"
.' "score": 0.8335201'."\n"
.' }'."\n"
.' ],'."\n"
.' "vectorChunks": ['."\n"
.' {'."\n"
.' "libraryId": "5rdxr3dxmk",'."\n"
.' "libraryName": null,'."\n"
.' "title": null,'."\n"
.' "chunkId": "478245189908103170",'."\n"
.' "docId": "1701838553380655106",'."\n"
.' "chunkText": "... unless otherwise specified in these measures. The validity period of a non-registered prepaid card must not be less than 3 years.\\n Prepaid cards must not have an overdraft function.\\n When issuing and selling prepaid cards, the issuing institution must inform the cardholder of the card\'s validity period and its calculation method. For prepaid cards that still have a balance after the expiration date, the issuing institution must provide services such as extension, activation, or card replacement to ensure the cardholder can continue to use the funds.\\n Article 9: The face of the prepaid card must display elements such as the prepaid card name, the name of the issuing institution, whether it is registered, the card number, the validity period or expiration date, notes for the cardholder, and the customer service phone number.\\n Article 10: Individuals or entities purchasing a registered prepaid card or making a one-time purchase of non-registered prepaid cards worth CNY 10,000 or more must use their real names and provide valid identification.\\n The issuing institution must verify the identity of the purchaser and the entity\'s handler,",'."\n"
.' "fileType": null,'."\n"
.' "chunkMeta": {},'."\n"
.' "score": 0.85494584'."\n"
.' },'."\n"
.' {'."\n"
.' "libraryId": "5rdxr3dxmk",'."\n"
.' "libraryName": null,'."\n"
.' "title": null,'."\n"
.' "chunkId": "478245189908234242",'."\n"
.' "docId": "1701838553380655106",'."\n"
.' "chunkText": "... information.\\n For registered prepaid cards, the issuing institution must also record the cardholder\'s valid identification information, prepaid card number, amount, and other information in the core prepaid card business processing system.\\n Article 12: For one-time purchases of prepaid cards worth CNY 5,000 or more by an entity, or CNY 50,000 or more by an individual, the purchase must be made through non-cash settlement methods such as bank transfer. Cash must not be used.\\n The purchaser must not use a credit card to buy a prepaid card.\\n Article 13: When purchasing prepaid cards using non-cash settlement methods such as bank transfer, the payer\'s bank account name and the purchaser\'s name must be the same.\\n The issuing institution must verify the consistency of the account information and identity information, and record information such as the payer\'s bank account name and number, the payee\'s bank account name and number, and the transfer amount in the core prepaid card business processing system.\\n Article 14",'."\n"
.' "fileType": null,'."\n"
.' "chunkMeta": {},'."\n"
.' "score": 0.6670402'."\n"
.' }'."\n"
.' ],'."\n"
.' "textChunks": [],'."\n"
.' "chunkParts": [],'."\n"
.' "chunkTextList": ['."\n"
.' "... unless otherwise specified in these measures. The validity period of a non-registered prepaid card must not be less than 3 years.\\n Prepaid cards must not have an overdraft function.\\n When issuing and selling prepaid cards, the issuing institution must inform the cardholder of the card\'s validity period and its calculation method. For prepaid cards that still have a balance after the expiration date, the issuing institution must provide services such as extension, activation, or card replacement to ensure the cardholder can continue to use the funds.\\n Article 9: The face of the prepaid card must display elements such as the prepaid card name, the name of the issuing institution, whether it is registered, the card number, the validity period or expiration date, notes for the cardholder, and the customer service phone number.\\n Article 10: Individuals or entities purchasing a registered prepaid card or making a one-time purchase of non-registered prepaid cards worth CNY 10,000 or more must use their real names and provide valid identification.\\n The issuing institution must verify the identity of the purchaser and the entity\'s handler,",'."\n"
.' "... information.\\n For registered prepaid cards, the issuing institution must also record the cardholder\'s valid identification information, prepaid card number, amount, and other information in the core prepaid card business processing system.\\n Article 12: For one-time purchases of prepaid cards worth CNY 5,000 or more by an entity, or CNY 50,000 or more by an individual, the purchase must be made through non-cash settlement methods such as bank transfer. Cash must not be used.\\n The purchaser must not use a credit card to buy a prepaid card.\\n Article 13: When purchasing prepaid cards using non-cash settlement methods such as bank transfer, the payer\'s bank account name and the purchaser\'s name must be the same.\\n The issuing institution must verify the consistency of the account information and identity information, and record information such as the payer\'s bank account name and number, the payee\'s bank account name and number, and the transfer amount in the core prepaid card business processing system.\\n Article 14"'."\n"
.' ],'."\n"
.' "documents": ['."\n"
.' {'."\n"
.' "docId": "1701838553380655106",'."\n"
.' "gmtCreate": "2023-09-13 14:01:44",'."\n"
.' "libraryId": null,'."\n"
.' "title": "Measures for the Administration of Prepaid Card Business of Payment Institutions (Announcement [2012] No. 12 of the People\'s Bank of China)",'."\n"
.' "url": null,'."\n"
.' "fileType": "pdf"'."\n"
.' }'."\n"
.' ]'."\n"
.' },'."\n"
.' "cost": null'."\n"
.'}'."\n"
.'```'."\n"
."\n"
.'### Model summary result'."\n"
."\n"
.'```json'."\n"
.'{'."\n"
.' "success": true,'."\n"
.' "dataType": "message",'."\n"
.' "time": "2023-09-20 16:36:05",'."\n"
.' "errCode": "0",'."\n"
.' "message": "ok",'."\n"
.' "data": {'."\n"
.' "message": "Yes, ",// Incremental answer'."\n"
.' "text": "Yes, ", // Cumulative answer'."\n"
.' "finish": false'."\n"
.' },'."\n"
.' "cost": null'."\n"
.'}'."\n"
.'```',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RunLibraryChatGeneration'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RunLibraryChatGeneration',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'SubmitChatQuestion' => [
'summary' => 'Submit a list of questions and retrieve results by calling the `GetChatQuestionResp` API.',
'path' => '/{workspaceId}/api/virtualHuman/chat/submit',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body',
'type' => 'object',
'properties' => [
'sessionId' => ['description' => 'Session ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '237645726354'],
'gmtService' => ['description' => 'Current time', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '2024-09-27 11:23:20'],
'liveScriptContent' => ['description' => 'Live channel script', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '我们家的酒全都是老酒,酒厂直售【当前用户问句】,保证正儿八经的自家酿造,地址都能告诉大家,品质实实在在的有保障。我们家这款酒入口非常绵柔顺滑,酱香、粮食香、花果香层层递进,空杯留香能持续48小时,不会有上头的感觉。今天我们是厂家直销,大家平时买酒在烟酒店要经过好几个环节的中间商,每个环节都要加价,今天在这里拍下,只会让你省不少冤枉钱。如果说你拿去存酒的话, 拍蓝瓶的云端系列也可以,越存的话会越香,你拿去托人办事、请人吃饭、商务宴请、搞接待送礼,直接带白瓶云悠系列。'."\n"],
'openSmallTalk' => ['description' => 'Enable small talk. Default is true.', 'type' => 'boolean', 'required' => false, 'default' => 'true', 'title' => '', 'example' => 'true'],
'questionList' => [
'title' => '',
'description' => 'Question list',
'type' => 'array',
'items' => [
'description' => 'Question',
'type' => 'object',
'properties' => [
'sessionId' => ['description' => 'Session ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1869300950603128834'],
'userId' => ['description' => 'Unique ID of the user asking questions in the live channel', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '39485783475638465'],
'userName' => ['description' => 'Name of the user asking questions in the live channel', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '张**'."\n"],
'content' => ['description' => 'Question content', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '这是多大的体积'."\n"],
'gmtCreate' => ['description' => 'Original question time', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '2024-11-17 10:05:00'."\n"],
'type' => [
'description' => 'Question type: PRODUCT\\_QA (audio submission), GOSSIP (operation submission), UNKNOWN (unknown)',
'enumValueTitles' => ['PRODUCT_QA' => 'Audio submission', 'GOSSIP' => 'Operation submission', 'UNKNOWN' => 'Unknown'],
'type' => 'string',
'title' => '',
'required' => false,
'example' => 'PRODUCT_QA'."\n",
],
'reply' => ['description' => 'Reply content', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '这是三升的。'."\n"],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<DiaChatSubmitVO>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'Response data',
'type' => 'object',
'properties' => [
'batchId' => ['description' => 'Batch ID', 'type' => 'string', 'title' => '', 'example' => '1869307330227937280'],
],
'example' => '',
],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '915AAAB9-4908-5224-9E53-9E9D7D0AA94B'],
'cost' => ['description' => 'Time taken', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"batchId\\": \\"1869307330227937280\\"\\n },\\n \\"requestId\\": \\"915AAAB9-4908-5224-9E53-9E9D7D0AA94B\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'submit question List ',
'description' => 'Review the pricing and billing details for the Tongyi Dianjin product before you use this API.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'Activate Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'Obtain the \\`workspaceId\\`: Retrieve the [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitChatQuestion'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:SubmitChatQuestion',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'UpdateDocument' => [
'summary' => 'Updates the title, metadata, and other information of a document.',
'path' => '/{workspaceId}/api/library/document/updateDocument',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter, workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameter.',
'type' => 'object',
'properties' => [
'docId' => ['description' => 'Document ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '123'],
'libraryId' => ['description' => 'Document library ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'abc123'],
'meta' => ['description' => 'Document metadata.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => '{'."\n"
.' "businessId": "12321"'."\n"
.' }'],
'title' => ['description' => 'Document title.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'test'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'Result.',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Time consumed', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'Response data.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'dataType' => ['description' => 'Data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => 'eb2b6139-ddf1-91a0-a47f-df7617ae9032'],
'success' => ['description' => 'Success status.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"null\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"eb2b6139-ddf1-91a0-a47f-df7617ae9032\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Update Document ',
'description' => '**Prerequisites**'."\n"
."\n"
.'- Activate the Alibaba Cloud Model Studio service and the Tongyi Gold service.'."\n"
."\n"
.'- Obtain your workspace ID. For more information, see [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDocument'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:UpdateDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'UpdateDocumentChunk' => [
'summary' => 'Update the text content of a document chunk in a document.',
'path' => '/{workspaceId}/api/library/updateDocumentChunk',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameters.',
'type' => 'object',
'properties' => [
'libraryId' => ['description' => 'Library ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'sjdgdsfg'],
'chunks' => [
'title' => '',
'description' => 'List of document chunks.',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'Document chunk.',
'type' => 'object',
'properties' => [
'chunkId' => ['description' => 'Document chunk ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1987834755763847'],
'chunkText' => ['description' => 'Document chunk text.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '这是一段测试文本'],
],
'required' => true,
'example' => '',
],
'required' => true,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<ResultCodeEnum>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Is successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'Data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'Timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-01-01 00:00:00'],
'errCode' => ['description' => 'Error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => ['description' => 'Response data.', 'type' => 'string', 'title' => '', 'example' => 'SUCCESS'],
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '003D019A-1BB3-53EC-A0D2-CE76DA5D73B1'],
'cost' => ['description' => 'Processing time', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-01-01 00:00:00\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"003D019A-1BB3-53EC-A0D2-CE76DA5D73B1\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Update document block content',
'description' => 'Before using this API, ensure you understand the billing methods and pricing of the Tongyi Gold product.'."\n"
."\n"
.'Prerequisites'."\n"
."\n"
.'You must activate Alibaba Cloud Model Studio and Tongyi Gold services.'."\n"
."\n"
.'Obtain the workspaceId. For more information, see the [workspace identity](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDocumentChunk'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'dianjin:UpdateDocumentChunk',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'UpdateLibrary' => [
'summary' => 'Updates a document library. You can update the library name, description, and index configuration.',
'path' => '/{workspaceId}/api/library/update',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameters',
'type' => 'object',
'properties' => [
'description' => ['description' => 'Document library description', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '文档库描述'],
'indexSetting' => [
'title' => '',
'description' => 'Document library index configuration',
'type' => 'object',
'properties' => [
'chunkStrategy' => [
'title' => '',
'description' => 'Chunking strategy',
'type' => 'object',
'properties' => [
'docTreeSplit' => ['description' => 'Layout-based chunking', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'docTreeSplitSize' => ['description' => 'Layout-based chunking size', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '160'],
'enhanceGraph' => ['description' => 'Enhance images', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'enhanceTable' => ['description' => 'Enhance tables', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'overlap' => ['description' => 'Chunk overlap length', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '20'],
'sentenceSplit' => ['description' => 'Split by sentence. Default is true', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'sentenceSplitSize' => ['description' => 'Average sentence-based chunking length', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '160'],
'size' => ['description' => 'Fixed-length chunking size', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '256'],
'split' => ['description' => 'Enable chunking', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
],
'required' => false,
'example' => '',
],
'modelConfig' => [
'title' => '',
'description' => 'Model configuration',
'type' => 'object',
'properties' => [
'temperature' => ['description' => 'Temperature', 'type' => 'number', 'format' => 'double', 'title' => '', 'required' => false, 'example' => '0.8'],
'topP' => ['title' => 'topP', 'description' => 'Top P', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.8'],
],
'required' => false,
'example' => '',
],
'promptRoleStyle' => ['description' => 'Prompt role style', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '你是一位文档分析专家,非常善于从给定的知识中,找到重点,像老师给学生讲课一样把问题回答清晰。你的回答富有逻辑性,遇到复杂问题,你善于一步一步思考。'],
'queryEnhancer' => [
'title' => '',
'description' => 'Query enhancement',
'type' => 'object',
'properties' => [
'enableFollowUp' => ['description' => 'Multi-turn enhancement', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'enableMultiQuery' => ['description' => 'Use Large Language Models (LLMs) to decompose queries', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'enableOpenQa' => ['description' => 'Use Large Language Models (LLMs) to answer queries', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'enableQueryRewrite' => ['description' => 'Rewrite queries using domain knowledge', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'enableSession' => ['description' => 'Record session history', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'localKnowledgeId' => ['description' => 'Document library ID used for query rewriting', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'sjdhgfc'],
'withDocumentReference' => ['description' => 'Include document references in responses', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
],
'required' => false,
'example' => '',
],
'recallStrategy' => [
'title' => '',
'description' => 'Retrieval strategy',
'type' => 'object',
'properties' => [
'documentRankType' => [
'description' => 'Merge and sort strategy',
'enumValueTitles' => ['model' => 'Sort using BGE', 'llm' => 'Sort using Large Language Models (LLMs)'],
'type' => 'string',
'title' => '',
'required' => false,
'example' => 'model',
],
'limit' => ['description' => 'Number of results from two-way merge and summarization', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
],
'required' => false,
'example' => '',
],
'textIndexSetting' => [
'title' => '',
'description' => 'Text index settings',
'type' => 'object',
'properties' => [
'category' => ['description' => 'Text index type', 'type' => 'string', 'example' => 'ElasticSearch', 'pattern' => '^ElasticSearch$', 'default' => 'ElasticSearch', 'title' => '', 'required' => false],
'enable' => ['description' => 'Enable text indexing', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'indexAnalyzer' => ['description' => 'Text index analyzer: Standard, IkMaxWord, or IkSmart', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Standard'],
'rankThreshold' => ['description' => 'Text index ranking threshold', 'type' => 'number', 'format' => 'double', 'title' => '', 'required' => false, 'example' => '0.5'],
'searchAnalyzer' => ['description' => 'Text index search analyzer: Standard, IkMaxWord, or IkSmart', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Standard'],
'topK' => ['description' => 'Number of final summarized results from text indexing', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '50'],
],
'required' => false,
'example' => '',
],
'vectorIndexSetting' => [
'title' => '',
'description' => 'Vector index settings',
'type' => 'object',
'properties' => [
'category' => ['description' => 'Vector index source. We recommend ADB', 'type' => 'string', 'example' => 'ADB', 'pattern' => '^ADB$', 'default' => 'ADB', 'title' => '', 'required' => false],
'embeddingType' => ['description' => 'Text embedding model for vector indexing', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'DashScope'],
'enable' => ['description' => 'Enable vector indexing', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'rankThreshold' => ['description' => 'Vector index ranking threshold', 'type' => 'number', 'format' => 'double', 'title' => '', 'required' => false, 'example' => '0.5'],
'topK' => ['description' => 'Number of final summarized results from vector indexing', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
],
'required' => false,
'example' => '',
],
],
'required' => false,
'example' => '',
],
'libraryId' => ['description' => 'Document library ID', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'dsfbashdbb'],
'libraryName' => ['description' => 'Document library name', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '测试文档库'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'ResultCode\\<string>',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'Processing time', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'Response data', 'type' => 'string', 'title' => '', 'example' => 'null'],
'dataType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => 'eb2b6139-ddf1-91a0-a47f-df7617ae9032'],
'success' => ['description' => 'Operation succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"null\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"eb2b6139-ddf1-91a0-a47f-df7617ae9032\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'Update Document Library ',
'description' => '**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'- Obtain the workspace ID. For more information, see [Get the workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLibrary'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'dianjin:UpdateLibrary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'UpdateQaLibrary' => [
'summary' => 'Updates a Q&A library. After the update, use the GenDocQaResult API to parse the Q&A pairs.',
'path' => '/{workspaceId}/api/virtualHuman/qa/upload',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'parseQaResults' => [
'title' => '',
'description' => 'A list of parsed Q\\&A pair results.',
'type' => 'array',
'items' => [
'description' => 'A parsed Q\\&A pair result.',
'type' => 'object',
'properties' => [
'question' => ['description' => 'The question.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '这款**糯米大烧麦的净含量是多少?'."\n"],
'answer' => ['description' => 'The answer.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '这款**糯米大烧麦的净含量是900g。'."\n"],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
'qaLibraryId' => ['description' => 'The ID of the Q\\&A library.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '6jh378d'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<DiaChatQaUploadResponse>',
'description' => 'ResultCode',
'type' => 'object',
'properties' => [
'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'time' => ['description' => 'The timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'data' => [
'title' => '',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'qaLibraryId' => ['description' => 'The ID of the Q\\&A library.', 'type' => 'string', 'title' => '', 'example' => '6jh378d'],
],
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258'],
'cost' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"qaLibraryId\\": \\"6jh378d\\"\\n },\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
'title' => 'Update Q&A Pair Library',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateQaLibrary'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:UpdateQaLibrary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'UploadDocument' => [
'summary' => 'Upload a document to a document library. The system parses the document, splits it into chunks, and builds an index.',
'path' => '/{workspaceId}/api/library/document/upload',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'path',
'schema' => ['description' => 'Path parameter. The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-xxxxx', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'data' => ['description' => 'File metadata. You can use this to filter results during retrieval.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '{\\"cateogry\\": \\"报告\\"}'],
'fileName' => ['description' => 'The full file name, including the extension. Supported formats are PDF, DOC, DOCX, Markdown, PPT, and PPTX. File size must not exceed 100 MB. PDF, DOC, DOCX, PPT, and PPTX files must not exceed 500 pages.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test.pdf'],
'fileUrl' => ['description' => 'The OSS URL of the file. If the file is not publicly readable, include a signature in the URL.'."\n"
."\n"
.'If you use the SDK to upload files, upload the file directly. You do not need to provide an OSS URL. For more information, see the SDK documentation.', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'title' => '', 'example' => 'https://oss-xxx.hangzhou.com/test.pdf'],
'libraryId' => ['description' => 'The document library ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'sjdhbcsj'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ResultCode<String>',
'description' => 'The response object.',
'type' => 'object',
'properties' => [
'cost' => ['description' => 'The processing time, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'null'],
'data' => ['description' => 'The returned data.', 'type' => 'string', 'title' => '', 'example' => '1782981430906818562'],
'dataType' => ['description' => 'The data type.', 'type' => 'string', 'title' => '', 'example' => 'null'],
'errCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'],
'message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'ff3fef67-48d9-4379-a237-9ba8143fe739'],
'success' => ['description' => 'Indicates whether the operation succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'time' => ['description' => 'Timestamp.', 'type' => 'string', 'title' => '', 'example' => '2024-04-24 11:54:34'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"1782981430906818562\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"ff3fef67-48d9-4379-a237-9ba8143fe739\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
'title' => 'File ',
'description' => 'Before you use this operation, review the Tongyi Dianjin pricing details.'."\n"
."\n"
.'**Prerequisites**'."\n"
."\n"
.'- You have activated Alibaba Cloud Model Studio and Tongyi Dianjin.'."\n"
."\n"
.'- You have obtained a workspace ID. For more information, see [Get the workspace ID](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadDocument'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:UploadDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
],
'endpoints' => [
['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dianjin.cn-beijing.aliyuncs.com', 'endpoint' => 'dianjin.cn-beijing.aliyuncs.com', 'vpc' => 'dianjin-vpc.cn-beijing.aliyuncs.com'],
],
'errorCodes' => [],
'changeSet' => [
[
'apis' => [
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'RealtimeDialogAssist'],
],
'createdAt' => '2026-01-07T02:52:43.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateQualityCheckTask'],
],
'createdAt' => '2025-12-11T01:42:42.000Z',
'description' => '',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAnnualDocSummaryTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskStatus'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadDocument'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RunAgent'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDocsSummaryTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLibrary'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenDocQaResult'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitChatQuestion'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFilterDocumentList'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RebuildTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePdfTranslateTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocumentList'],
['threshold' => '120', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDialog'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLibraryList'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLibrary'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLibrary'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAppConfig'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDocument'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocumentChunkList'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDocumentChunk'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetChatQuestionResp'],
['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RealTimeDialog'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateQaLibrary'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFinReportSummaryTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetParseResult'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDocument'],
['threshold' => '150', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecognizeIntention'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetQualityCheckTaskResult'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecallDocument'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLibrary'],
['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PreviewDocument'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDialogAnalysisResult'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDialogAnalysisTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateQualityCheckTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RunLibraryChatGeneration'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDialogLog'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EvictTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocumentUrl'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReIndex'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RunChatResultGeneration'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSummaryTaskResult'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskResult'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDialogDetail'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePredefinedDocument'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InvokePlugin'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetHistoryListByBizType'],
],
],
'ram' => [
'productCode' => 'DianJin',
'productName' => 'Alibaba Cloud Model Studio',
'ramCodes' => ['dianjin'],
'ramLevel' => 'OPERATION',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'GetHistoryListByBizType',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetHistoryListByBizType',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteLibrary',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'dianjin:DeleteLibrary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RealtimeDialogAssist',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RealtimeDialogAssist',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RunLibraryChatGeneration',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RunLibraryChatGeneration',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetAppConfig',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetAppConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetDialogDetail',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetDialogDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'EvictTask',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:EvictTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetDialogLog',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetDialogLog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteDocument',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:DeleteDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'InvokePlugin',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:InvokePlugin',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateDocument',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:UpdateDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreatePredefinedDocument',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreatePredefinedDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RecallDocument',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RecallDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RecognizeIntention',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RecognizeIntention',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GenDocQaResult',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:GenDocQaResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RunAgent',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RunAgent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateLibrary',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateLibrary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DashscopeAsyncTaskFinishEvent',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:DashscopeAsyncTaskFinishEvent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetDialogAnalysisResult',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetDialogAnalysisResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetChatQuestionResp',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetChatQuestionResp',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetParseResult',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetParseResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RealTimeDialog',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RealTimeDialog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'EndToEndRealTimeDialog',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:EndToEndRealTimeDialog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'PreviewDocument',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:PreviewDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RunDialogAnalysis',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RunDialogAnalysis',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ReIndex',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:ReIndex',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateQualityCheckTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateQualityCheckTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateQaLibrary',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:UpdateQaLibrary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetTaskStatus',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetTaskStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetDocumentUrl',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetDocumentUrl',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RunChatResultGeneration',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RunChatResultGeneration',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetQualityCheckTaskResult',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetQualityCheckTaskResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetLibrary',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetLibrary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreatePdfTranslateTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreatePdfTranslateTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateFinReportSummaryTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateFinReportSummaryTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'SubmitChatQuestion',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:SubmitChatQuestion',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateAnnualDocSummaryTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateAnnualDocSummaryTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RebuildTask',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:RebuildTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UploadDocument',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:UploadDocument',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateDocumentChunk',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'dianjin:UpdateDocumentChunk',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetTaskResult',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetTaskResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetSummaryTaskResult',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetSummaryTaskResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateDocsSummaryTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateDocsSummaryTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetDocumentChunkList',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetDocumentChunkList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateLibrary',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'dianjin:UpdateLibrary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateDialog',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateDialog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateDialogAnalysisTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'dianjin:CreateDialogAnalysisTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetDocumentList',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetDocumentList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetFilterDocumentList',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'dianjin:GetFilterDocumentList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetLibraryList',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'dianjin:GetLibraryList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DianJin', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];
|