@alicloud/gpdb20160503 3.7.0 → 3.9.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.
Files changed (124) hide show
  1. package/dist/client.d.ts +160 -34
  2. package/dist/client.js +367 -34
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ChatWithKnowledgeBaseRequest.d.ts +68 -111
  5. package/dist/models/ChatWithKnowledgeBaseRequest.js +2 -0
  6. package/dist/models/ChatWithKnowledgeBaseRequest.js.map +1 -1
  7. package/dist/models/ChatWithKnowledgeBaseResponseBody.d.ts +45 -52
  8. package/dist/models/ChatWithKnowledgeBaseResponseBody.js.map +1 -1
  9. package/dist/models/ChatWithKnowledgeBaseShrinkRequest.d.ts +5 -6
  10. package/dist/models/ChatWithKnowledgeBaseShrinkRequest.js.map +1 -1
  11. package/dist/models/ChatWithKnowledgeBaseStreamRequest.d.ts +71 -87
  12. package/dist/models/ChatWithKnowledgeBaseStreamRequest.js +2 -0
  13. package/dist/models/ChatWithKnowledgeBaseStreamRequest.js.map +1 -1
  14. package/dist/models/ChatWithKnowledgeBaseStreamResponseBody.d.ts +44 -50
  15. package/dist/models/ChatWithKnowledgeBaseStreamResponseBody.js.map +1 -1
  16. package/dist/models/ChatWithKnowledgeBaseStreamShrinkRequest.d.ts +6 -6
  17. package/dist/models/PauseSaasServiceRequest.d.ts +26 -0
  18. package/dist/models/PauseSaasServiceRequest.js +60 -0
  19. package/dist/models/PauseSaasServiceRequest.js.map +1 -0
  20. package/dist/models/PauseSaasServiceResponse.d.ts +19 -0
  21. package/dist/models/PauseSaasServiceResponse.js +69 -0
  22. package/dist/models/PauseSaasServiceResponse.js.map +1 -0
  23. package/dist/models/PauseSaasServiceResponseBody.d.ts +23 -0
  24. package/dist/models/PauseSaasServiceResponseBody.js +60 -0
  25. package/dist/models/PauseSaasServiceResponseBody.js.map +1 -0
  26. package/dist/models/QueryContentAdvanceRequest.d.ts +57 -70
  27. package/dist/models/QueryContentAdvanceRequest.js +2 -0
  28. package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
  29. package/dist/models/QueryContentRequest.d.ts +57 -70
  30. package/dist/models/QueryContentRequest.js +2 -0
  31. package/dist/models/QueryContentRequest.js.map +1 -1
  32. package/dist/models/QueryContentResponseBody.d.ts +10 -11
  33. package/dist/models/QueryContentResponseBody.js.map +1 -1
  34. package/dist/models/QueryContentShrinkRequest.d.ts +52 -66
  35. package/dist/models/QueryContentShrinkRequest.js.map +1 -1
  36. package/dist/models/QueryKnowledgeBasesContentRequest.d.ts +62 -78
  37. package/dist/models/QueryKnowledgeBasesContentRequest.js +2 -0
  38. package/dist/models/QueryKnowledgeBasesContentRequest.js.map +1 -1
  39. package/dist/models/QueryKnowledgeBasesContentResponseBody.d.ts +11 -25
  40. package/dist/models/QueryKnowledgeBasesContentResponseBody.js.map +1 -1
  41. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.d.ts +11 -15
  42. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.js.map +1 -1
  43. package/dist/models/ResetBranchRequest.d.ts +41 -0
  44. package/dist/models/ResetBranchRequest.js +62 -0
  45. package/dist/models/ResetBranchRequest.js.map +1 -0
  46. package/dist/models/ResetBranchResponse.d.ts +19 -0
  47. package/dist/models/ResetBranchResponse.js +69 -0
  48. package/dist/models/ResetBranchResponse.js.map +1 -0
  49. package/dist/models/ResetBranchResponseBody.d.ts +21 -0
  50. package/dist/models/ResetBranchResponseBody.js +58 -0
  51. package/dist/models/ResetBranchResponseBody.js.map +1 -0
  52. package/dist/models/RestoreBranchRequest.d.ts +83 -0
  53. package/dist/models/RestoreBranchRequest.js +72 -0
  54. package/dist/models/RestoreBranchRequest.js.map +1 -0
  55. package/dist/models/RestoreBranchResponse.d.ts +19 -0
  56. package/dist/models/RestoreBranchResponse.js +69 -0
  57. package/dist/models/RestoreBranchResponse.js.map +1 -0
  58. package/dist/models/RestoreBranchResponseBody.d.ts +29 -0
  59. package/dist/models/RestoreBranchResponseBody.js +60 -0
  60. package/dist/models/RestoreBranchResponseBody.js.map +1 -0
  61. package/dist/models/ResumeSaasServiceRequest.d.ts +26 -0
  62. package/dist/models/ResumeSaasServiceRequest.js +60 -0
  63. package/dist/models/ResumeSaasServiceRequest.js.map +1 -0
  64. package/dist/models/ResumeSaasServiceResponse.d.ts +19 -0
  65. package/dist/models/ResumeSaasServiceResponse.js +69 -0
  66. package/dist/models/ResumeSaasServiceResponse.js.map +1 -0
  67. package/dist/models/ResumeSaasServiceResponseBody.d.ts +23 -0
  68. package/dist/models/ResumeSaasServiceResponseBody.js +60 -0
  69. package/dist/models/ResumeSaasServiceResponseBody.js.map +1 -0
  70. package/dist/models/SetAsDefaultBranchRequest.d.ts +41 -0
  71. package/dist/models/SetAsDefaultBranchRequest.js +62 -0
  72. package/dist/models/SetAsDefaultBranchRequest.js.map +1 -0
  73. package/dist/models/SetAsDefaultBranchResponse.d.ts +19 -0
  74. package/dist/models/SetAsDefaultBranchResponse.js +69 -0
  75. package/dist/models/SetAsDefaultBranchResponse.js.map +1 -0
  76. package/dist/models/SetAsDefaultBranchResponseBody.d.ts +21 -0
  77. package/dist/models/SetAsDefaultBranchResponseBody.js +58 -0
  78. package/dist/models/SetAsDefaultBranchResponseBody.js.map +1 -0
  79. package/dist/models/UpdateBranchRequest.d.ts +126 -0
  80. package/dist/models/UpdateBranchRequest.js +98 -0
  81. package/dist/models/UpdateBranchRequest.js.map +1 -0
  82. package/dist/models/UpdateBranchResponse.d.ts +19 -0
  83. package/dist/models/UpdateBranchResponse.js +69 -0
  84. package/dist/models/UpdateBranchResponse.js.map +1 -0
  85. package/dist/models/UpdateBranchResponseBody.d.ts +21 -0
  86. package/dist/models/UpdateBranchResponseBody.js +58 -0
  87. package/dist/models/UpdateBranchResponseBody.js.map +1 -0
  88. package/dist/models/model.d.ts +19 -0
  89. package/dist/models/model.js +56 -18
  90. package/dist/models/model.js.map +1 -1
  91. package/package.json +1 -1
  92. package/src/client.ts +406 -34
  93. package/src/models/ChatWithKnowledgeBaseRequest.ts +70 -111
  94. package/src/models/ChatWithKnowledgeBaseResponseBody.ts +45 -52
  95. package/src/models/ChatWithKnowledgeBaseShrinkRequest.ts +5 -6
  96. package/src/models/ChatWithKnowledgeBaseStreamRequest.ts +73 -87
  97. package/src/models/ChatWithKnowledgeBaseStreamResponseBody.ts +44 -50
  98. package/src/models/ChatWithKnowledgeBaseStreamShrinkRequest.ts +6 -6
  99. package/src/models/PauseSaasServiceRequest.ts +41 -0
  100. package/src/models/PauseSaasServiceResponse.ts +40 -0
  101. package/src/models/PauseSaasServiceResponseBody.ts +38 -0
  102. package/src/models/QueryContentAdvanceRequest.ts +60 -71
  103. package/src/models/QueryContentRequest.ts +60 -71
  104. package/src/models/QueryContentResponseBody.ts +10 -11
  105. package/src/models/QueryContentShrinkRequest.ts +53 -67
  106. package/src/models/QueryKnowledgeBasesContentRequest.ts +64 -78
  107. package/src/models/QueryKnowledgeBasesContentResponseBody.ts +11 -25
  108. package/src/models/QueryKnowledgeBasesContentShrinkRequest.ts +11 -15
  109. package/src/models/ResetBranchRequest.ts +58 -0
  110. package/src/models/ResetBranchResponse.ts +40 -0
  111. package/src/models/ResetBranchResponseBody.ts +34 -0
  112. package/src/models/RestoreBranchRequest.ts +110 -0
  113. package/src/models/RestoreBranchResponse.ts +40 -0
  114. package/src/models/RestoreBranchResponseBody.ts +44 -0
  115. package/src/models/ResumeSaasServiceRequest.ts +41 -0
  116. package/src/models/ResumeSaasServiceResponse.ts +40 -0
  117. package/src/models/ResumeSaasServiceResponseBody.ts +38 -0
  118. package/src/models/SetAsDefaultBranchRequest.ts +58 -0
  119. package/src/models/SetAsDefaultBranchResponse.ts +40 -0
  120. package/src/models/SetAsDefaultBranchResponseBody.ts +34 -0
  121. package/src/models/UpdateBranchRequest.ts +170 -0
  122. package/src/models/UpdateBranchResponse.ts +40 -0
  123. package/src/models/UpdateBranchResponseBody.ts +34 -0
  124. package/src/models/model.ts +19 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessageToolCallsFunction extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The arguments to pass to the function.
8
+ * The called function parameters.
9
9
  *
10
10
  * @example
11
11
  * {"city":"hangzhou"}
@@ -13,7 +13,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessageToolCa
13
13
  arguments?: string;
14
14
  /**
15
15
  * @remarks
16
- * The name of the function to call.
16
+ * The called function name.
17
17
  *
18
18
  * @example
19
19
  * "get_weather"
@@ -45,12 +45,12 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessageToolCa
45
45
  export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessageToolCalls extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The function that the model wants to call.
48
+ * The called function information.
49
49
  */
50
50
  function?: ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessageToolCallsFunction;
51
51
  /**
52
52
  * @remarks
53
- * The ID of the tool call.
53
+ * The ID.
54
54
  *
55
55
  * @example
56
56
  * "chatcmpl-c1bebafa-cc48-44e2-88c6-1a3572952f8e"
@@ -58,7 +58,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessageToolCa
58
58
  id?: string;
59
59
  /**
60
60
  * @remarks
61
- * The index of the tool call.
61
+ * The tool call sequence number.
62
62
  *
63
63
  * @example
64
64
  * 1
@@ -95,7 +95,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessageToolCa
95
95
  export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessage extends $dara.Model {
96
96
  /**
97
97
  * @remarks
98
- * The content of the message.
98
+ * The document content.
99
99
  *
100
100
  * @example
101
101
  * The weather in Hangzhou is sunny.
@@ -103,7 +103,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessage exten
103
103
  content?: string;
104
104
  /**
105
105
  * @remarks
106
- * The model\\"s reasoning process.
106
+ * The model reasoning content.
107
107
  *
108
108
  * @example
109
109
  * Logical reasoning process
@@ -111,13 +111,10 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessage exten
111
111
  reasoningContent?: string;
112
112
  /**
113
113
  * @remarks
114
- * The role of the message:
115
- *
116
- * - `system`
117
- *
118
- * - `user`
119
- *
120
- * - `assistant`
114
+ * The message role:
115
+ * - system
116
+ * - user
117
+ * - assistant
121
118
  *
122
119
  * @example
123
120
  * user
@@ -125,7 +122,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessage exten
125
122
  role?: string;
126
123
  /**
127
124
  * @remarks
128
- * A list of tool calls generated by the model.
125
+ * The tool call response list.
129
126
  */
130
127
  toolCalls?: ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessageToolCalls[];
131
128
  static names(): { [key: string]: string } {
@@ -161,7 +158,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessage exten
161
158
  export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoices extends $dara.Model {
162
159
  /**
163
160
  * @remarks
164
- * The reason the model stopped generating tokens.
161
+ * The stop reason.
165
162
  *
166
163
  * @example
167
164
  * finish
@@ -169,7 +166,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoices extends $dar
169
166
  finishReason?: string;
170
167
  /**
171
168
  * @remarks
172
- * The index of this choice in the `Choices` array.
169
+ * The reply sequence number.
173
170
  *
174
171
  * @example
175
172
  * 0
@@ -177,7 +174,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoices extends $dar
177
174
  index?: number;
178
175
  /**
179
176
  * @remarks
180
- * The message generated by the large language model.
177
+ * The large model reply response.
181
178
  */
182
179
  message?: ChatWithKnowledgeBaseResponseBodyChatCompletionChoicesMessage;
183
180
  static names(): { [key: string]: string } {
@@ -211,7 +208,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionChoices extends $dar
211
208
  export class ChatWithKnowledgeBaseResponseBodyChatCompletionUsagePromptTokensDetails extends $dara.Model {
212
209
  /**
213
210
  * @remarks
214
- * The number of prompt tokens that resulted in a cache hit.
211
+ * The number of tokens that hit the cache.
215
212
  *
216
213
  * @example
217
214
  * 24
@@ -241,7 +238,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionUsagePromptTokensDet
241
238
  export class ChatWithKnowledgeBaseResponseBodyChatCompletionUsage extends $dara.Model {
242
239
  /**
243
240
  * @remarks
244
- * The number of tokens in the generated response.
241
+ * The number of tokens consumed for generating content.
245
242
  *
246
243
  * @example
247
244
  * 42
@@ -249,7 +246,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionUsage extends $dara.
249
246
  completionTokens?: number;
250
247
  /**
251
248
  * @remarks
252
- * The number of tokens in the input prompt.
249
+ * The number of tokens consumed by the input prompt.
253
250
  *
254
251
  * @example
255
252
  * 42
@@ -257,12 +254,12 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionUsage extends $dara.
257
254
  promptTokens?: number;
258
255
  /**
259
256
  * @remarks
260
- * Details of the prompt tokens.
257
+ * The prompt token details.
261
258
  */
262
259
  promptTokensDetails?: ChatWithKnowledgeBaseResponseBodyChatCompletionUsagePromptTokensDetails;
263
260
  /**
264
261
  * @remarks
265
- * The total number of tokens used in the request (prompt tokens + completion tokens).
262
+ * The total number of tokens.
266
263
  *
267
264
  * @example
268
265
  * 42
@@ -301,12 +298,12 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletionUsage extends $dara.
301
298
  export class ChatWithKnowledgeBaseResponseBodyChatCompletion extends $dara.Model {
302
299
  /**
303
300
  * @remarks
304
- * A list of chat completion choices.
301
+ * The real-time generated text content.
305
302
  */
306
303
  choices?: ChatWithKnowledgeBaseResponseBodyChatCompletionChoices[];
307
304
  /**
308
305
  * @remarks
309
- * The creation time of the response, as a Unix timestamp.
306
+ * The creation time.
310
307
  *
311
308
  * @example
312
309
  * 1758529748
@@ -322,7 +319,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletion extends $dara.Model
322
319
  id?: string;
323
320
  /**
324
321
  * @remarks
325
- * The model that generated the response.
322
+ * The model name used.
326
323
  *
327
324
  * @example
328
325
  * qwen-plus
@@ -330,7 +327,7 @@ export class ChatWithKnowledgeBaseResponseBodyChatCompletion extends $dara.Model
330
327
  model?: string;
331
328
  /**
332
329
  * @remarks
333
- * Token usage statistics for the chat completion.
330
+ * The token usage of the large model output.
334
331
  */
335
332
  usage?: ChatWithKnowledgeBaseResponseBodyChatCompletionUsage;
336
333
  static names(): { [key: string]: string } {
@@ -387,9 +384,9 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResultMatches
387
384
  fileName?: string;
388
385
  /**
389
386
  * @remarks
390
- * The public URL of the file. By default, the URL is valid for 2 hours.
387
+ * The public URL of the query result image, valid for 2 hours by default.
391
388
  *
392
- * You can specify a custom validity period by using the `UrlExpiration` request parameter.
389
+ * You can specify the validity period using the UrlExpiration input parameter.
393
390
  *
394
391
  * @example
395
392
  * http://viapi-customer-pop.oss-cn-shanghai.aliyuncs.com/b4d8_207196811002111319_570c0e199f03428f812ab21fcc00dd6a
@@ -397,7 +394,7 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResultMatches
397
394
  fileURL?: string;
398
395
  /**
399
396
  * @remarks
400
- * The unique ID of the vector.
397
+ * The unique ID of the vector data.
401
398
  *
402
399
  * @example
403
400
  * 273e3fc7-8f56-4167-a1bb-d35d2f3b9043
@@ -405,7 +402,7 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResultMatches
405
402
  id?: string;
406
403
  /**
407
404
  * @remarks
408
- * The metadata generated when the document was loaded.
405
+ * The metadata information loaded by the document loader.
409
406
  *
410
407
  * @example
411
408
  * {"page":1}
@@ -426,7 +423,7 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResultMatches
426
423
  rerankScore?: number;
427
424
  /**
428
425
  * @remarks
429
- * The retrieval source. Valid values: `1` for vector retrieval, `2` for full-text search, and `3` for two-channel recall.
426
+ * The source of the retrieval result. 1 indicates vector retrieval, 2 indicates full-text retrieval, and 3 indicates dual-path recall.
430
427
  *
431
428
  * @example
432
429
  * 3
@@ -434,7 +431,7 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResultMatches
434
431
  retrievalSource?: number;
435
432
  /**
436
433
  * @remarks
437
- * The similarity score. The score is based on the algorithm `(l2/ip/cosine)` specified when the index was created.
434
+ * The similarity score of this data entry. The scoring algorithm is related to the algorithm specified when creating the index (l2/ip/cosine).
438
435
  *
439
436
  * @example
440
437
  * 12
@@ -495,7 +492,7 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResultUsage e
495
492
  * @remarks
496
493
  * The number of tokens used for vectorization.
497
494
  *
498
- * > A token is the smallest unit of text. A token can be a word, a phrase, a punctuation mark, or a character.
495
+ * > A token is the smallest unit into which input text is divided. A token can be a word, a phrase, a punctuation mark, a character, etc.
499
496
  *
500
497
  * @example
501
498
  * 21
@@ -525,17 +522,17 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResultUsage e
525
522
  export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResult extends $dara.Model {
526
523
  /**
527
524
  * @remarks
528
- * A list of identified entity types.
525
+ * The entity details.
529
526
  */
530
527
  entities?: string[];
531
528
  /**
532
529
  * @remarks
533
- * The recalled items.
530
+ * The recall items.
534
531
  */
535
532
  matches?: ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResultMatches[];
536
533
  /**
537
534
  * @remarks
538
- * The relationship edges.
535
+ * The relationship edge details.
539
536
  */
540
537
  relations?: string[];
541
538
  /**
@@ -548,11 +545,9 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResult extend
548
545
  requestId?: string;
549
546
  /**
550
547
  * @remarks
551
- * The status of the recall operation. Valid values:
552
- *
553
- * - `success`: The recall was successful.
554
- *
555
- * - `fail`: The recall failed.
548
+ * The API execution status. Valid values:
549
+ * - **success**: Execution succeeded.
550
+ * - **fail**: Execution failed.
556
551
  *
557
552
  * @example
558
553
  * success
@@ -560,7 +555,7 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResult extend
560
555
  status?: string;
561
556
  /**
562
557
  * @remarks
563
- * The number of tokens consumed by the recall process.
558
+ * The number of tokens consumed.
564
559
  *
565
560
  * @example
566
561
  * 42
@@ -568,7 +563,7 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResult extend
568
563
  tokens?: number;
569
564
  /**
570
565
  * @remarks
571
- * Usage statistics for the recall, such as the number of tokens for vectorization.
566
+ * The tokens or items consumed by document understanding or embedding.
572
567
  */
573
568
  usage?: ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResultUsage;
574
569
  static names(): { [key: string]: string } {
@@ -619,12 +614,12 @@ export class ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResult extend
619
614
  export class ChatWithKnowledgeBaseResponseBody extends $dara.Model {
620
615
  /**
621
616
  * @remarks
622
- * The response from the large language model.
617
+ * The model response.
623
618
  */
624
619
  chatCompletion?: ChatWithKnowledgeBaseResponseBodyChatCompletion;
625
620
  /**
626
621
  * @remarks
627
- * A message that provides details about the status of the operation.
622
+ * The return message.
628
623
  *
629
624
  * @example
630
625
  * Successful
@@ -632,7 +627,7 @@ export class ChatWithKnowledgeBaseResponseBody extends $dara.Model {
632
627
  message?: string;
633
628
  /**
634
629
  * @remarks
635
- * The recall results from multiple knowledge bases.
630
+ * The multi-knowledge base recall information.
636
631
  */
637
632
  multiCollectionRecallResult?: ChatWithKnowledgeBaseResponseBodyMultiCollectionRecallResult;
638
633
  /**
@@ -645,11 +640,9 @@ export class ChatWithKnowledgeBaseResponseBody extends $dara.Model {
645
640
  requestId?: string;
646
641
  /**
647
642
  * @remarks
648
- * The final status of the request. Valid values:
649
- *
650
- * - `success`: The request was successful.
651
- *
652
- * - `fail`: The request failed.
643
+ * The status. Valid values:
644
+ * - **success**: Succeeded.
645
+ * - **fail**: Failed.
653
646
  *
654
647
  * @example
655
648
  * success
@@ -6,8 +6,7 @@ export class ChatWithKnowledgeBaseShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The instance ID.
9
- *
10
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/196830.html) operation to view the details of all instances in a target region, including their instance IDs.
9
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/196830.html) operation to query the details of all instances in the target region, including the instance ID.
11
10
  *
12
11
  * This parameter is required.
13
12
  *
@@ -17,7 +16,7 @@ export class ChatWithKnowledgeBaseShrinkRequest extends $dara.Model {
17
16
  DBInstanceId?: string;
18
17
  /**
19
18
  * @remarks
20
- * Whether to include the raw retrieval results from the knowledge base in the response. Default: `false`.
19
+ * Specifies whether to return the recall results. Default value: false.
21
20
  *
22
21
  * @example
23
22
  * false
@@ -25,12 +24,12 @@ export class ChatWithKnowledgeBaseShrinkRequest extends $dara.Model {
25
24
  includeKnowledgeBaseResults?: boolean;
26
25
  /**
27
26
  * @remarks
28
- * Parameters for knowledge retrieval. If omitted, the operation performs a standard chat without retrieving from a knowledge base.
27
+ * The knowledge retrieval parameter object. If not specified, only chat is performed.
29
28
  */
30
29
  knowledgeParamsShrink?: string;
31
30
  /**
32
31
  * @remarks
33
- * The parameters for calling the large language model (LLM).
32
+ * The large language model (LLM) invocation parameter object.
34
33
  *
35
34
  * This parameter is required.
36
35
  */
@@ -38,7 +37,7 @@ export class ChatWithKnowledgeBaseShrinkRequest extends $dara.Model {
38
37
  ownerId?: number;
39
38
  /**
40
39
  * @remarks
41
- * A custom system prompt template. If specified, it overrides the default prompt. The template must include the {{ text_chunks }}, {{ user_system_prompt }}, {{ graph_entities }}, and {{ graph_relations }} placeholders.
40
+ * The system prompt template, which must include {{ text_chunks }}, {{ user_system_prompt }}, {{ graph_entities }}, and {{ graph_relations }}. If not specified, this part does not take effect.
42
41
  *
43
42
  * @example
44
43
  * "参考以下知识回答问题:{{ text_chunks }}"