@alicloud/gpdb20160503 3.7.0 → 3.8.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 +76 -34
- package/dist/client.js +130 -34
- package/dist/client.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseRequest.d.ts +68 -111
- package/dist/models/ChatWithKnowledgeBaseRequest.js +2 -0
- package/dist/models/ChatWithKnowledgeBaseRequest.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseResponseBody.d.ts +45 -52
- package/dist/models/ChatWithKnowledgeBaseResponseBody.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseShrinkRequest.d.ts +5 -6
- package/dist/models/ChatWithKnowledgeBaseShrinkRequest.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseStreamRequest.d.ts +71 -87
- package/dist/models/ChatWithKnowledgeBaseStreamRequest.js +2 -0
- package/dist/models/ChatWithKnowledgeBaseStreamRequest.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseStreamResponseBody.d.ts +44 -50
- package/dist/models/ChatWithKnowledgeBaseStreamResponseBody.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseStreamShrinkRequest.d.ts +6 -6
- package/dist/models/PauseSaasServiceRequest.d.ts +26 -0
- package/dist/models/PauseSaasServiceRequest.js +60 -0
- package/dist/models/PauseSaasServiceRequest.js.map +1 -0
- package/dist/models/PauseSaasServiceResponse.d.ts +19 -0
- package/dist/models/PauseSaasServiceResponse.js +69 -0
- package/dist/models/PauseSaasServiceResponse.js.map +1 -0
- package/dist/models/PauseSaasServiceResponseBody.d.ts +23 -0
- package/dist/models/PauseSaasServiceResponseBody.js +60 -0
- package/dist/models/PauseSaasServiceResponseBody.js.map +1 -0
- package/dist/models/QueryContentAdvanceRequest.d.ts +57 -70
- package/dist/models/QueryContentAdvanceRequest.js +2 -0
- package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
- package/dist/models/QueryContentRequest.d.ts +57 -70
- package/dist/models/QueryContentRequest.js +2 -0
- package/dist/models/QueryContentRequest.js.map +1 -1
- package/dist/models/QueryContentResponseBody.d.ts +10 -11
- package/dist/models/QueryContentResponseBody.js.map +1 -1
- package/dist/models/QueryContentShrinkRequest.d.ts +52 -66
- package/dist/models/QueryContentShrinkRequest.js.map +1 -1
- package/dist/models/QueryKnowledgeBasesContentRequest.d.ts +62 -78
- package/dist/models/QueryKnowledgeBasesContentRequest.js +2 -0
- package/dist/models/QueryKnowledgeBasesContentRequest.js.map +1 -1
- package/dist/models/QueryKnowledgeBasesContentResponseBody.d.ts +11 -25
- package/dist/models/QueryKnowledgeBasesContentResponseBody.js.map +1 -1
- package/dist/models/QueryKnowledgeBasesContentShrinkRequest.d.ts +11 -15
- package/dist/models/QueryKnowledgeBasesContentShrinkRequest.js.map +1 -1
- package/dist/models/ResumeSaasServiceRequest.d.ts +26 -0
- package/dist/models/ResumeSaasServiceRequest.js +60 -0
- package/dist/models/ResumeSaasServiceRequest.js.map +1 -0
- package/dist/models/ResumeSaasServiceResponse.d.ts +19 -0
- package/dist/models/ResumeSaasServiceResponse.js +69 -0
- package/dist/models/ResumeSaasServiceResponse.js.map +1 -0
- package/dist/models/ResumeSaasServiceResponseBody.d.ts +23 -0
- package/dist/models/ResumeSaasServiceResponseBody.js +60 -0
- package/dist/models/ResumeSaasServiceResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +16 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +138 -34
- package/src/models/ChatWithKnowledgeBaseRequest.ts +70 -111
- package/src/models/ChatWithKnowledgeBaseResponseBody.ts +45 -52
- package/src/models/ChatWithKnowledgeBaseShrinkRequest.ts +5 -6
- package/src/models/ChatWithKnowledgeBaseStreamRequest.ts +73 -87
- package/src/models/ChatWithKnowledgeBaseStreamResponseBody.ts +44 -50
- package/src/models/ChatWithKnowledgeBaseStreamShrinkRequest.ts +6 -6
- package/src/models/PauseSaasServiceRequest.ts +41 -0
- package/src/models/PauseSaasServiceResponse.ts +40 -0
- package/src/models/PauseSaasServiceResponseBody.ts +38 -0
- package/src/models/QueryContentAdvanceRequest.ts +60 -71
- package/src/models/QueryContentRequest.ts +60 -71
- package/src/models/QueryContentResponseBody.ts +10 -11
- package/src/models/QueryContentShrinkRequest.ts +53 -67
- package/src/models/QueryKnowledgeBasesContentRequest.ts +64 -78
- package/src/models/QueryKnowledgeBasesContentResponseBody.ts +11 -25
- package/src/models/QueryKnowledgeBasesContentShrinkRequest.ts +11 -15
- package/src/models/ResumeSaasServiceRequest.ts +41 -0
- package/src/models/ResumeSaasServiceResponse.ts +40 -0
- package/src/models/ResumeSaasServiceResponseBody.ts +38 -0
- package/src/models/model.ts +6 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoicesMessageToolCallsFunction extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The arguments
|
|
5
|
+
* The arguments of the called function.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* {"city":"hangzhou"}
|
|
@@ -10,7 +10,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
10
10
|
arguments?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The name of the function
|
|
13
|
+
* The name of the called function.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* "get_weather"
|
|
@@ -30,12 +30,12 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
30
30
|
export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoicesMessageToolCalls extends $dara.Model {
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
*
|
|
33
|
+
* The information about the called function.
|
|
34
34
|
*/
|
|
35
35
|
function?: ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoicesMessageToolCallsFunction;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
*
|
|
38
|
+
* ID。
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* "chatcmpl-c1bebafa-cc48-44e2-88c6-1a3572952f8e"
|
|
@@ -43,7 +43,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
43
43
|
id?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The index of
|
|
46
|
+
* The index of this tool in the Input request parameter, starting from 0.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* 1
|
|
@@ -63,7 +63,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
63
63
|
export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoicesMessage extends $dara.Model {
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The
|
|
66
|
+
* The document content.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* The weather in Hangzhou is sunny.
|
|
@@ -71,7 +71,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
71
71
|
content?: string;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The
|
|
74
|
+
* The chain-of-thought content of the model.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* Logical reasoning process
|
|
@@ -79,13 +79,11 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
79
79
|
reasoningContent?: string;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The
|
|
83
|
-
*
|
|
84
|
-
* - `system`
|
|
82
|
+
* The message role. Valid values:
|
|
85
83
|
*
|
|
86
|
-
* -
|
|
87
|
-
*
|
|
88
|
-
* -
|
|
84
|
+
* - system
|
|
85
|
+
* - user
|
|
86
|
+
* - assistant.
|
|
89
87
|
*
|
|
90
88
|
* @example
|
|
91
89
|
* user
|
|
@@ -93,7 +91,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
93
91
|
role?: string;
|
|
94
92
|
/**
|
|
95
93
|
* @remarks
|
|
96
|
-
* The tool
|
|
94
|
+
* The tool invocation response.
|
|
97
95
|
*/
|
|
98
96
|
toolCalls?: ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoicesMessageToolCalls[];
|
|
99
97
|
static names(): {
|
|
@@ -110,7 +108,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
110
108
|
export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoices extends $dara.Model {
|
|
111
109
|
/**
|
|
112
110
|
* @remarks
|
|
113
|
-
* The reason
|
|
111
|
+
* The stop reason.
|
|
114
112
|
*
|
|
115
113
|
* @example
|
|
116
114
|
* finish
|
|
@@ -118,7 +116,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
118
116
|
finishReason?: string;
|
|
119
117
|
/**
|
|
120
118
|
* @remarks
|
|
121
|
-
* The index
|
|
119
|
+
* The response index.
|
|
122
120
|
*
|
|
123
121
|
* @example
|
|
124
122
|
* 0
|
|
@@ -126,7 +124,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
126
124
|
index?: number;
|
|
127
125
|
/**
|
|
128
126
|
* @remarks
|
|
129
|
-
* The
|
|
127
|
+
* The large language model response.
|
|
130
128
|
*/
|
|
131
129
|
message?: ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoicesMessage;
|
|
132
130
|
static names(): {
|
|
@@ -143,7 +141,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoice
|
|
|
143
141
|
export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionUsagePromptTokensDetails extends $dara.Model {
|
|
144
142
|
/**
|
|
145
143
|
* @remarks
|
|
146
|
-
* The number of
|
|
144
|
+
* The number of tokens that hit the cache.
|
|
147
145
|
*
|
|
148
146
|
* @example
|
|
149
147
|
* 24
|
|
@@ -163,7 +161,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionUsageP
|
|
|
163
161
|
export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionUsage extends $dara.Model {
|
|
164
162
|
/**
|
|
165
163
|
* @remarks
|
|
166
|
-
* The number of tokens
|
|
164
|
+
* The number of tokens consumed for generating the content.
|
|
167
165
|
*
|
|
168
166
|
* @example
|
|
169
167
|
* 42
|
|
@@ -171,7 +169,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionUsage
|
|
|
171
169
|
completionTokens?: number;
|
|
172
170
|
/**
|
|
173
171
|
* @remarks
|
|
174
|
-
* The number of tokens
|
|
172
|
+
* The number of tokens consumed by the input prompt.
|
|
175
173
|
*
|
|
176
174
|
* @example
|
|
177
175
|
* 42
|
|
@@ -179,7 +177,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionUsage
|
|
|
179
177
|
promptTokens?: number;
|
|
180
178
|
/**
|
|
181
179
|
* @remarks
|
|
182
|
-
*
|
|
180
|
+
* The prompt token details.
|
|
183
181
|
*/
|
|
184
182
|
promptTokensDetails?: ChatWithKnowledgeBaseStreamResponseBodyChatCompletionUsagePromptTokensDetails;
|
|
185
183
|
/**
|
|
@@ -204,12 +202,12 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletionUsage
|
|
|
204
202
|
export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletion extends $dara.Model {
|
|
205
203
|
/**
|
|
206
204
|
* @remarks
|
|
207
|
-
* The
|
|
205
|
+
* The text content generated in real time.
|
|
208
206
|
*/
|
|
209
207
|
choices?: ChatWithKnowledgeBaseStreamResponseBodyChatCompletionChoices[];
|
|
210
208
|
/**
|
|
211
209
|
* @remarks
|
|
212
|
-
* The creation time
|
|
210
|
+
* The creation time.
|
|
213
211
|
*
|
|
214
212
|
* @example
|
|
215
213
|
* 1758529748
|
|
@@ -233,7 +231,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyChatCompletion exten
|
|
|
233
231
|
model?: string;
|
|
234
232
|
/**
|
|
235
233
|
* @remarks
|
|
236
|
-
* The
|
|
234
|
+
* The number of tokens used by the large language model output.
|
|
237
235
|
*/
|
|
238
236
|
usage?: ChatWithKnowledgeBaseStreamResponseBodyChatCompletionUsage;
|
|
239
237
|
static names(): {
|
|
@@ -266,9 +264,9 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecal
|
|
|
266
264
|
fileName?: string;
|
|
267
265
|
/**
|
|
268
266
|
* @remarks
|
|
269
|
-
* The public URL of the
|
|
267
|
+
* The public URL of the image in the query result. The URL is valid for 2 hours by default.
|
|
270
268
|
*
|
|
271
|
-
* You can
|
|
269
|
+
* You can specify a custom validity period by using the UrlExpiration parameter.
|
|
272
270
|
*
|
|
273
271
|
* @example
|
|
274
272
|
* http://dailyshort-sh.oss-cn-shanghai.aliyuncs.com/vod-8efba5/f06147795c6c71f080605420848d0302/0ca34d5743a84bf7c68f489a60715dac-ld.mp4
|
|
@@ -276,9 +274,9 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecal
|
|
|
276
274
|
fileURL?: string;
|
|
277
275
|
/**
|
|
278
276
|
* @remarks
|
|
279
|
-
* The unique ID of
|
|
277
|
+
* The unique ID of this vector data entry.
|
|
280
278
|
*
|
|
281
|
-
* > If this
|
|
279
|
+
* > If this value is empty, the database automatically generates a UUID. If this value is not empty and conflicts with an existing ID in the database, the API data overwrites the existing value in the database.
|
|
282
280
|
*
|
|
283
281
|
* @example
|
|
284
282
|
* 273e3fc7-8f56-4167-a1bb-d35d2f3b9043
|
|
@@ -286,7 +284,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecal
|
|
|
286
284
|
id?: string;
|
|
287
285
|
/**
|
|
288
286
|
* @remarks
|
|
289
|
-
*
|
|
287
|
+
* The metadata generated by the document loader during loading.
|
|
290
288
|
*
|
|
291
289
|
* @example
|
|
292
290
|
* {"page":1}
|
|
@@ -294,14 +292,14 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecal
|
|
|
294
292
|
loaderMetadata?: any;
|
|
295
293
|
/**
|
|
296
294
|
* @remarks
|
|
297
|
-
* The
|
|
295
|
+
* The metadata.
|
|
298
296
|
*/
|
|
299
297
|
metadata?: {
|
|
300
298
|
[key: string]: any;
|
|
301
299
|
};
|
|
302
300
|
/**
|
|
303
301
|
* @remarks
|
|
304
|
-
* The
|
|
302
|
+
* The reranking score.
|
|
305
303
|
*
|
|
306
304
|
* @example
|
|
307
305
|
* 0.12
|
|
@@ -309,7 +307,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecal
|
|
|
309
307
|
rerankScore?: number;
|
|
310
308
|
/**
|
|
311
309
|
* @remarks
|
|
312
|
-
* The source of the
|
|
310
|
+
* The source of the retrieve result. A value of 1 indicates AISearch retrieve, 2 indicates full-text index retrieve, and 3 indicates multi-channel recall.
|
|
313
311
|
*
|
|
314
312
|
* @example
|
|
315
313
|
* 0.12
|
|
@@ -317,7 +315,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecal
|
|
|
317
315
|
retrievalSource?: number;
|
|
318
316
|
/**
|
|
319
317
|
* @remarks
|
|
320
|
-
* The similarity score. The
|
|
318
|
+
* The similarity score of this data entry. The scoring algorithm is related to the algorithm specified during index creation (l2, ip, or cosine).
|
|
321
319
|
*
|
|
322
320
|
* @example
|
|
323
321
|
* 10
|
|
@@ -342,9 +340,9 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecal
|
|
|
342
340
|
export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecallResultUsage extends $dara.Model {
|
|
343
341
|
/**
|
|
344
342
|
* @remarks
|
|
345
|
-
* The number of tokens used
|
|
343
|
+
* The number of tokens used during vectorization.
|
|
346
344
|
*
|
|
347
|
-
* > A token is the smallest unit
|
|
345
|
+
* > A token is the smallest unit into which input text is segmented. A token can be a word, a phrase, a punctuation mark, or a character.
|
|
348
346
|
*
|
|
349
347
|
* @example
|
|
350
348
|
* 158
|
|
@@ -364,17 +362,17 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecal
|
|
|
364
362
|
export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecallResult extends $dara.Model {
|
|
365
363
|
/**
|
|
366
364
|
* @remarks
|
|
367
|
-
*
|
|
365
|
+
* The entity details.
|
|
368
366
|
*/
|
|
369
367
|
entities?: string[];
|
|
370
368
|
/**
|
|
371
369
|
* @remarks
|
|
372
|
-
*
|
|
370
|
+
* The recall items.
|
|
373
371
|
*/
|
|
374
372
|
matches?: ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecallResultMatches[];
|
|
375
373
|
/**
|
|
376
374
|
* @remarks
|
|
377
|
-
*
|
|
375
|
+
* The relation names.
|
|
378
376
|
*/
|
|
379
377
|
relations?: string[];
|
|
380
378
|
/**
|
|
@@ -387,11 +385,9 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecal
|
|
|
387
385
|
requestId?: string;
|
|
388
386
|
/**
|
|
389
387
|
* @remarks
|
|
390
|
-
* The
|
|
391
|
-
*
|
|
392
|
-
* - **
|
|
393
|
-
*
|
|
394
|
-
* - **fail**: The call failed.
|
|
388
|
+
* The API execution status. Valid values:
|
|
389
|
+
* - **success**: The execution is successful.
|
|
390
|
+
* - **fail**: The execution failed.
|
|
395
391
|
*
|
|
396
392
|
* @example
|
|
397
393
|
* success
|
|
@@ -407,7 +403,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecal
|
|
|
407
403
|
tokens?: number;
|
|
408
404
|
/**
|
|
409
405
|
* @remarks
|
|
410
|
-
* The number of tokens consumed
|
|
406
|
+
* The number of tokens or entries consumed by document understanding or embedding.
|
|
411
407
|
*/
|
|
412
408
|
usage?: ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecallResultUsage;
|
|
413
409
|
static names(): {
|
|
@@ -437,7 +433,7 @@ export declare class ChatWithKnowledgeBaseStreamResponseBody extends $dara.Model
|
|
|
437
433
|
message?: string;
|
|
438
434
|
/**
|
|
439
435
|
* @remarks
|
|
440
|
-
* The
|
|
436
|
+
* The recall information from multiple knowledge bases.
|
|
441
437
|
*/
|
|
442
438
|
multiCollectionRecallResult?: ChatWithKnowledgeBaseStreamResponseBodyMultiCollectionRecallResult;
|
|
443
439
|
/**
|
|
@@ -450,11 +446,9 @@ export declare class ChatWithKnowledgeBaseStreamResponseBody extends $dara.Model
|
|
|
450
446
|
requestId?: string;
|
|
451
447
|
/**
|
|
452
448
|
* @remarks
|
|
453
|
-
* The status
|
|
454
|
-
*
|
|
455
|
-
* - **
|
|
456
|
-
*
|
|
457
|
-
* - **fail**: The request failed.
|
|
449
|
+
* The status. Valid values:
|
|
450
|
+
* - **success**: Successful.
|
|
451
|
+
* - **fail**: Failed.
|
|
458
452
|
*
|
|
459
453
|
* @example
|
|
460
454
|
* success
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatWithKnowledgeBaseStreamResponseBody.js","sourceRoot":"","sources":["../../src/models/ChatWithKnowledgeBaseStreamResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oFAAqF,SAAQ,KAAK,CAAC,KAAK;IAiBnH,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,oLAsCC;AAED,MAAa,4EAA6E,SAAQ,KAAK,CAAC,KAAK;IAsB3G,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,EAAE,EAAE,IAAI;YACR,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,oFAAoF;YAC9F,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,IAAI,OAAQ,IAAI,CAAC,QAAgB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzE,IAAI,CAAC,QAAgB,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,oKAgDC;AAED,MAAa,mEAAoE,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ChatWithKnowledgeBaseStreamResponseBody.js","sourceRoot":"","sources":["../../src/models/ChatWithKnowledgeBaseStreamResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oFAAqF,SAAQ,KAAK,CAAC,KAAK;IAiBnH,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAA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L,cAAc,EAAE,qDAAqD;YACrE,OAAO,EAAE,QAAQ;YACjB,2BAA2B,EAAE,kEAAkE;YAC/F,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,cAAc,IAAI,OAAQ,IAAI,CAAC,cAAsB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACrF,IAAI,CAAC,cAAsB,CAAC,QAAQ,EAAE,CAAC;QAC1C,CAAC;QACD,IAAG,IAAI,CAAC,2BAA2B,IAAI,OAAQ,IAAI,CAAC,2BAAmC,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/G,IAAI,CAAC,2BAAmC,CAAC,QAAQ,EAAE,CAAC;QACvD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtED,0FAsEC"}
|
|
@@ -4,7 +4,7 @@ export declare class ChatWithKnowledgeBaseStreamShrinkRequest extends $dara.Mode
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The instance ID.
|
|
6
6
|
*
|
|
7
|
-
* > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a
|
|
7
|
+
* > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a region.
|
|
8
8
|
*
|
|
9
9
|
* This parameter is required.
|
|
10
10
|
*
|
|
@@ -14,7 +14,7 @@ export declare class ChatWithKnowledgeBaseStreamShrinkRequest extends $dara.Mode
|
|
|
14
14
|
DBInstanceId?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* Specifies whether to
|
|
17
|
+
* Specifies whether to return recall results. Default value: false.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* false
|
|
@@ -22,12 +22,12 @@ export declare class ChatWithKnowledgeBaseStreamShrinkRequest extends $dara.Mode
|
|
|
22
22
|
includeKnowledgeBaseResults?: boolean;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
*
|
|
25
|
+
* The knowledge retrieval parameter object. If this parameter is not specified, only chat is performed.
|
|
26
26
|
*/
|
|
27
27
|
knowledgeParamsShrink?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
*
|
|
30
|
+
* The large language model (LLM) invocation parameter object.
|
|
31
31
|
*
|
|
32
32
|
* This parameter is required.
|
|
33
33
|
*/
|
|
@@ -35,7 +35,7 @@ export declare class ChatWithKnowledgeBaseStreamShrinkRequest extends $dara.Mode
|
|
|
35
35
|
ownerId?: number;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
*
|
|
38
|
+
* The system prompt template. The template must include {{ text_chunks }}, {{ user_system_prompt }}, {{ graph_entities }}, and {{ graph_relations }}. If not specified, this part does not take effect.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* "参考以下知识回答问题:{{ text_chunks }}"
|
|
@@ -43,7 +43,7 @@ export declare class ChatWithKnowledgeBaseStreamShrinkRequest extends $dara.Mode
|
|
|
43
43
|
promptParams?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The ID of the region where the instance resides.
|
|
47
47
|
*
|
|
48
48
|
* This parameter is required.
|
|
49
49
|
*
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class PauseSaasServiceRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* cn-beijing
|
|
6
|
+
*/
|
|
7
|
+
regionId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @remarks
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* agdb-xxxxx
|
|
14
|
+
*/
|
|
15
|
+
serviceId?: string;
|
|
16
|
+
static names(): {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
};
|
|
19
|
+
static types(): {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
validate(): void;
|
|
23
|
+
constructor(map?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.PauseSaasServiceRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class PauseSaasServiceRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
regionId: 'RegionId',
|
|
43
|
+
serviceId: 'ServiceId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
regionId: 'string',
|
|
49
|
+
serviceId: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.PauseSaasServiceRequest = PauseSaasServiceRequest;
|
|
60
|
+
//# sourceMappingURL=PauseSaasServiceRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PauseSaasServiceRequest.js","sourceRoot":"","sources":["../../src/models/PauseSaasServiceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IActD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnCD,0DAmCC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { PauseSaasServiceResponseBody } from "./PauseSaasServiceResponseBody";
|
|
3
|
+
export declare class PauseSaasServiceResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: PauseSaasServiceResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.PauseSaasServiceResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const PauseSaasServiceResponseBody_1 = require("./PauseSaasServiceResponseBody");
|
|
40
|
+
class PauseSaasServiceResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: PauseSaasServiceResponseBody_1.PauseSaasServiceResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.PauseSaasServiceResponse = PauseSaasServiceResponse;
|
|
69
|
+
//# sourceMappingURL=PauseSaasServiceResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PauseSaasServiceResponse.js","sourceRoot":"","sources":["../../src/models/PauseSaasServiceResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iFAA8E;AAG9E,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAIvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2DAA4B;SACnC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4DAiCC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class PauseSaasServiceResponseBody extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
6
|
+
*/
|
|
7
|
+
requestId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* drama-123456
|
|
11
|
+
*/
|
|
12
|
+
serviceId?: string;
|
|
13
|
+
static names(): {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
static types(): {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
};
|
|
19
|
+
validate(): void;
|
|
20
|
+
constructor(map?: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
});
|
|
23
|
+
}
|