@alicloud/dianjin20240628 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +758 -30
- package/dist/client.js +626 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1281 -138
package/src/client.ts
CHANGED
|
@@ -12,6 +12,146 @@ import EndpointUtil from '@alicloud/endpoint-util';
|
|
|
12
12
|
import { Readable } from 'stream';
|
|
13
13
|
import * as $tea from '@alicloud/tea-typescript';
|
|
14
14
|
|
|
15
|
+
export class CreateDocsSummaryTaskRequest extends $tea.Model {
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*/
|
|
20
|
+
docInfos?: CreateDocsSummaryTaskRequestDocInfos[];
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* true
|
|
24
|
+
*/
|
|
25
|
+
enableTable?: boolean;
|
|
26
|
+
instruction?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* qwen-plus
|
|
33
|
+
*/
|
|
34
|
+
modelId?: string;
|
|
35
|
+
static names(): { [key: string]: string } {
|
|
36
|
+
return {
|
|
37
|
+
docInfos: 'docInfos',
|
|
38
|
+
enableTable: 'enableTable',
|
|
39
|
+
instruction: 'instruction',
|
|
40
|
+
modelId: 'modelId',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
docInfos: { 'type': 'array', 'itemType': CreateDocsSummaryTaskRequestDocInfos },
|
|
47
|
+
enableTable: 'boolean',
|
|
48
|
+
instruction: 'string',
|
|
49
|
+
modelId: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class CreateDocsSummaryTaskResponseBody extends $tea.Model {
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* null
|
|
62
|
+
*/
|
|
63
|
+
cost?: number;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* 765675376
|
|
67
|
+
*/
|
|
68
|
+
data?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* null
|
|
72
|
+
*/
|
|
73
|
+
dataType?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* 0
|
|
77
|
+
*/
|
|
78
|
+
errCode?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* ok
|
|
82
|
+
*/
|
|
83
|
+
message?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* 32FFC91D-0A9F-585A-B84F-8A54C5187035
|
|
87
|
+
*/
|
|
88
|
+
requestId?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @example
|
|
91
|
+
* true
|
|
92
|
+
*/
|
|
93
|
+
success?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* @example
|
|
96
|
+
* 2024-01-01 00:00:00
|
|
97
|
+
*/
|
|
98
|
+
time?: string;
|
|
99
|
+
static names(): { [key: string]: string } {
|
|
100
|
+
return {
|
|
101
|
+
cost: 'cost',
|
|
102
|
+
data: 'data',
|
|
103
|
+
dataType: 'dataType',
|
|
104
|
+
errCode: 'errCode',
|
|
105
|
+
message: 'message',
|
|
106
|
+
requestId: 'requestId',
|
|
107
|
+
success: 'success',
|
|
108
|
+
time: 'time',
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
static types(): { [key: string]: any } {
|
|
113
|
+
return {
|
|
114
|
+
cost: 'number',
|
|
115
|
+
data: 'string',
|
|
116
|
+
dataType: 'string',
|
|
117
|
+
errCode: 'string',
|
|
118
|
+
message: 'string',
|
|
119
|
+
requestId: 'string',
|
|
120
|
+
success: 'boolean',
|
|
121
|
+
time: 'string',
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
constructor(map?: { [key: string]: any }) {
|
|
126
|
+
super(map);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export class CreateDocsSummaryTaskResponse extends $tea.Model {
|
|
131
|
+
headers?: { [key: string]: string };
|
|
132
|
+
statusCode?: number;
|
|
133
|
+
body?: CreateDocsSummaryTaskResponseBody;
|
|
134
|
+
static names(): { [key: string]: string } {
|
|
135
|
+
return {
|
|
136
|
+
headers: 'headers',
|
|
137
|
+
statusCode: 'statusCode',
|
|
138
|
+
body: 'body',
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
static types(): { [key: string]: any } {
|
|
143
|
+
return {
|
|
144
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
145
|
+
statusCode: 'number',
|
|
146
|
+
body: CreateDocsSummaryTaskResponseBody,
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
constructor(map?: { [key: string]: any }) {
|
|
151
|
+
super(map);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
15
155
|
export class CreateFinReportSummaryTaskRequest extends $tea.Model {
|
|
16
156
|
/**
|
|
17
157
|
* @remarks
|
|
@@ -605,6 +745,158 @@ export class CreatePredefinedDocumentResponse extends $tea.Model {
|
|
|
605
745
|
}
|
|
606
746
|
}
|
|
607
747
|
|
|
748
|
+
export class CreateQualityCheckTaskRequest extends $tea.Model {
|
|
749
|
+
/**
|
|
750
|
+
* @remarks
|
|
751
|
+
* This parameter is required.
|
|
752
|
+
*/
|
|
753
|
+
conversationList?: CreateQualityCheckTaskRequestConversationList;
|
|
754
|
+
/**
|
|
755
|
+
* @remarks
|
|
756
|
+
* This parameter is required.
|
|
757
|
+
*
|
|
758
|
+
* @example
|
|
759
|
+
* 2024-09-27 11:23:20
|
|
760
|
+
*/
|
|
761
|
+
gmtService?: string;
|
|
762
|
+
metaData?: { [key: string]: string };
|
|
763
|
+
qualityGroup?: string[];
|
|
764
|
+
/**
|
|
765
|
+
* @remarks
|
|
766
|
+
* This parameter is required.
|
|
767
|
+
*
|
|
768
|
+
* @example
|
|
769
|
+
* 0FC6636E-380A-5369-AE01-D1C15BB9B254
|
|
770
|
+
*/
|
|
771
|
+
requestId?: string;
|
|
772
|
+
/**
|
|
773
|
+
* @remarks
|
|
774
|
+
* This parameter is required.
|
|
775
|
+
*
|
|
776
|
+
* @example
|
|
777
|
+
* 0
|
|
778
|
+
*/
|
|
779
|
+
type?: string;
|
|
780
|
+
static names(): { [key: string]: string } {
|
|
781
|
+
return {
|
|
782
|
+
conversationList: 'conversationList',
|
|
783
|
+
gmtService: 'gmtService',
|
|
784
|
+
metaData: 'metaData',
|
|
785
|
+
qualityGroup: 'qualityGroup',
|
|
786
|
+
requestId: 'requestId',
|
|
787
|
+
type: 'type',
|
|
788
|
+
};
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
static types(): { [key: string]: any } {
|
|
792
|
+
return {
|
|
793
|
+
conversationList: CreateQualityCheckTaskRequestConversationList,
|
|
794
|
+
gmtService: 'string',
|
|
795
|
+
metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
796
|
+
qualityGroup: { 'type': 'array', 'itemType': 'string' },
|
|
797
|
+
requestId: 'string',
|
|
798
|
+
type: 'string',
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
constructor(map?: { [key: string]: any }) {
|
|
803
|
+
super(map);
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export class CreateQualityCheckTaskResponseBody extends $tea.Model {
|
|
808
|
+
/**
|
|
809
|
+
* @example
|
|
810
|
+
* null
|
|
811
|
+
*/
|
|
812
|
+
cost?: number;
|
|
813
|
+
data?: CreateQualityCheckTaskResponseBodyData;
|
|
814
|
+
/**
|
|
815
|
+
* @example
|
|
816
|
+
* null
|
|
817
|
+
*/
|
|
818
|
+
dataType?: string;
|
|
819
|
+
/**
|
|
820
|
+
* @example
|
|
821
|
+
* 0
|
|
822
|
+
*/
|
|
823
|
+
errCode?: string;
|
|
824
|
+
/**
|
|
825
|
+
* @example
|
|
826
|
+
* ok
|
|
827
|
+
*/
|
|
828
|
+
message?: string;
|
|
829
|
+
/**
|
|
830
|
+
* @example
|
|
831
|
+
* EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
|
|
832
|
+
*/
|
|
833
|
+
requestId?: string;
|
|
834
|
+
/**
|
|
835
|
+
* @example
|
|
836
|
+
* true
|
|
837
|
+
*/
|
|
838
|
+
success?: boolean;
|
|
839
|
+
/**
|
|
840
|
+
* @example
|
|
841
|
+
* 2024-04-24 11:54:34
|
|
842
|
+
*/
|
|
843
|
+
time?: string;
|
|
844
|
+
static names(): { [key: string]: string } {
|
|
845
|
+
return {
|
|
846
|
+
cost: 'cost',
|
|
847
|
+
data: 'data',
|
|
848
|
+
dataType: 'dataType',
|
|
849
|
+
errCode: 'errCode',
|
|
850
|
+
message: 'message',
|
|
851
|
+
requestId: 'requestId',
|
|
852
|
+
success: 'success',
|
|
853
|
+
time: 'time',
|
|
854
|
+
};
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
static types(): { [key: string]: any } {
|
|
858
|
+
return {
|
|
859
|
+
cost: 'number',
|
|
860
|
+
data: CreateQualityCheckTaskResponseBodyData,
|
|
861
|
+
dataType: 'string',
|
|
862
|
+
errCode: 'string',
|
|
863
|
+
message: 'string',
|
|
864
|
+
requestId: 'string',
|
|
865
|
+
success: 'boolean',
|
|
866
|
+
time: 'string',
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
constructor(map?: { [key: string]: any }) {
|
|
871
|
+
super(map);
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
export class CreateQualityCheckTaskResponse extends $tea.Model {
|
|
876
|
+
headers?: { [key: string]: string };
|
|
877
|
+
statusCode?: number;
|
|
878
|
+
body?: CreateQualityCheckTaskResponseBody;
|
|
879
|
+
static names(): { [key: string]: string } {
|
|
880
|
+
return {
|
|
881
|
+
headers: 'headers',
|
|
882
|
+
statusCode: 'statusCode',
|
|
883
|
+
body: 'body',
|
|
884
|
+
};
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
static types(): { [key: string]: any } {
|
|
888
|
+
return {
|
|
889
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
890
|
+
statusCode: 'number',
|
|
891
|
+
body: CreateQualityCheckTaskResponseBody,
|
|
892
|
+
};
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
constructor(map?: { [key: string]: any }) {
|
|
896
|
+
super(map);
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
|
|
608
900
|
export class DeleteDocumentRequest extends $tea.Model {
|
|
609
901
|
/**
|
|
610
902
|
* @remarks
|
|
@@ -1773,7 +2065,133 @@ export class GetLibraryRequest extends $tea.Model {
|
|
|
1773
2065
|
|
|
1774
2066
|
static types(): { [key: string]: any } {
|
|
1775
2067
|
return {
|
|
1776
|
-
libraryId: 'string',
|
|
2068
|
+
libraryId: 'string',
|
|
2069
|
+
};
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
constructor(map?: { [key: string]: any }) {
|
|
2073
|
+
super(map);
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
export class GetLibraryResponseBody extends $tea.Model {
|
|
2078
|
+
/**
|
|
2079
|
+
* @example
|
|
2080
|
+
* null
|
|
2081
|
+
*/
|
|
2082
|
+
cost?: number;
|
|
2083
|
+
data?: GetLibraryResponseBodyData;
|
|
2084
|
+
/**
|
|
2085
|
+
* @example
|
|
2086
|
+
* null
|
|
2087
|
+
*/
|
|
2088
|
+
dataType?: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* @example
|
|
2091
|
+
* 0
|
|
2092
|
+
*/
|
|
2093
|
+
errCode?: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* @example
|
|
2096
|
+
* ok
|
|
2097
|
+
*/
|
|
2098
|
+
message?: string;
|
|
2099
|
+
/**
|
|
2100
|
+
* @example
|
|
2101
|
+
* 44BD277A-87F9-5310-8D63-3E6645F1DA85
|
|
2102
|
+
*/
|
|
2103
|
+
requestId?: string;
|
|
2104
|
+
/**
|
|
2105
|
+
* @example
|
|
2106
|
+
* true
|
|
2107
|
+
*/
|
|
2108
|
+
success?: boolean;
|
|
2109
|
+
/**
|
|
2110
|
+
* @example
|
|
2111
|
+
* 2024-01-01 00:00:00
|
|
2112
|
+
*/
|
|
2113
|
+
time?: string;
|
|
2114
|
+
static names(): { [key: string]: string } {
|
|
2115
|
+
return {
|
|
2116
|
+
cost: 'cost',
|
|
2117
|
+
data: 'data',
|
|
2118
|
+
dataType: 'dataType',
|
|
2119
|
+
errCode: 'errCode',
|
|
2120
|
+
message: 'message',
|
|
2121
|
+
requestId: 'requestId',
|
|
2122
|
+
success: 'success',
|
|
2123
|
+
time: 'time',
|
|
2124
|
+
};
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
static types(): { [key: string]: any } {
|
|
2128
|
+
return {
|
|
2129
|
+
cost: 'number',
|
|
2130
|
+
data: GetLibraryResponseBodyData,
|
|
2131
|
+
dataType: 'string',
|
|
2132
|
+
errCode: 'string',
|
|
2133
|
+
message: 'string',
|
|
2134
|
+
requestId: 'string',
|
|
2135
|
+
success: 'boolean',
|
|
2136
|
+
time: 'string',
|
|
2137
|
+
};
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
constructor(map?: { [key: string]: any }) {
|
|
2141
|
+
super(map);
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
export class GetLibraryResponse extends $tea.Model {
|
|
2146
|
+
headers?: { [key: string]: string };
|
|
2147
|
+
statusCode?: number;
|
|
2148
|
+
body?: GetLibraryResponseBody;
|
|
2149
|
+
static names(): { [key: string]: string } {
|
|
2150
|
+
return {
|
|
2151
|
+
headers: 'headers',
|
|
2152
|
+
statusCode: 'statusCode',
|
|
2153
|
+
body: 'body',
|
|
2154
|
+
};
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
static types(): { [key: string]: any } {
|
|
2158
|
+
return {
|
|
2159
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2160
|
+
statusCode: 'number',
|
|
2161
|
+
body: GetLibraryResponseBody,
|
|
2162
|
+
};
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
constructor(map?: { [key: string]: any }) {
|
|
2166
|
+
super(map);
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
export class GetLibraryListRequest extends $tea.Model {
|
|
2171
|
+
/**
|
|
2172
|
+
* @example
|
|
2173
|
+
* 1
|
|
2174
|
+
*/
|
|
2175
|
+
page?: number;
|
|
2176
|
+
/**
|
|
2177
|
+
* @example
|
|
2178
|
+
* 10
|
|
2179
|
+
*/
|
|
2180
|
+
pageSize?: number;
|
|
2181
|
+
query?: string;
|
|
2182
|
+
static names(): { [key: string]: string } {
|
|
2183
|
+
return {
|
|
2184
|
+
page: 'page',
|
|
2185
|
+
pageSize: 'pageSize',
|
|
2186
|
+
query: 'query',
|
|
2187
|
+
};
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
static types(): { [key: string]: any } {
|
|
2191
|
+
return {
|
|
2192
|
+
page: 'number',
|
|
2193
|
+
pageSize: 'number',
|
|
2194
|
+
query: 'string',
|
|
1777
2195
|
};
|
|
1778
2196
|
}
|
|
1779
2197
|
|
|
@@ -1782,13 +2200,13 @@ export class GetLibraryRequest extends $tea.Model {
|
|
|
1782
2200
|
}
|
|
1783
2201
|
}
|
|
1784
2202
|
|
|
1785
|
-
export class
|
|
2203
|
+
export class GetLibraryListResponseBody extends $tea.Model {
|
|
1786
2204
|
/**
|
|
1787
2205
|
* @example
|
|
1788
2206
|
* null
|
|
1789
2207
|
*/
|
|
1790
2208
|
cost?: number;
|
|
1791
|
-
data?:
|
|
2209
|
+
data?: GetLibraryListResponseBodyData;
|
|
1792
2210
|
/**
|
|
1793
2211
|
* @example
|
|
1794
2212
|
* null
|
|
@@ -1806,7 +2224,7 @@ export class GetLibraryResponseBody extends $tea.Model {
|
|
|
1806
2224
|
message?: string;
|
|
1807
2225
|
/**
|
|
1808
2226
|
* @example
|
|
1809
|
-
*
|
|
2227
|
+
* 0a06dfe817156528535968405edce3
|
|
1810
2228
|
*/
|
|
1811
2229
|
requestId?: string;
|
|
1812
2230
|
/**
|
|
@@ -1835,7 +2253,7 @@ export class GetLibraryResponseBody extends $tea.Model {
|
|
|
1835
2253
|
static types(): { [key: string]: any } {
|
|
1836
2254
|
return {
|
|
1837
2255
|
cost: 'number',
|
|
1838
|
-
data:
|
|
2256
|
+
data: GetLibraryListResponseBodyData,
|
|
1839
2257
|
dataType: 'string',
|
|
1840
2258
|
errCode: 'string',
|
|
1841
2259
|
message: 'string',
|
|
@@ -1850,10 +2268,10 @@ export class GetLibraryResponseBody extends $tea.Model {
|
|
|
1850
2268
|
}
|
|
1851
2269
|
}
|
|
1852
2270
|
|
|
1853
|
-
export class
|
|
2271
|
+
export class GetLibraryListResponse extends $tea.Model {
|
|
1854
2272
|
headers?: { [key: string]: string };
|
|
1855
2273
|
statusCode?: number;
|
|
1856
|
-
body?:
|
|
2274
|
+
body?: GetLibraryListResponseBody;
|
|
1857
2275
|
static names(): { [key: string]: string } {
|
|
1858
2276
|
return {
|
|
1859
2277
|
headers: 'headers',
|
|
@@ -1866,7 +2284,7 @@ export class GetLibraryResponse extends $tea.Model {
|
|
|
1866
2284
|
return {
|
|
1867
2285
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1868
2286
|
statusCode: 'number',
|
|
1869
|
-
body:
|
|
2287
|
+
body: GetLibraryListResponseBody,
|
|
1870
2288
|
};
|
|
1871
2289
|
}
|
|
1872
2290
|
|
|
@@ -1875,31 +2293,34 @@ export class GetLibraryResponse extends $tea.Model {
|
|
|
1875
2293
|
}
|
|
1876
2294
|
}
|
|
1877
2295
|
|
|
1878
|
-
export class
|
|
2296
|
+
export class GetParseResultRequest extends $tea.Model {
|
|
1879
2297
|
/**
|
|
2298
|
+
* @remarks
|
|
2299
|
+
* This parameter is required.
|
|
2300
|
+
*
|
|
1880
2301
|
* @example
|
|
1881
|
-
*
|
|
2302
|
+
* 873648346573245
|
|
1882
2303
|
*/
|
|
1883
|
-
|
|
2304
|
+
docId?: string;
|
|
1884
2305
|
/**
|
|
2306
|
+
* @remarks
|
|
2307
|
+
* This parameter is required.
|
|
2308
|
+
*
|
|
1885
2309
|
* @example
|
|
1886
|
-
*
|
|
2310
|
+
* sjdgdsfg
|
|
1887
2311
|
*/
|
|
1888
|
-
|
|
1889
|
-
query?: string;
|
|
2312
|
+
libraryId?: string;
|
|
1890
2313
|
static names(): { [key: string]: string } {
|
|
1891
2314
|
return {
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
query: 'query',
|
|
2315
|
+
docId: 'docId',
|
|
2316
|
+
libraryId: 'libraryId',
|
|
1895
2317
|
};
|
|
1896
2318
|
}
|
|
1897
2319
|
|
|
1898
2320
|
static types(): { [key: string]: any } {
|
|
1899
2321
|
return {
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
query: 'string',
|
|
2322
|
+
docId: 'string',
|
|
2323
|
+
libraryId: 'string',
|
|
1903
2324
|
};
|
|
1904
2325
|
}
|
|
1905
2326
|
|
|
@@ -1908,13 +2329,13 @@ export class GetLibraryListRequest extends $tea.Model {
|
|
|
1908
2329
|
}
|
|
1909
2330
|
}
|
|
1910
2331
|
|
|
1911
|
-
export class
|
|
2332
|
+
export class GetParseResultResponseBody extends $tea.Model {
|
|
1912
2333
|
/**
|
|
1913
2334
|
* @example
|
|
1914
2335
|
* null
|
|
1915
2336
|
*/
|
|
1916
2337
|
cost?: number;
|
|
1917
|
-
data?:
|
|
2338
|
+
data?: GetParseResultResponseBodyData;
|
|
1918
2339
|
/**
|
|
1919
2340
|
* @example
|
|
1920
2341
|
* null
|
|
@@ -1932,7 +2353,7 @@ export class GetLibraryListResponseBody extends $tea.Model {
|
|
|
1932
2353
|
message?: string;
|
|
1933
2354
|
/**
|
|
1934
2355
|
* @example
|
|
1935
|
-
*
|
|
2356
|
+
* 0abb793617204049360065953ec6dd
|
|
1936
2357
|
*/
|
|
1937
2358
|
requestId?: string;
|
|
1938
2359
|
/**
|
|
@@ -1942,7 +2363,7 @@ export class GetLibraryListResponseBody extends $tea.Model {
|
|
|
1942
2363
|
success?: boolean;
|
|
1943
2364
|
/**
|
|
1944
2365
|
* @example
|
|
1945
|
-
* 2024-
|
|
2366
|
+
* 2024-04-24 11:54:34
|
|
1946
2367
|
*/
|
|
1947
2368
|
time?: string;
|
|
1948
2369
|
static names(): { [key: string]: string } {
|
|
@@ -1961,7 +2382,7 @@ export class GetLibraryListResponseBody extends $tea.Model {
|
|
|
1961
2382
|
static types(): { [key: string]: any } {
|
|
1962
2383
|
return {
|
|
1963
2384
|
cost: 'number',
|
|
1964
|
-
data:
|
|
2385
|
+
data: GetParseResultResponseBodyData,
|
|
1965
2386
|
dataType: 'string',
|
|
1966
2387
|
errCode: 'string',
|
|
1967
2388
|
message: 'string',
|
|
@@ -1976,10 +2397,10 @@ export class GetLibraryListResponseBody extends $tea.Model {
|
|
|
1976
2397
|
}
|
|
1977
2398
|
}
|
|
1978
2399
|
|
|
1979
|
-
export class
|
|
2400
|
+
export class GetParseResultResponse extends $tea.Model {
|
|
1980
2401
|
headers?: { [key: string]: string };
|
|
1981
2402
|
statusCode?: number;
|
|
1982
|
-
body?:
|
|
2403
|
+
body?: GetParseResultResponseBody;
|
|
1983
2404
|
static names(): { [key: string]: string } {
|
|
1984
2405
|
return {
|
|
1985
2406
|
headers: 'headers',
|
|
@@ -1992,7 +2413,7 @@ export class GetLibraryListResponse extends $tea.Model {
|
|
|
1992
2413
|
return {
|
|
1993
2414
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1994
2415
|
statusCode: 'number',
|
|
1995
|
-
body:
|
|
2416
|
+
body: GetParseResultResponseBody,
|
|
1996
2417
|
};
|
|
1997
2418
|
}
|
|
1998
2419
|
|
|
@@ -2001,34 +2422,24 @@ export class GetLibraryListResponse extends $tea.Model {
|
|
|
2001
2422
|
}
|
|
2002
2423
|
}
|
|
2003
2424
|
|
|
2004
|
-
export class
|
|
2005
|
-
/**
|
|
2006
|
-
* @remarks
|
|
2007
|
-
* This parameter is required.
|
|
2008
|
-
*
|
|
2009
|
-
* @example
|
|
2010
|
-
* 873648346573245
|
|
2011
|
-
*/
|
|
2012
|
-
docId?: string;
|
|
2425
|
+
export class GetQualityCheckTaskResultRequest extends $tea.Model {
|
|
2013
2426
|
/**
|
|
2014
2427
|
* @remarks
|
|
2015
2428
|
* This parameter is required.
|
|
2016
2429
|
*
|
|
2017
2430
|
* @example
|
|
2018
|
-
*
|
|
2431
|
+
* 17071319
|
|
2019
2432
|
*/
|
|
2020
|
-
|
|
2433
|
+
taskId?: string;
|
|
2021
2434
|
static names(): { [key: string]: string } {
|
|
2022
2435
|
return {
|
|
2023
|
-
|
|
2024
|
-
libraryId: 'libraryId',
|
|
2436
|
+
taskId: 'taskId',
|
|
2025
2437
|
};
|
|
2026
2438
|
}
|
|
2027
2439
|
|
|
2028
2440
|
static types(): { [key: string]: any } {
|
|
2029
2441
|
return {
|
|
2030
|
-
|
|
2031
|
-
libraryId: 'string',
|
|
2442
|
+
taskId: 'string',
|
|
2032
2443
|
};
|
|
2033
2444
|
}
|
|
2034
2445
|
|
|
@@ -2037,13 +2448,13 @@ export class GetParseResultRequest extends $tea.Model {
|
|
|
2037
2448
|
}
|
|
2038
2449
|
}
|
|
2039
2450
|
|
|
2040
|
-
export class
|
|
2451
|
+
export class GetQualityCheckTaskResultResponseBody extends $tea.Model {
|
|
2041
2452
|
/**
|
|
2042
2453
|
* @example
|
|
2043
2454
|
* null
|
|
2044
2455
|
*/
|
|
2045
2456
|
cost?: number;
|
|
2046
|
-
data?:
|
|
2457
|
+
data?: GetQualityCheckTaskResultResponseBodyData;
|
|
2047
2458
|
/**
|
|
2048
2459
|
* @example
|
|
2049
2460
|
* null
|
|
@@ -2061,7 +2472,7 @@ export class GetParseResultResponseBody extends $tea.Model {
|
|
|
2061
2472
|
message?: string;
|
|
2062
2473
|
/**
|
|
2063
2474
|
* @example
|
|
2064
|
-
*
|
|
2475
|
+
* 67C7021A-D268-553D-8C15-A087B9604028
|
|
2065
2476
|
*/
|
|
2066
2477
|
requestId?: string;
|
|
2067
2478
|
/**
|
|
@@ -2071,7 +2482,7 @@ export class GetParseResultResponseBody extends $tea.Model {
|
|
|
2071
2482
|
success?: boolean;
|
|
2072
2483
|
/**
|
|
2073
2484
|
* @example
|
|
2074
|
-
* 2024-
|
|
2485
|
+
* 2024-01-01 00:00:00
|
|
2075
2486
|
*/
|
|
2076
2487
|
time?: string;
|
|
2077
2488
|
static names(): { [key: string]: string } {
|
|
@@ -2090,7 +2501,7 @@ export class GetParseResultResponseBody extends $tea.Model {
|
|
|
2090
2501
|
static types(): { [key: string]: any } {
|
|
2091
2502
|
return {
|
|
2092
2503
|
cost: 'number',
|
|
2093
|
-
data:
|
|
2504
|
+
data: GetQualityCheckTaskResultResponseBodyData,
|
|
2094
2505
|
dataType: 'string',
|
|
2095
2506
|
errCode: 'string',
|
|
2096
2507
|
message: 'string',
|
|
@@ -2105,10 +2516,10 @@ export class GetParseResultResponseBody extends $tea.Model {
|
|
|
2105
2516
|
}
|
|
2106
2517
|
}
|
|
2107
2518
|
|
|
2108
|
-
export class
|
|
2519
|
+
export class GetQualityCheckTaskResultResponse extends $tea.Model {
|
|
2109
2520
|
headers?: { [key: string]: string };
|
|
2110
2521
|
statusCode?: number;
|
|
2111
|
-
body?:
|
|
2522
|
+
body?: GetQualityCheckTaskResultResponseBody;
|
|
2112
2523
|
static names(): { [key: string]: string } {
|
|
2113
2524
|
return {
|
|
2114
2525
|
headers: 'headers',
|
|
@@ -2121,7 +2532,7 @@ export class GetParseResultResponse extends $tea.Model {
|
|
|
2121
2532
|
return {
|
|
2122
2533
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2123
2534
|
statusCode: 'number',
|
|
2124
|
-
body:
|
|
2535
|
+
body: GetQualityCheckTaskResultResponseBody,
|
|
2125
2536
|
};
|
|
2126
2537
|
}
|
|
2127
2538
|
|
|
@@ -3962,6 +4373,56 @@ export class UploadDocumentResponse extends $tea.Model {
|
|
|
3962
4373
|
}
|
|
3963
4374
|
}
|
|
3964
4375
|
|
|
4376
|
+
export class CreateDocsSummaryTaskRequestDocInfos extends $tea.Model {
|
|
4377
|
+
/**
|
|
4378
|
+
* @remarks
|
|
4379
|
+
* This parameter is required.
|
|
4380
|
+
*
|
|
4381
|
+
* @example
|
|
4382
|
+
* 198386463432
|
|
4383
|
+
*/
|
|
4384
|
+
docId?: string;
|
|
4385
|
+
/**
|
|
4386
|
+
* @example
|
|
4387
|
+
* 2
|
|
4388
|
+
*/
|
|
4389
|
+
endPage?: number;
|
|
4390
|
+
/**
|
|
4391
|
+
* @remarks
|
|
4392
|
+
* This parameter is required.
|
|
4393
|
+
*
|
|
4394
|
+
* @example
|
|
4395
|
+
* rdxrmo6amk
|
|
4396
|
+
*/
|
|
4397
|
+
libraryId?: string;
|
|
4398
|
+
/**
|
|
4399
|
+
* @example
|
|
4400
|
+
* 1
|
|
4401
|
+
*/
|
|
4402
|
+
startPage?: number;
|
|
4403
|
+
static names(): { [key: string]: string } {
|
|
4404
|
+
return {
|
|
4405
|
+
docId: 'docId',
|
|
4406
|
+
endPage: 'endPage',
|
|
4407
|
+
libraryId: 'libraryId',
|
|
4408
|
+
startPage: 'startPage',
|
|
4409
|
+
};
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4412
|
+
static types(): { [key: string]: any } {
|
|
4413
|
+
return {
|
|
4414
|
+
docId: 'string',
|
|
4415
|
+
endPage: 'number',
|
|
4416
|
+
libraryId: 'string',
|
|
4417
|
+
startPage: 'number',
|
|
4418
|
+
};
|
|
4419
|
+
}
|
|
4420
|
+
|
|
4421
|
+
constructor(map?: { [key: string]: any }) {
|
|
4422
|
+
super(map);
|
|
4423
|
+
}
|
|
4424
|
+
}
|
|
4425
|
+
|
|
3965
4426
|
export class CreateLibraryRequestIndexSettingChunkStrategy extends $tea.Model {
|
|
3966
4427
|
/**
|
|
3967
4428
|
* @example
|
|
@@ -4344,10 +4805,178 @@ export class CreatePredefinedDocumentRequestChunks extends $tea.Model {
|
|
|
4344
4805
|
|
|
4345
4806
|
static types(): { [key: string]: any } {
|
|
4346
4807
|
return {
|
|
4347
|
-
chunkMeta: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
4348
|
-
chunkOrder: 'number',
|
|
4349
|
-
chunkText: 'string',
|
|
4350
|
-
chunkType: 'string',
|
|
4808
|
+
chunkMeta: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
4809
|
+
chunkOrder: 'number',
|
|
4810
|
+
chunkText: 'string',
|
|
4811
|
+
chunkType: 'string',
|
|
4812
|
+
};
|
|
4813
|
+
}
|
|
4814
|
+
|
|
4815
|
+
constructor(map?: { [key: string]: any }) {
|
|
4816
|
+
super(map);
|
|
4817
|
+
}
|
|
4818
|
+
}
|
|
4819
|
+
|
|
4820
|
+
export class CreateQualityCheckTaskRequestConversationListDialogueList extends $tea.Model {
|
|
4821
|
+
/**
|
|
4822
|
+
* @example
|
|
4823
|
+
* 0
|
|
4824
|
+
*/
|
|
4825
|
+
begin?: number;
|
|
4826
|
+
/**
|
|
4827
|
+
* @example
|
|
4828
|
+
* 2024-05-23 14:57:50
|
|
4829
|
+
*/
|
|
4830
|
+
beginTime?: string;
|
|
4831
|
+
/**
|
|
4832
|
+
* @remarks
|
|
4833
|
+
* This parameter is required.
|
|
4834
|
+
*/
|
|
4835
|
+
content?: string;
|
|
4836
|
+
/**
|
|
4837
|
+
* @example
|
|
4838
|
+
* 2348234
|
|
4839
|
+
*/
|
|
4840
|
+
customerId?: string;
|
|
4841
|
+
/**
|
|
4842
|
+
* @example
|
|
4843
|
+
* 23874627346
|
|
4844
|
+
*/
|
|
4845
|
+
customerServiceId?: string;
|
|
4846
|
+
/**
|
|
4847
|
+
* @example
|
|
4848
|
+
* 0
|
|
4849
|
+
*/
|
|
4850
|
+
customerServiceType?: string;
|
|
4851
|
+
/**
|
|
4852
|
+
* @example
|
|
4853
|
+
* 0
|
|
4854
|
+
*/
|
|
4855
|
+
end?: number;
|
|
4856
|
+
/**
|
|
4857
|
+
* @remarks
|
|
4858
|
+
* This parameter is required.
|
|
4859
|
+
*
|
|
4860
|
+
* @example
|
|
4861
|
+
* 1
|
|
4862
|
+
*/
|
|
4863
|
+
role?: string;
|
|
4864
|
+
/**
|
|
4865
|
+
* @remarks
|
|
4866
|
+
* This parameter is required.
|
|
4867
|
+
*
|
|
4868
|
+
* @example
|
|
4869
|
+
* TEXT
|
|
4870
|
+
*/
|
|
4871
|
+
type?: string;
|
|
4872
|
+
static names(): { [key: string]: string } {
|
|
4873
|
+
return {
|
|
4874
|
+
begin: 'begin',
|
|
4875
|
+
beginTime: 'beginTime',
|
|
4876
|
+
content: 'content',
|
|
4877
|
+
customerId: 'customerId',
|
|
4878
|
+
customerServiceId: 'customerServiceId',
|
|
4879
|
+
customerServiceType: 'customerServiceType',
|
|
4880
|
+
end: 'end',
|
|
4881
|
+
role: 'role',
|
|
4882
|
+
type: 'type',
|
|
4883
|
+
};
|
|
4884
|
+
}
|
|
4885
|
+
|
|
4886
|
+
static types(): { [key: string]: any } {
|
|
4887
|
+
return {
|
|
4888
|
+
begin: 'number',
|
|
4889
|
+
beginTime: 'string',
|
|
4890
|
+
content: 'string',
|
|
4891
|
+
customerId: 'string',
|
|
4892
|
+
customerServiceId: 'string',
|
|
4893
|
+
customerServiceType: 'string',
|
|
4894
|
+
end: 'number',
|
|
4895
|
+
role: 'string',
|
|
4896
|
+
type: 'string',
|
|
4897
|
+
};
|
|
4898
|
+
}
|
|
4899
|
+
|
|
4900
|
+
constructor(map?: { [key: string]: any }) {
|
|
4901
|
+
super(map);
|
|
4902
|
+
}
|
|
4903
|
+
}
|
|
4904
|
+
|
|
4905
|
+
export class CreateQualityCheckTaskRequestConversationList extends $tea.Model {
|
|
4906
|
+
/**
|
|
4907
|
+
* @example
|
|
4908
|
+
* 1
|
|
4909
|
+
*/
|
|
4910
|
+
callType?: string;
|
|
4911
|
+
/**
|
|
4912
|
+
* @example
|
|
4913
|
+
* 1
|
|
4914
|
+
*/
|
|
4915
|
+
customerId?: string;
|
|
4916
|
+
customerName?: string;
|
|
4917
|
+
/**
|
|
4918
|
+
* @example
|
|
4919
|
+
* xxx
|
|
4920
|
+
*/
|
|
4921
|
+
customerServiceId?: string;
|
|
4922
|
+
customerServiceName?: string;
|
|
4923
|
+
/**
|
|
4924
|
+
* @remarks
|
|
4925
|
+
* This parameter is required.
|
|
4926
|
+
*/
|
|
4927
|
+
dialogueList?: CreateQualityCheckTaskRequestConversationListDialogueList[];
|
|
4928
|
+
/**
|
|
4929
|
+
* @example
|
|
4930
|
+
* 2024-09-27 11:23:20
|
|
4931
|
+
*/
|
|
4932
|
+
gmtService?: string;
|
|
4933
|
+
static names(): { [key: string]: string } {
|
|
4934
|
+
return {
|
|
4935
|
+
callType: 'callType',
|
|
4936
|
+
customerId: 'customerId',
|
|
4937
|
+
customerName: 'customerName',
|
|
4938
|
+
customerServiceId: 'customerServiceId',
|
|
4939
|
+
customerServiceName: 'customerServiceName',
|
|
4940
|
+
dialogueList: 'dialogueList',
|
|
4941
|
+
gmtService: 'gmtService',
|
|
4942
|
+
};
|
|
4943
|
+
}
|
|
4944
|
+
|
|
4945
|
+
static types(): { [key: string]: any } {
|
|
4946
|
+
return {
|
|
4947
|
+
callType: 'string',
|
|
4948
|
+
customerId: 'string',
|
|
4949
|
+
customerName: 'string',
|
|
4950
|
+
customerServiceId: 'string',
|
|
4951
|
+
customerServiceName: 'string',
|
|
4952
|
+
dialogueList: { 'type': 'array', 'itemType': CreateQualityCheckTaskRequestConversationListDialogueList },
|
|
4953
|
+
gmtService: 'string',
|
|
4954
|
+
};
|
|
4955
|
+
}
|
|
4956
|
+
|
|
4957
|
+
constructor(map?: { [key: string]: any }) {
|
|
4958
|
+
super(map);
|
|
4959
|
+
}
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4962
|
+
export class CreateQualityCheckTaskResponseBodyData extends $tea.Model {
|
|
4963
|
+
/**
|
|
4964
|
+
* @remarks
|
|
4965
|
+
* taskId
|
|
4966
|
+
*
|
|
4967
|
+
* @example
|
|
4968
|
+
* 172373500521
|
|
4969
|
+
*/
|
|
4970
|
+
taskId?: string;
|
|
4971
|
+
static names(): { [key: string]: string } {
|
|
4972
|
+
return {
|
|
4973
|
+
taskId: 'taskId',
|
|
4974
|
+
};
|
|
4975
|
+
}
|
|
4976
|
+
|
|
4977
|
+
static types(): { [key: string]: any } {
|
|
4978
|
+
return {
|
|
4979
|
+
taskId: 'string',
|
|
4351
4980
|
};
|
|
4352
4981
|
}
|
|
4353
4982
|
|
|
@@ -5760,25 +6389,312 @@ export class GetLibraryListResponseBodyDataRecordsIndexSetting extends $tea.Mode
|
|
|
5760
6389
|
vectorIndexSetting?: GetLibraryListResponseBodyDataRecordsIndexSettingVectorIndexSetting;
|
|
5761
6390
|
static names(): { [key: string]: string } {
|
|
5762
6391
|
return {
|
|
5763
|
-
chunkStrategy: 'chunkStrategy',
|
|
5764
|
-
modelConfig: 'modelConfig',
|
|
5765
|
-
promptRoleStyle: 'promptRoleStyle',
|
|
5766
|
-
queryEnhancer: 'queryEnhancer',
|
|
5767
|
-
recallStrategy: 'recallStrategy',
|
|
5768
|
-
textIndexSetting: 'textIndexSetting',
|
|
5769
|
-
vectorIndexSetting: 'vectorIndexSetting',
|
|
6392
|
+
chunkStrategy: 'chunkStrategy',
|
|
6393
|
+
modelConfig: 'modelConfig',
|
|
6394
|
+
promptRoleStyle: 'promptRoleStyle',
|
|
6395
|
+
queryEnhancer: 'queryEnhancer',
|
|
6396
|
+
recallStrategy: 'recallStrategy',
|
|
6397
|
+
textIndexSetting: 'textIndexSetting',
|
|
6398
|
+
vectorIndexSetting: 'vectorIndexSetting',
|
|
6399
|
+
};
|
|
6400
|
+
}
|
|
6401
|
+
|
|
6402
|
+
static types(): { [key: string]: any } {
|
|
6403
|
+
return {
|
|
6404
|
+
chunkStrategy: GetLibraryListResponseBodyDataRecordsIndexSettingChunkStrategy,
|
|
6405
|
+
modelConfig: GetLibraryListResponseBodyDataRecordsIndexSettingModelConfig,
|
|
6406
|
+
promptRoleStyle: 'string',
|
|
6407
|
+
queryEnhancer: GetLibraryListResponseBodyDataRecordsIndexSettingQueryEnhancer,
|
|
6408
|
+
recallStrategy: GetLibraryListResponseBodyDataRecordsIndexSettingRecallStrategy,
|
|
6409
|
+
textIndexSetting: GetLibraryListResponseBodyDataRecordsIndexSettingTextIndexSetting,
|
|
6410
|
+
vectorIndexSetting: GetLibraryListResponseBodyDataRecordsIndexSettingVectorIndexSetting,
|
|
6411
|
+
};
|
|
6412
|
+
}
|
|
6413
|
+
|
|
6414
|
+
constructor(map?: { [key: string]: any }) {
|
|
6415
|
+
super(map);
|
|
6416
|
+
}
|
|
6417
|
+
}
|
|
6418
|
+
|
|
6419
|
+
export class GetLibraryListResponseBodyDataRecords extends $tea.Model {
|
|
6420
|
+
description?: string;
|
|
6421
|
+
/**
|
|
6422
|
+
* @example
|
|
6423
|
+
* 10
|
|
6424
|
+
*/
|
|
6425
|
+
documentCount?: number;
|
|
6426
|
+
/**
|
|
6427
|
+
* @example
|
|
6428
|
+
* 2024-01-01 00:00:00
|
|
6429
|
+
*/
|
|
6430
|
+
gmtCreate?: string;
|
|
6431
|
+
/**
|
|
6432
|
+
* @example
|
|
6433
|
+
* 2024-01-01 00:00:00
|
|
6434
|
+
*/
|
|
6435
|
+
gmtModified?: string;
|
|
6436
|
+
/**
|
|
6437
|
+
* @example
|
|
6438
|
+
* 24vs4aa42jv1rg7
|
|
6439
|
+
*/
|
|
6440
|
+
id?: string;
|
|
6441
|
+
indexSetting?: GetLibraryListResponseBodyDataRecordsIndexSetting;
|
|
6442
|
+
libraryName?: string;
|
|
6443
|
+
static names(): { [key: string]: string } {
|
|
6444
|
+
return {
|
|
6445
|
+
description: 'description',
|
|
6446
|
+
documentCount: 'documentCount',
|
|
6447
|
+
gmtCreate: 'gmtCreate',
|
|
6448
|
+
gmtModified: 'gmtModified',
|
|
6449
|
+
id: 'id',
|
|
6450
|
+
indexSetting: 'indexSetting',
|
|
6451
|
+
libraryName: 'libraryName',
|
|
6452
|
+
};
|
|
6453
|
+
}
|
|
6454
|
+
|
|
6455
|
+
static types(): { [key: string]: any } {
|
|
6456
|
+
return {
|
|
6457
|
+
description: 'string',
|
|
6458
|
+
documentCount: 'number',
|
|
6459
|
+
gmtCreate: 'string',
|
|
6460
|
+
gmtModified: 'string',
|
|
6461
|
+
id: 'string',
|
|
6462
|
+
indexSetting: GetLibraryListResponseBodyDataRecordsIndexSetting,
|
|
6463
|
+
libraryName: 'string',
|
|
6464
|
+
};
|
|
6465
|
+
}
|
|
6466
|
+
|
|
6467
|
+
constructor(map?: { [key: string]: any }) {
|
|
6468
|
+
super(map);
|
|
6469
|
+
}
|
|
6470
|
+
}
|
|
6471
|
+
|
|
6472
|
+
export class GetLibraryListResponseBodyData extends $tea.Model {
|
|
6473
|
+
/**
|
|
6474
|
+
* @example
|
|
6475
|
+
* 1
|
|
6476
|
+
*/
|
|
6477
|
+
currentPage?: number;
|
|
6478
|
+
/**
|
|
6479
|
+
* @example
|
|
6480
|
+
* 10
|
|
6481
|
+
*/
|
|
6482
|
+
pageSize?: number;
|
|
6483
|
+
records?: GetLibraryListResponseBodyDataRecords[];
|
|
6484
|
+
/**
|
|
6485
|
+
* @example
|
|
6486
|
+
* 10
|
|
6487
|
+
*/
|
|
6488
|
+
totalPages?: number;
|
|
6489
|
+
/**
|
|
6490
|
+
* @example
|
|
6491
|
+
* 100
|
|
6492
|
+
*/
|
|
6493
|
+
totalRecords?: number;
|
|
6494
|
+
static names(): { [key: string]: string } {
|
|
6495
|
+
return {
|
|
6496
|
+
currentPage: 'currentPage',
|
|
6497
|
+
pageSize: 'pageSize',
|
|
6498
|
+
records: 'records',
|
|
6499
|
+
totalPages: 'totalPages',
|
|
6500
|
+
totalRecords: 'totalRecords',
|
|
6501
|
+
};
|
|
6502
|
+
}
|
|
6503
|
+
|
|
6504
|
+
static types(): { [key: string]: any } {
|
|
6505
|
+
return {
|
|
6506
|
+
currentPage: 'number',
|
|
6507
|
+
pageSize: 'number',
|
|
6508
|
+
records: { 'type': 'array', 'itemType': GetLibraryListResponseBodyDataRecords },
|
|
6509
|
+
totalPages: 'number',
|
|
6510
|
+
totalRecords: 'number',
|
|
6511
|
+
};
|
|
6512
|
+
}
|
|
6513
|
+
|
|
6514
|
+
constructor(map?: { [key: string]: any }) {
|
|
6515
|
+
super(map);
|
|
6516
|
+
}
|
|
6517
|
+
}
|
|
6518
|
+
|
|
6519
|
+
export class GetParseResultResponseBodyData extends $tea.Model {
|
|
6520
|
+
/**
|
|
6521
|
+
* @example
|
|
6522
|
+
* pdf
|
|
6523
|
+
*/
|
|
6524
|
+
fileType?: string;
|
|
6525
|
+
/**
|
|
6526
|
+
* @example
|
|
6527
|
+
* null
|
|
6528
|
+
*/
|
|
6529
|
+
providerType?: string;
|
|
6530
|
+
/**
|
|
6531
|
+
* @example
|
|
6532
|
+
* b0a202e2-5031-4589-a6d7-39185f0d8d01
|
|
6533
|
+
*/
|
|
6534
|
+
requestId?: string;
|
|
6535
|
+
/**
|
|
6536
|
+
* @example
|
|
6537
|
+
* {
|
|
6538
|
+
* "Status": "Success",
|
|
6539
|
+
* "Data": {},
|
|
6540
|
+
* "Message": null,
|
|
6541
|
+
* "TaskId": "docmind-20240601-123abc"
|
|
6542
|
+
* }
|
|
6543
|
+
*/
|
|
6544
|
+
result?: { [key: string]: any };
|
|
6545
|
+
/**
|
|
6546
|
+
* @example
|
|
6547
|
+
* WaitRefresh
|
|
6548
|
+
*/
|
|
6549
|
+
status?: string;
|
|
6550
|
+
static names(): { [key: string]: string } {
|
|
6551
|
+
return {
|
|
6552
|
+
fileType: 'fileType',
|
|
6553
|
+
providerType: 'providerType',
|
|
6554
|
+
requestId: 'requestId',
|
|
6555
|
+
result: 'result',
|
|
6556
|
+
status: 'status',
|
|
6557
|
+
};
|
|
6558
|
+
}
|
|
6559
|
+
|
|
6560
|
+
static types(): { [key: string]: any } {
|
|
6561
|
+
return {
|
|
6562
|
+
fileType: 'string',
|
|
6563
|
+
providerType: 'string',
|
|
6564
|
+
requestId: 'string',
|
|
6565
|
+
result: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
6566
|
+
status: 'string',
|
|
6567
|
+
};
|
|
6568
|
+
}
|
|
6569
|
+
|
|
6570
|
+
constructor(map?: { [key: string]: any }) {
|
|
6571
|
+
super(map);
|
|
6572
|
+
}
|
|
6573
|
+
}
|
|
6574
|
+
|
|
6575
|
+
export class GetQualityCheckTaskResultResponseBodyDataConversationListDialogueList extends $tea.Model {
|
|
6576
|
+
/**
|
|
6577
|
+
* @example
|
|
6578
|
+
* 0
|
|
6579
|
+
*/
|
|
6580
|
+
begin?: number;
|
|
6581
|
+
/**
|
|
6582
|
+
* @example
|
|
6583
|
+
* 2024-09-27 11:23:20
|
|
6584
|
+
*/
|
|
6585
|
+
beginTime?: string;
|
|
6586
|
+
content?: string;
|
|
6587
|
+
/**
|
|
6588
|
+
* @example
|
|
6589
|
+
* null
|
|
6590
|
+
*/
|
|
6591
|
+
customerId?: string;
|
|
6592
|
+
customerServiceId?: string;
|
|
6593
|
+
/**
|
|
6594
|
+
* @example
|
|
6595
|
+
* 0
|
|
6596
|
+
*/
|
|
6597
|
+
customerServiceType?: string;
|
|
6598
|
+
/**
|
|
6599
|
+
* @example
|
|
6600
|
+
* 0
|
|
6601
|
+
*/
|
|
6602
|
+
end?: number;
|
|
6603
|
+
/**
|
|
6604
|
+
* @example
|
|
6605
|
+
* 1
|
|
6606
|
+
*/
|
|
6607
|
+
id?: number;
|
|
6608
|
+
/**
|
|
6609
|
+
* @example
|
|
6610
|
+
* 0
|
|
6611
|
+
*/
|
|
6612
|
+
role?: string;
|
|
6613
|
+
/**
|
|
6614
|
+
* @example
|
|
6615
|
+
* TEXT
|
|
6616
|
+
*/
|
|
6617
|
+
type?: string;
|
|
6618
|
+
static names(): { [key: string]: string } {
|
|
6619
|
+
return {
|
|
6620
|
+
begin: 'begin',
|
|
6621
|
+
beginTime: 'beginTime',
|
|
6622
|
+
content: 'content',
|
|
6623
|
+
customerId: 'customerId',
|
|
6624
|
+
customerServiceId: 'customerServiceId',
|
|
6625
|
+
customerServiceType: 'customerServiceType',
|
|
6626
|
+
end: 'end',
|
|
6627
|
+
id: 'id',
|
|
6628
|
+
role: 'role',
|
|
6629
|
+
type: 'type',
|
|
6630
|
+
};
|
|
6631
|
+
}
|
|
6632
|
+
|
|
6633
|
+
static types(): { [key: string]: any } {
|
|
6634
|
+
return {
|
|
6635
|
+
begin: 'number',
|
|
6636
|
+
beginTime: 'string',
|
|
6637
|
+
content: 'string',
|
|
6638
|
+
customerId: 'string',
|
|
6639
|
+
customerServiceId: 'string',
|
|
6640
|
+
customerServiceType: 'string',
|
|
6641
|
+
end: 'number',
|
|
6642
|
+
id: 'number',
|
|
6643
|
+
role: 'string',
|
|
6644
|
+
type: 'string',
|
|
6645
|
+
};
|
|
6646
|
+
}
|
|
6647
|
+
|
|
6648
|
+
constructor(map?: { [key: string]: any }) {
|
|
6649
|
+
super(map);
|
|
6650
|
+
}
|
|
6651
|
+
}
|
|
6652
|
+
|
|
6653
|
+
export class GetQualityCheckTaskResultResponseBodyDataConversationList extends $tea.Model {
|
|
6654
|
+
/**
|
|
6655
|
+
* @example
|
|
6656
|
+
* 1
|
|
6657
|
+
*/
|
|
6658
|
+
callType?: string;
|
|
6659
|
+
/**
|
|
6660
|
+
* @example
|
|
6661
|
+
* 234234
|
|
6662
|
+
*/
|
|
6663
|
+
customerId?: string;
|
|
6664
|
+
customerName?: string;
|
|
6665
|
+
/**
|
|
6666
|
+
* @example
|
|
6667
|
+
* 23984763826
|
|
6668
|
+
*/
|
|
6669
|
+
customerServiceId?: string;
|
|
6670
|
+
customerServiceName?: string;
|
|
6671
|
+
dialogueList?: GetQualityCheckTaskResultResponseBodyDataConversationListDialogueList[];
|
|
6672
|
+
/**
|
|
6673
|
+
* @example
|
|
6674
|
+
* 2024-09-27 11:23:20
|
|
6675
|
+
*/
|
|
6676
|
+
gmtService?: string;
|
|
6677
|
+
static names(): { [key: string]: string } {
|
|
6678
|
+
return {
|
|
6679
|
+
callType: 'callType',
|
|
6680
|
+
customerId: 'customerId',
|
|
6681
|
+
customerName: 'customerName',
|
|
6682
|
+
customerServiceId: 'customerServiceId',
|
|
6683
|
+
customerServiceName: 'customerServiceName',
|
|
6684
|
+
dialogueList: 'dialogueList',
|
|
6685
|
+
gmtService: 'gmtService',
|
|
5770
6686
|
};
|
|
5771
6687
|
}
|
|
5772
6688
|
|
|
5773
6689
|
static types(): { [key: string]: any } {
|
|
5774
6690
|
return {
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
6691
|
+
callType: 'string',
|
|
6692
|
+
customerId: 'string',
|
|
6693
|
+
customerName: 'string',
|
|
6694
|
+
customerServiceId: 'string',
|
|
6695
|
+
customerServiceName: 'string',
|
|
6696
|
+
dialogueList: { 'type': 'array', 'itemType': GetQualityCheckTaskResultResponseBodyDataConversationListDialogueList },
|
|
6697
|
+
gmtService: 'string',
|
|
5782
6698
|
};
|
|
5783
6699
|
}
|
|
5784
6700
|
|
|
@@ -5787,51 +6703,80 @@ export class GetLibraryListResponseBodyDataRecordsIndexSetting extends $tea.Mode
|
|
|
5787
6703
|
}
|
|
5788
6704
|
}
|
|
5789
6705
|
|
|
5790
|
-
export class
|
|
5791
|
-
description?: string;
|
|
6706
|
+
export class GetQualityCheckTaskResultResponseBodyDataQualityCheckListOriginDialogue extends $tea.Model {
|
|
5792
6707
|
/**
|
|
5793
6708
|
* @example
|
|
5794
|
-
*
|
|
6709
|
+
* 0
|
|
5795
6710
|
*/
|
|
5796
|
-
|
|
6711
|
+
begin?: number;
|
|
5797
6712
|
/**
|
|
5798
6713
|
* @example
|
|
5799
|
-
* 2024-
|
|
6714
|
+
* 2024-05-23 14:57:50
|
|
5800
6715
|
*/
|
|
5801
|
-
|
|
6716
|
+
beginTime?: string;
|
|
6717
|
+
content?: string;
|
|
5802
6718
|
/**
|
|
5803
6719
|
* @example
|
|
5804
|
-
*
|
|
6720
|
+
* xxx
|
|
5805
6721
|
*/
|
|
5806
|
-
|
|
6722
|
+
customerId?: string;
|
|
5807
6723
|
/**
|
|
5808
6724
|
* @example
|
|
5809
|
-
*
|
|
6725
|
+
* 23876432
|
|
5810
6726
|
*/
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
6727
|
+
customerServiceId?: string;
|
|
6728
|
+
/**
|
|
6729
|
+
* @example
|
|
6730
|
+
* 0
|
|
6731
|
+
*/
|
|
6732
|
+
customerServiceType?: string;
|
|
6733
|
+
/**
|
|
6734
|
+
* @example
|
|
6735
|
+
* 0
|
|
6736
|
+
*/
|
|
6737
|
+
end?: number;
|
|
6738
|
+
/**
|
|
6739
|
+
* @example
|
|
6740
|
+
* 1
|
|
6741
|
+
*/
|
|
6742
|
+
id?: number;
|
|
6743
|
+
/**
|
|
6744
|
+
* @example
|
|
6745
|
+
* 0
|
|
6746
|
+
*/
|
|
6747
|
+
role?: string;
|
|
6748
|
+
/**
|
|
6749
|
+
* @example
|
|
6750
|
+
* TEXT
|
|
6751
|
+
*/
|
|
6752
|
+
type?: string;
|
|
5814
6753
|
static names(): { [key: string]: string } {
|
|
5815
6754
|
return {
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
6755
|
+
begin: 'begin',
|
|
6756
|
+
beginTime: 'beginTime',
|
|
6757
|
+
content: 'content',
|
|
6758
|
+
customerId: 'customerId',
|
|
6759
|
+
customerServiceId: 'customerServiceId',
|
|
6760
|
+
customerServiceType: 'customerServiceType',
|
|
6761
|
+
end: 'end',
|
|
5820
6762
|
id: 'id',
|
|
5821
|
-
|
|
5822
|
-
|
|
6763
|
+
role: 'role',
|
|
6764
|
+
type: 'type',
|
|
5823
6765
|
};
|
|
5824
6766
|
}
|
|
5825
6767
|
|
|
5826
6768
|
static types(): { [key: string]: any } {
|
|
5827
6769
|
return {
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
6770
|
+
begin: 'number',
|
|
6771
|
+
beginTime: 'string',
|
|
6772
|
+
content: 'string',
|
|
6773
|
+
customerId: 'string',
|
|
6774
|
+
customerServiceId: 'string',
|
|
6775
|
+
customerServiceType: 'string',
|
|
6776
|
+
end: 'number',
|
|
6777
|
+
id: 'number',
|
|
6778
|
+
role: 'string',
|
|
6779
|
+
type: 'string',
|
|
5835
6780
|
};
|
|
5836
6781
|
}
|
|
5837
6782
|
|
|
@@ -5840,45 +6785,75 @@ export class GetLibraryListResponseBodyDataRecords extends $tea.Model {
|
|
|
5840
6785
|
}
|
|
5841
6786
|
}
|
|
5842
6787
|
|
|
5843
|
-
export class
|
|
6788
|
+
export class GetQualityCheckTaskResultResponseBodyDataQualityCheckList extends $tea.Model {
|
|
6789
|
+
checkExplanation?: string;
|
|
5844
6790
|
/**
|
|
5845
6791
|
* @example
|
|
5846
|
-
*
|
|
6792
|
+
* PASSED
|
|
5847
6793
|
*/
|
|
5848
|
-
|
|
6794
|
+
checkPassed?: string;
|
|
6795
|
+
checkProcess?: string;
|
|
5849
6796
|
/**
|
|
5850
6797
|
* @example
|
|
5851
|
-
*
|
|
6798
|
+
* HIT
|
|
5852
6799
|
*/
|
|
5853
|
-
|
|
5854
|
-
records?: GetLibraryListResponseBodyDataRecords[];
|
|
6800
|
+
checked?: string;
|
|
5855
6801
|
/**
|
|
5856
6802
|
* @example
|
|
5857
|
-
*
|
|
6803
|
+
* 2024-05-23 14:57:50
|
|
5858
6804
|
*/
|
|
5859
|
-
|
|
6805
|
+
gmtEnd?: string;
|
|
5860
6806
|
/**
|
|
5861
6807
|
* @example
|
|
5862
|
-
*
|
|
6808
|
+
* 2024-05-23 14:57:50
|
|
5863
6809
|
*/
|
|
5864
|
-
|
|
6810
|
+
gmtStart?: string;
|
|
6811
|
+
/**
|
|
6812
|
+
* @example
|
|
6813
|
+
* 0
|
|
6814
|
+
*/
|
|
6815
|
+
mode?: string;
|
|
6816
|
+
originDialogue?: GetQualityCheckTaskResultResponseBodyDataQualityCheckListOriginDialogue[];
|
|
6817
|
+
/**
|
|
6818
|
+
* @example
|
|
6819
|
+
* warning_customers
|
|
6820
|
+
*/
|
|
6821
|
+
qualityGroupId?: string;
|
|
6822
|
+
ruleDescription?: string;
|
|
6823
|
+
/**
|
|
6824
|
+
* @example
|
|
6825
|
+
* wcm_start
|
|
6826
|
+
*/
|
|
6827
|
+
ruleId?: string;
|
|
5865
6828
|
static names(): { [key: string]: string } {
|
|
5866
6829
|
return {
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
6830
|
+
checkExplanation: 'checkExplanation',
|
|
6831
|
+
checkPassed: 'checkPassed',
|
|
6832
|
+
checkProcess: 'checkProcess',
|
|
6833
|
+
checked: 'checked',
|
|
6834
|
+
gmtEnd: 'gmtEnd',
|
|
6835
|
+
gmtStart: 'gmtStart',
|
|
6836
|
+
mode: 'mode',
|
|
6837
|
+
originDialogue: 'originDialogue',
|
|
6838
|
+
qualityGroupId: 'qualityGroupId',
|
|
6839
|
+
ruleDescription: 'ruleDescription',
|
|
6840
|
+
ruleId: 'ruleId',
|
|
5872
6841
|
};
|
|
5873
6842
|
}
|
|
5874
6843
|
|
|
5875
6844
|
static types(): { [key: string]: any } {
|
|
5876
6845
|
return {
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
6846
|
+
checkExplanation: 'string',
|
|
6847
|
+
checkPassed: 'string',
|
|
6848
|
+
checkProcess: 'string',
|
|
6849
|
+
checked: 'string',
|
|
6850
|
+
gmtEnd: 'string',
|
|
6851
|
+
gmtStart: 'string',
|
|
6852
|
+
mode: 'string',
|
|
6853
|
+
originDialogue: { 'type': 'array', 'itemType': GetQualityCheckTaskResultResponseBodyDataQualityCheckListOriginDialogue },
|
|
6854
|
+
qualityGroupId: 'string',
|
|
6855
|
+
ruleDescription: 'string',
|
|
6856
|
+
ruleId: 'string',
|
|
5882
6857
|
};
|
|
5883
6858
|
}
|
|
5884
6859
|
|
|
@@ -5887,54 +6862,55 @@ export class GetLibraryListResponseBodyData extends $tea.Model {
|
|
|
5887
6862
|
}
|
|
5888
6863
|
}
|
|
5889
6864
|
|
|
5890
|
-
export class
|
|
6865
|
+
export class GetQualityCheckTaskResultResponseBodyData extends $tea.Model {
|
|
6866
|
+
conversationList?: GetQualityCheckTaskResultResponseBodyDataConversationList;
|
|
5891
6867
|
/**
|
|
5892
6868
|
* @example
|
|
5893
|
-
*
|
|
6869
|
+
* 2024-09-27 11:23:20
|
|
5894
6870
|
*/
|
|
5895
|
-
|
|
6871
|
+
gmtCreate?: string;
|
|
5896
6872
|
/**
|
|
5897
6873
|
* @example
|
|
5898
|
-
*
|
|
6874
|
+
* 2024-09-27 11:23:20
|
|
5899
6875
|
*/
|
|
5900
|
-
|
|
6876
|
+
gmtEnd?: string;
|
|
5901
6877
|
/**
|
|
5902
6878
|
* @example
|
|
5903
|
-
*
|
|
6879
|
+
* 2024-09-27 11:23:20
|
|
5904
6880
|
*/
|
|
5905
|
-
|
|
6881
|
+
gmtStart?: string;
|
|
6882
|
+
qualityCheckList?: GetQualityCheckTaskResultResponseBodyDataQualityCheckList[];
|
|
5906
6883
|
/**
|
|
5907
6884
|
* @example
|
|
5908
|
-
*
|
|
5909
|
-
* "Status": "Success",
|
|
5910
|
-
* "Data": {},
|
|
5911
|
-
* "Message": null,
|
|
5912
|
-
* "TaskId": "docmind-20240601-123abc"
|
|
5913
|
-
* }
|
|
6885
|
+
* INIT
|
|
5914
6886
|
*/
|
|
5915
|
-
|
|
6887
|
+
status?: string;
|
|
5916
6888
|
/**
|
|
5917
6889
|
* @example
|
|
5918
|
-
*
|
|
6890
|
+
* 1703557101831
|
|
5919
6891
|
*/
|
|
5920
|
-
|
|
6892
|
+
taskId?: string;
|
|
5921
6893
|
static names(): { [key: string]: string } {
|
|
5922
6894
|
return {
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
6895
|
+
conversationList: 'conversationList',
|
|
6896
|
+
gmtCreate: 'gmtCreate',
|
|
6897
|
+
gmtEnd: 'gmtEnd',
|
|
6898
|
+
gmtStart: 'gmtStart',
|
|
6899
|
+
qualityCheckList: 'qualityCheckList',
|
|
5927
6900
|
status: 'status',
|
|
6901
|
+
taskId: 'taskId',
|
|
5928
6902
|
};
|
|
5929
6903
|
}
|
|
5930
6904
|
|
|
5931
6905
|
static types(): { [key: string]: any } {
|
|
5932
6906
|
return {
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
6907
|
+
conversationList: GetQualityCheckTaskResultResponseBodyDataConversationList,
|
|
6908
|
+
gmtCreate: 'string',
|
|
6909
|
+
gmtEnd: 'string',
|
|
6910
|
+
gmtStart: 'string',
|
|
6911
|
+
qualityCheckList: { 'type': 'array', 'itemType': GetQualityCheckTaskResultResponseBodyDataQualityCheckList },
|
|
5937
6912
|
status: 'string',
|
|
6913
|
+
taskId: 'string',
|
|
5938
6914
|
};
|
|
5939
6915
|
}
|
|
5940
6916
|
|
|
@@ -7828,6 +8804,63 @@ export default class Client extends OpenApi {
|
|
|
7828
8804
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
7829
8805
|
}
|
|
7830
8806
|
|
|
8807
|
+
/**
|
|
8808
|
+
* 创建财报总结任务
|
|
8809
|
+
*
|
|
8810
|
+
* @param request - CreateDocsSummaryTaskRequest
|
|
8811
|
+
* @param headers - map
|
|
8812
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8813
|
+
* @returns CreateDocsSummaryTaskResponse
|
|
8814
|
+
*/
|
|
8815
|
+
async createDocsSummaryTaskWithOptions(workspaceId: string, request: CreateDocsSummaryTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateDocsSummaryTaskResponse> {
|
|
8816
|
+
Util.validateModel(request);
|
|
8817
|
+
let body : {[key: string ]: any} = { };
|
|
8818
|
+
if (!Util.isUnset(request.docInfos)) {
|
|
8819
|
+
body["docInfos"] = request.docInfos;
|
|
8820
|
+
}
|
|
8821
|
+
|
|
8822
|
+
if (!Util.isUnset(request.enableTable)) {
|
|
8823
|
+
body["enableTable"] = request.enableTable;
|
|
8824
|
+
}
|
|
8825
|
+
|
|
8826
|
+
if (!Util.isUnset(request.instruction)) {
|
|
8827
|
+
body["instruction"] = request.instruction;
|
|
8828
|
+
}
|
|
8829
|
+
|
|
8830
|
+
if (!Util.isUnset(request.modelId)) {
|
|
8831
|
+
body["modelId"] = request.modelId;
|
|
8832
|
+
}
|
|
8833
|
+
|
|
8834
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8835
|
+
headers: headers,
|
|
8836
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8837
|
+
});
|
|
8838
|
+
let params = new $OpenApi.Params({
|
|
8839
|
+
action: "CreateDocsSummaryTask",
|
|
8840
|
+
version: "2024-06-28",
|
|
8841
|
+
protocol: "HTTPS",
|
|
8842
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/summary/docs`,
|
|
8843
|
+
method: "POST",
|
|
8844
|
+
authType: "AK",
|
|
8845
|
+
style: "ROA",
|
|
8846
|
+
reqBodyType: "json",
|
|
8847
|
+
bodyType: "json",
|
|
8848
|
+
});
|
|
8849
|
+
return $tea.cast<CreateDocsSummaryTaskResponse>(await this.callApi(params, req, runtime), new CreateDocsSummaryTaskResponse({}));
|
|
8850
|
+
}
|
|
8851
|
+
|
|
8852
|
+
/**
|
|
8853
|
+
* 创建财报总结任务
|
|
8854
|
+
*
|
|
8855
|
+
* @param request - CreateDocsSummaryTaskRequest
|
|
8856
|
+
* @returns CreateDocsSummaryTaskResponse
|
|
8857
|
+
*/
|
|
8858
|
+
async createDocsSummaryTask(workspaceId: string, request: CreateDocsSummaryTaskRequest): Promise<CreateDocsSummaryTaskResponse> {
|
|
8859
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8860
|
+
let headers : {[key: string ]: string} = { };
|
|
8861
|
+
return await this.createDocsSummaryTaskWithOptions(workspaceId, request, headers, runtime);
|
|
8862
|
+
}
|
|
8863
|
+
|
|
7831
8864
|
/**
|
|
7832
8865
|
* 创建财报总结任务
|
|
7833
8866
|
*
|
|
@@ -8072,6 +9105,71 @@ export default class Client extends OpenApi {
|
|
|
8072
9105
|
return await this.createPredefinedDocumentWithOptions(workspaceId, request, headers, runtime);
|
|
8073
9106
|
}
|
|
8074
9107
|
|
|
9108
|
+
/**
|
|
9109
|
+
* 创建财报总结的任务
|
|
9110
|
+
*
|
|
9111
|
+
* @param request - CreateQualityCheckTaskRequest
|
|
9112
|
+
* @param headers - map
|
|
9113
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9114
|
+
* @returns CreateQualityCheckTaskResponse
|
|
9115
|
+
*/
|
|
9116
|
+
async createQualityCheckTaskWithOptions(workspaceId: string, request: CreateQualityCheckTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateQualityCheckTaskResponse> {
|
|
9117
|
+
Util.validateModel(request);
|
|
9118
|
+
let body : {[key: string ]: any} = { };
|
|
9119
|
+
if (!Util.isUnset(request.conversationList)) {
|
|
9120
|
+
body["conversationList"] = request.conversationList;
|
|
9121
|
+
}
|
|
9122
|
+
|
|
9123
|
+
if (!Util.isUnset(request.gmtService)) {
|
|
9124
|
+
body["gmtService"] = request.gmtService;
|
|
9125
|
+
}
|
|
9126
|
+
|
|
9127
|
+
if (!Util.isUnset(request.metaData)) {
|
|
9128
|
+
body["metaData"] = request.metaData;
|
|
9129
|
+
}
|
|
9130
|
+
|
|
9131
|
+
if (!Util.isUnset(request.qualityGroup)) {
|
|
9132
|
+
body["qualityGroup"] = request.qualityGroup;
|
|
9133
|
+
}
|
|
9134
|
+
|
|
9135
|
+
if (!Util.isUnset(request.requestId)) {
|
|
9136
|
+
body["requestId"] = request.requestId;
|
|
9137
|
+
}
|
|
9138
|
+
|
|
9139
|
+
if (!Util.isUnset(request.type)) {
|
|
9140
|
+
body["type"] = request.type;
|
|
9141
|
+
}
|
|
9142
|
+
|
|
9143
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9144
|
+
headers: headers,
|
|
9145
|
+
body: OpenApiUtil.parseToMap(body),
|
|
9146
|
+
});
|
|
9147
|
+
let params = new $OpenApi.Params({
|
|
9148
|
+
action: "CreateQualityCheckTask",
|
|
9149
|
+
version: "2024-06-28",
|
|
9150
|
+
protocol: "HTTPS",
|
|
9151
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/qualitycheck/task/submit`,
|
|
9152
|
+
method: "POST",
|
|
9153
|
+
authType: "AK",
|
|
9154
|
+
style: "ROA",
|
|
9155
|
+
reqBodyType: "json",
|
|
9156
|
+
bodyType: "json",
|
|
9157
|
+
});
|
|
9158
|
+
return $tea.cast<CreateQualityCheckTaskResponse>(await this.callApi(params, req, runtime), new CreateQualityCheckTaskResponse({}));
|
|
9159
|
+
}
|
|
9160
|
+
|
|
9161
|
+
/**
|
|
9162
|
+
* 创建财报总结的任务
|
|
9163
|
+
*
|
|
9164
|
+
* @param request - CreateQualityCheckTaskRequest
|
|
9165
|
+
* @returns CreateQualityCheckTaskResponse
|
|
9166
|
+
*/
|
|
9167
|
+
async createQualityCheckTask(workspaceId: string, request: CreateQualityCheckTaskRequest): Promise<CreateQualityCheckTaskResponse> {
|
|
9168
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9169
|
+
let headers : {[key: string ]: string} = { };
|
|
9170
|
+
return await this.createQualityCheckTaskWithOptions(workspaceId, request, headers, runtime);
|
|
9171
|
+
}
|
|
9172
|
+
|
|
8075
9173
|
/**
|
|
8076
9174
|
* 删除文档
|
|
8077
9175
|
*
|
|
@@ -8694,6 +9792,51 @@ export default class Client extends OpenApi {
|
|
|
8694
9792
|
return await this.getParseResultWithOptions(workspaceId, request, headers, runtime);
|
|
8695
9793
|
}
|
|
8696
9794
|
|
|
9795
|
+
/**
|
|
9796
|
+
* 获取异步任务的结果
|
|
9797
|
+
*
|
|
9798
|
+
* @param request - GetQualityCheckTaskResultRequest
|
|
9799
|
+
* @param headers - map
|
|
9800
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9801
|
+
* @returns GetQualityCheckTaskResultResponse
|
|
9802
|
+
*/
|
|
9803
|
+
async getQualityCheckTaskResultWithOptions(workspaceId: string, request: GetQualityCheckTaskResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetQualityCheckTaskResultResponse> {
|
|
9804
|
+
Util.validateModel(request);
|
|
9805
|
+
let query : {[key: string ]: any} = { };
|
|
9806
|
+
if (!Util.isUnset(request.taskId)) {
|
|
9807
|
+
query["taskId"] = request.taskId;
|
|
9808
|
+
}
|
|
9809
|
+
|
|
9810
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9811
|
+
headers: headers,
|
|
9812
|
+
query: OpenApiUtil.query(query),
|
|
9813
|
+
});
|
|
9814
|
+
let params = new $OpenApi.Params({
|
|
9815
|
+
action: "GetQualityCheckTaskResult",
|
|
9816
|
+
version: "2024-06-28",
|
|
9817
|
+
protocol: "HTTPS",
|
|
9818
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/qualitycheck/task/query`,
|
|
9819
|
+
method: "GET",
|
|
9820
|
+
authType: "AK",
|
|
9821
|
+
style: "ROA",
|
|
9822
|
+
reqBodyType: "json",
|
|
9823
|
+
bodyType: "json",
|
|
9824
|
+
});
|
|
9825
|
+
return $tea.cast<GetQualityCheckTaskResultResponse>(await this.callApi(params, req, runtime), new GetQualityCheckTaskResultResponse({}));
|
|
9826
|
+
}
|
|
9827
|
+
|
|
9828
|
+
/**
|
|
9829
|
+
* 获取异步任务的结果
|
|
9830
|
+
*
|
|
9831
|
+
* @param request - GetQualityCheckTaskResultRequest
|
|
9832
|
+
* @returns GetQualityCheckTaskResultResponse
|
|
9833
|
+
*/
|
|
9834
|
+
async getQualityCheckTaskResult(workspaceId: string, request: GetQualityCheckTaskResultRequest): Promise<GetQualityCheckTaskResultResponse> {
|
|
9835
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9836
|
+
let headers : {[key: string ]: string} = { };
|
|
9837
|
+
return await this.getQualityCheckTaskResultWithOptions(workspaceId, request, headers, runtime);
|
|
9838
|
+
}
|
|
9839
|
+
|
|
8697
9840
|
/**
|
|
8698
9841
|
* 获取财报总结任务结果
|
|
8699
9842
|
*
|