@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
@@ -6,7 +6,7 @@ import * as $dara from '@darabonba/typescript';
6
6
  export class QueryContentAdvanceRequestGraphSearchArgs extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The number of top entities and relationship edges to return. The default value is `60`.
9
+ * The number of top entities and relationship edges to return. Default value: 60.
10
10
  *
11
11
  * @example
12
12
  * 60
@@ -36,8 +36,8 @@ export class QueryContentAdvanceRequestGraphSearchArgs extends $dara.Model {
36
36
  export class QueryContentAdvanceRequestRerankModel extends $dara.Model {
37
37
  /**
38
38
  * @remarks
39
- * This parameter is available only when `RerankModel.Name` is set to `qwen3-rerank`.
40
- * You can add a custom task description to guide the model\\"s sorting strategy.
39
+ * This parameter can be set when RerankModel.Name is qwen3-rerank.
40
+ * Adds a custom sorting task type description. This parameter guides the model to adopt different sorting strategies.
41
41
  *
42
42
  * @example
43
43
  * Given a web search query, retrieve relevant passages that answer the query
@@ -45,16 +45,18 @@ export class QueryContentAdvanceRequestRerankModel extends $dara.Model {
45
45
  instruct?: string;
46
46
  /**
47
47
  * @remarks
48
- * The name of the reranking model. Valid values: `qwen3-rerank`, `gte-rerank-v2`.
48
+ * The name of the rerank model. Valid values: qwen3-rerank, gte-rerank-v2.
49
49
  *
50
50
  * @example
51
51
  * qwen3-rerank
52
52
  */
53
53
  name?: string;
54
+ rerankMetadataFields?: string;
54
55
  static names(): { [key: string]: string } {
55
56
  return {
56
57
  instruct: 'Instruct',
57
58
  name: 'Name',
59
+ rerankMetadataFields: 'RerankMetadataFields',
58
60
  };
59
61
  }
60
62
 
@@ -62,6 +64,7 @@ export class QueryContentAdvanceRequestRerankModel extends $dara.Model {
62
64
  return {
63
65
  instruct: 'string',
64
66
  name: 'string',
67
+ rerankMetadataFields: 'string',
65
68
  };
66
69
  }
67
70
 
@@ -79,7 +82,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
79
82
  * @remarks
80
83
  * The name of the document collection.
81
84
  *
82
- * > A document collection is created by calling the [CreateDocumentCollection](https://help.aliyun.com/document_detail/2618448.html) operation. Call the [ListDocumentCollections](https://help.aliyun.com/document_detail/2618452.html) operation to list your document collections.
85
+ * > The document collection is created by calling the [CreateDocumentCollection](https://help.aliyun.com/document_detail/2618448.html) operation. You can call the [ListDocumentCollections](https://help.aliyun.com/document_detail/2618452.html) operation to query existing document collections.
83
86
  *
84
87
  * This parameter is required.
85
88
  *
@@ -89,7 +92,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
89
92
  collection?: string;
90
93
  /**
91
94
  * @remarks
92
- * The text to use for retrieval.
95
+ * The text content used for retrieval.
93
96
  *
94
97
  * @example
95
98
  * What is AnalyticDB for PostgreSQL?
@@ -99,7 +102,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
99
102
  * @remarks
100
103
  * The instance ID.
101
104
  *
102
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to find the IDs of all AnalyticDB for PostgreSQL instances in a region.
105
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.
103
106
  *
104
107
  * This parameter is required.
105
108
  *
@@ -109,9 +112,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
109
112
  DBInstanceId?: string;
110
113
  /**
111
114
  * @remarks
112
- * The filename of the source image for a search-by-image query.
115
+ * The name of the source image file to search in image-to-image search scenarios.
113
116
  *
114
- * > The image file must have a file extension. The supported extensions are bmp, jpg, jpeg, png, and tiff.
117
+ * > The image file must have a file extension. Supported image extensions: bmp, jpg, jpeg, png, and tiff.
115
118
  *
116
119
  * @example
117
120
  * test.jpg
@@ -119,9 +122,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
119
122
  fileName?: string;
120
123
  /**
121
124
  * @remarks
122
- * The publicly accessible URL of the image file for a search-by-image query.
125
+ * The publicly accessible URL of the image file in image-to-image search scenarios.
123
126
  *
124
- * > The image file must have a file extension. The supported extensions are bmp, jpg, jpeg, png, and tiff.
127
+ * > The image file must have a file extension. Supported image extensions: bmp, jpg, jpeg, png, and tiff.
125
128
  *
126
129
  * @example
127
130
  * https://xx/myImage.jpg
@@ -129,9 +132,10 @@ export class QueryContentAdvanceRequest extends $dara.Model {
129
132
  fileUrlObject?: Readable;
130
133
  /**
131
134
  * @remarks
132
- * A filter condition for the query, specified as a SQL `WHERE` clause that returns a boolean value. The clause can use comparison operators (such as `=`, `<>`, `!=`, `>`, `<`, `>=`, and `<=`), logical operators (`AND`, `OR`, and `NOT`), and keywords such as `IN`, `BETWEEN`, and `LIKE`.
135
+ * The filter condition for the data to query, in SQL WHERE clause format. The filter is an expression that returns a Boolean value (true or false). Conditions can be simple comparison operators such as equal to (=), not equal to (<> or !=), greater than (>), less than (<), greater than or equal to (>=), and less than or equal to (<=). Conditions can also be more complex expressions combined with logical operators (AND, OR, NOT), as well as conditions using the IN, BETWEEN, and LIKE keywords.
133
136
  *
134
- * > - For details about the syntax, see https\\://www\\.postgresqltutorial.com/postgresql-tutorial/postgresql-where/.
137
+ * >
138
+ * > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/.
135
139
  *
136
140
  * @example
137
141
  * title = \\"test\\" AND name like \\"test%\\"
@@ -139,7 +143,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
139
143
  filter?: string;
140
144
  /**
141
145
  * @remarks
142
- * Specifies whether to enable knowledge graph enhancement. The default value is `false`.
146
+ * Specifies whether to enable knowledge graph enhancement. Default value: false.
143
147
  *
144
148
  * @example
145
149
  * false
@@ -147,20 +151,18 @@ export class QueryContentAdvanceRequest extends $dara.Model {
147
151
  graphEnhance?: boolean;
148
152
  /**
149
153
  * @remarks
150
- * The parameters for knowledge graph retrieval.
154
+ * The knowledge graph retrieval parameters.
151
155
  */
152
156
  graphSearchArgs?: QueryContentAdvanceRequestGraphSearchArgs;
153
157
  /**
154
158
  * @remarks
155
- * Specifies the hybrid search algorithm. If this parameter is not specified, the system directly compares and sorts the scores from dense vector retrieval and full-text search.
159
+ * The multi-channel recall algorithm. Default value: empty, which indicates that the dense vector and full-text index scores are directly compared and sorted.
156
160
  *
157
161
  * Valid values:
158
162
  *
159
- * - RRF: reciprocal rank fusion. This method uses a `k` parameter to control the fusion effect. For more information, see the `HybridSearchArgs` parameter.
160
- *
161
- * - Weight: A weighted sorting method. This method uses parameters to control the score weights of vector retrieval and full-text search before sorting. For more information, see the `HybridSearchArgs` parameter.
162
- *
163
- * - Cascaded: Performs full-text search first, and then performs vector retrieval on the results.
163
+ * - RRF: Reciprocal Rank Fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.
164
+ * - Weight: Weighted sorting. Parameters control the score weights of AISearch retrieve and full-text index results before sorting. For more information, see the HybridSearchArgs configuration.
165
+ * - Cascaded: Full-text index retrieve is performed first, followed by AISearch retrieve based on the full-text index results.
164
166
  *
165
167
  * @example
166
168
  * RRF
@@ -168,10 +170,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
168
170
  hybridSearch?: string;
169
171
  /**
170
172
  * @remarks
171
- * Parameters for the multi-channel recall algorithm. Currently, `RRF` and `Weight` are supported. `HybridPathsSetting` can be used to specify the recall paths, including dense vector search (`dense`), sparse vector search (`sparse`), and full-text search (`fulltext`). If this parameter is not specified, the system recalls dense vectors and full-text search results by default.
172
- *
173
- * - RRF: Specifies the constant `k` in the scoring formula `1/(k+rank_i)`. The value must be an integer greater than 1. Example:
173
+ * The algorithm parameters for multi-channel recall. RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text index (fulltext). If this value is empty, dense vectors (dense) and full-text index (fulltext) are used by default.
174
174
  *
175
+ * - RRF: Specifies the constant k in the score calculation formula `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:
175
176
  * ```
176
177
  * {
177
178
  * "HybridPathsSetting": {
@@ -183,12 +184,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
183
184
  * }
184
185
  * ```
185
186
  *
186
- * - Weight:
187
- *
188
- * - For dual-channel recall (if `HybridPathsSetting` is not specified, only `alpha` is configured):
189
- *
190
- * - The score is calculated using the formula: `alpha * dense_score + (1-alpha) * fulltext_score`. The `alpha` parameter represents the score weight of dense vector retrieval relative to full-text search. The value must be in the range of 0 to 1. A value of 0 indicates that only full-text search is used, and a value of 1 indicates that only dense vector retrieval is used.
191
- *
187
+ * - Weight:
188
+ * - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):
189
+ * - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text index retrieve. Valid values: 0 to 1, where 0 indicates full-text index only and 1 indicates dense vector only:
192
190
  * ```
193
191
  * {
194
192
  * "Weight": {
@@ -196,11 +194,8 @@ export class QueryContentAdvanceRequest extends $dara.Model {
196
194
  * }
197
195
  * }
198
196
  * ```
199
- *
200
- * - For three-channel recall:
201
- *
202
- * - The score is calculated using the formula: `normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score`. The `dense`, `sparse`, and `fulltext` parameters represent the weights for the dense vector, sparse vector, and full-text search results, respectively. Their values must be greater than or equal to 0. The system automatically normalizes the weights to a sum of 1 (for example, `normalized_x = x / (dense + sparse + fulltext)`).
203
- *
197
+ * - Three-path recall pattern:
198
+ * - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext values represent the weights for dense vectors, sparse vectors, and full-text index retrieve respectively. Valid values: greater than or equal to 0. The system automatically performs normalization of the weights to 0 to 1 (normalized_x = x / (dense + sparse + fulltext)).
204
199
  * ```
205
200
  * {
206
201
  * "HybridPathsSetting": {
@@ -217,7 +212,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
217
212
  hybridSearchArgs?: { [key: string]: {[key: string]: any} };
218
213
  /**
219
214
  * @remarks
220
- * Specifies whether to return the URL of the document. The default value is `false`.
215
+ * Specifies whether to synchronously return the URL of the document. By default, the URL is not returned.
221
216
  *
222
217
  * @example
223
218
  * false
@@ -225,7 +220,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
225
220
  includeFileUrl?: boolean;
226
221
  /**
227
222
  * @remarks
228
- * The metadata fields to include in the response. If left empty, no metadata is returned. To specify multiple fields, use a comma-separated list.
223
+ * The metadata fields to return. Default value: empty. Separate multiple fields with commas.
229
224
  *
230
225
  * @example
231
226
  * title,page
@@ -233,11 +228,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
233
228
  includeMetadataFields?: string;
234
229
  /**
235
230
  * @remarks
236
- * Specifies whether to include the vector in the results. The default value is `false`.
237
- *
238
- * > - **false**: The vector is not returned.
239
- * >
240
- * > - **true**: The vector is returned.
231
+ * Specifies whether to return vectors. Default value: false.
232
+ * > - **false**: Does not return vectors.
233
+ * > - **true**: Returns vectors.
241
234
  *
242
235
  * @example
243
236
  * true
@@ -245,14 +238,11 @@ export class QueryContentAdvanceRequest extends $dara.Model {
245
238
  includeVector?: boolean;
246
239
  /**
247
240
  * @remarks
248
- * The similarity algorithm used for retrieval. If this parameter is not specified, the algorithm that was specified when the document collection was created is used. We recommend that you do not set this parameter unless you have specific requirements.
241
+ * The similarity algorithm used for retrieval. If this value is empty, the algorithm specified when the knowledge base was created is used. Leave this parameter empty unless you have specific requirements.
249
242
  *
250
243
  * > Valid values:
251
- * >
252
244
  * > - **l2**: Euclidean distance.
253
- * >
254
- * > - **ip**: dot product (inner product) distance.
255
- * >
245
+ * > - **ip**: inner product distance.
256
246
  * > - **cosine**: cosine similarity.
257
247
  *
258
248
  * @example
@@ -261,9 +251,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
261
251
  metrics?: string;
262
252
  /**
263
253
  * @remarks
264
- * The namespace. The default value is `public`.
254
+ * The namespace. Default value: public.
265
255
  *
266
- * > You can call the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation to create a namespace and the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation to list existing namespaces.
256
+ * > You can create a namespace by calling the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation and query namespaces by calling the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation.
267
257
  *
268
258
  * @example
269
259
  * mynamespace
@@ -271,9 +261,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
271
261
  namespace?: string;
272
262
  /**
273
263
  * @remarks
274
- * The password for the namespace.
264
+ * The password of the namespace.
275
265
  *
276
- * > This password is set when you call the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation.
266
+ * > This value is specified by the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation.
277
267
  *
278
268
  * This parameter is required.
279
269
  *
@@ -283,7 +273,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
283
273
  namespacePassword?: string;
284
274
  /**
285
275
  * @remarks
286
- * The offset for paginated queries.
276
+ * The offset for paged query. Used for paging through results.
287
277
  *
288
278
  * @example
289
279
  * 0
@@ -291,9 +281,13 @@ export class QueryContentAdvanceRequest extends $dara.Model {
291
281
  offset?: number;
292
282
  /**
293
283
  * @remarks
294
- * The field to sort the results by. By default, this parameter is empty.
284
+ * The field used for sorting. Default value: empty.
285
+ *
286
+ * The field must belong to metadata or a default field in the table, such as id. Supported formats:
295
287
  *
296
- * The field must be a metadata field or a default field from the table, such as `id`. Supported formats include single fields (e.g., `chunk_id`), multiple comma-separated fields (e.g., `block_id, chunk_id`), and fields with a sort direction (e.g., `block_id DESC, chunk_id DESC`).
288
+ * A single field, such as chunk_id.
289
+ * Multiple fields separated by commas, such as block_id, chunk_id.
290
+ * Descending order, such as block_id DESC, chunk_id DESC.
297
291
  *
298
292
  * @example
299
293
  * created_at
@@ -302,11 +296,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
302
296
  ownerId?: number;
303
297
  /**
304
298
  * @remarks
305
- * The recall window. If this parameter is specified, additional context is returned with the retrieval results. The value must be a two-element array, `[A, B]`, where `-10 <= A <= 0` and `0 <= B <= 10`.
306
- *
307
- * > - Use this parameter when documents are finely chunked and retrieval might otherwise lose contextual information.
308
- * >
309
- * > - Reranking is prioritized over windowing. The system first applies reranking and then processes the window.
299
+ * The recall window. When this value is not empty, additional context around the retrieval results is returned. The format is a two-element array: List<A, B>, where -10<=A<=0 and 0<=B<=10.
300
+ * > - Use this parameter when documents are split into overly small chunks and retrieval may lose contextual information.
301
+ * > - Reranking takes priority over windowing. Reranking is performed first, followed by windowing.
310
302
  */
311
303
  recallWindow?: number[];
312
304
  /**
@@ -321,11 +313,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
321
313
  regionId?: string;
322
314
  /**
323
315
  * @remarks
324
- * The factor for reranking vector retrieval results. The value must be greater than 1 and less than or equal to 5.
325
- *
326
- * > - Reranking may be slower if document chunks are sparse.
327
- * >
328
- * > - For best performance, the number of items to be reranked (`TopK` \\* `RerankFactor`, rounded up) should not exceed 50.
316
+ * The reranking factor. When this value is not empty, the AISearch retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.
317
+ * > - Reranking is slow when documents are sparsely chunked.
318
+ * > - The total number of reranked results (TopK × Factor, rounded up) should not exceed 50.
329
319
  *
330
320
  * @example
331
321
  * 2
@@ -333,7 +323,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
333
323
  rerankFactor?: number;
334
324
  /**
335
325
  * @remarks
336
- * The parameters for the reranking model.
326
+ * The rerank model parameters.
337
327
  */
338
328
  rerankModel?: QueryContentAdvanceRequestRerankModel;
339
329
  /**
@@ -348,11 +338,10 @@ export class QueryContentAdvanceRequest extends $dara.Model {
348
338
  * @remarks
349
339
  * The validity period of the returned image URL.
350
340
  *
351
- * > - The value can be specified in seconds (s) or days (d). For example, `300s` indicates that the link is valid for 300 seconds, and `60d` indicates that the link is valid for 60 days.
352
- * >
353
- * > - The value must be in the range of `60s` to `365d`.
354
- * >
355
- * > - Default value: `7200s` (2 hours).
341
+ * > Valid values:
342
+ * > - Supports seconds (s) and days (d) as units. For example, 300s indicates a validity period of 300 seconds, and 60d indicates a validity period of 60 days.
343
+ * > - Valid values: 60s to 365d.
344
+ * > - Default value: 7200s (2 hours).
356
345
  *
357
346
  * @example
358
347
  * 7200s
@@ -360,7 +349,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
360
349
  urlExpiration?: string;
361
350
  /**
362
351
  * @remarks
363
- * (Deprecated) Specifies whether to use full-text search (dual-channel recall). The default value is `false`, which means only vector retrieval is used.
352
+ * (Deprecated) Specifies whether to use full-text retrieval (dual-path recall). Default value: false, which indicates that only vector retrieval is used.
364
353
  *
365
354
  * @example
366
355
  * true