@alicloud/gpdb20160503 3.11.0 → 3.11.1
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 +56 -56
- package/dist/client.js +61 -59
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApiKeyRequest.d.ts +14 -0
- package/dist/models/CreateApiKeyRequest.js.map +1 -1
- package/dist/models/CreateApiKeyResponseBody.d.ts +9 -0
- package/dist/models/CreateApiKeyResponseBody.js.map +1 -1
- package/dist/models/CreateApiKeyShrinkRequest.d.ts +14 -0
- package/dist/models/CreateApiKeyShrinkRequest.js.map +1 -1
- package/dist/models/CreateDbinstanceRequest.d.ts +116 -171
- package/dist/models/CreateDbinstanceRequest.js.map +1 -1
- package/dist/models/CreateDbinstanceResponseBody.d.ts +3 -3
- package/dist/models/CreateSupabaseProjectRequest.d.ts +20 -5
- package/dist/models/CreateSupabaseProjectRequest.js +27 -1
- package/dist/models/CreateSupabaseProjectRequest.js.map +1 -1
- package/dist/models/CreateSupabaseProjectResponseBody.d.ts +2 -2
- package/dist/models/DeleteApiKeyRequest.d.ts +5 -0
- package/dist/models/DeleteApiKeyRequest.js.map +1 -1
- package/dist/models/DeleteApiKeyResponseBody.d.ts +6 -0
- package/dist/models/DeleteApiKeyResponseBody.js.map +1 -1
- package/dist/models/DeleteWorkspaceRequest.d.ts +5 -0
- package/dist/models/DeleteWorkspaceRequest.js.map +1 -1
- package/dist/models/DeleteWorkspaceResponseBody.d.ts +6 -0
- package/dist/models/DeleteWorkspaceResponseBody.js.map +1 -1
- package/dist/models/GetApiKeyRequest.d.ts +5 -0
- package/dist/models/GetApiKeyRequest.js.map +1 -1
- package/dist/models/GetApiKeyResponseBody.d.ts +34 -0
- package/dist/models/GetApiKeyResponseBody.js.map +1 -1
- package/dist/models/GetSaasServiceRequest.d.ts +5 -0
- package/dist/models/GetSaasServiceRequest.js.map +1 -1
- package/dist/models/GetSaasServiceResponseBody.d.ts +38 -0
- package/dist/models/GetSaasServiceResponseBody.js.map +1 -1
- package/dist/models/GetServiceAccessInfoRequest.d.ts +5 -0
- package/dist/models/GetServiceAccessInfoRequest.js.map +1 -1
- package/dist/models/GetServiceAccessInfoResponseBody.d.ts +9 -0
- package/dist/models/GetServiceAccessInfoResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceRequest.d.ts +5 -0
- package/dist/models/GetWorkspaceRequest.js.map +1 -1
- package/dist/models/GetWorkspaceResponseBody.d.ts +83 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
- package/dist/models/ListApiKeysRequest.d.ts +14 -0
- package/dist/models/ListApiKeysRequest.js.map +1 -1
- package/dist/models/ListApiKeysResponseBody.d.ts +45 -0
- package/dist/models/ListApiKeysResponseBody.js.map +1 -1
- package/dist/models/ListSaasServiceRequest.d.ts +1 -1
- package/dist/models/ListSaasServiceResponseBody.d.ts +21 -1
- package/dist/models/ListSaasServiceResponseBody.js +37 -1
- package/dist/models/ListSaasServiceResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +21 -1
- package/dist/models/ListWorkspacesResponseBody.js +37 -1
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- package/dist/models/PauseSaasServiceRequest.d.ts +5 -0
- package/dist/models/PauseSaasServiceRequest.js.map +1 -1
- package/dist/models/PauseSaasServiceResponseBody.d.ts +6 -0
- package/dist/models/PauseSaasServiceResponseBody.js.map +1 -1
- package/dist/models/QueryContentAdvanceRequest.d.ts +26 -27
- package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
- package/dist/models/QueryContentRequest.d.ts +26 -27
- package/dist/models/QueryContentRequest.js.map +1 -1
- package/dist/models/QueryContentResponseBody.d.ts +2 -2
- package/dist/models/QueryContentShrinkRequest.d.ts +24 -24
- package/dist/models/ResumeSaasServiceRequest.d.ts +5 -0
- package/dist/models/ResumeSaasServiceRequest.js.map +1 -1
- package/dist/models/ResumeSaasServiceResponseBody.d.ts +6 -0
- package/dist/models/ResumeSaasServiceResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +38 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +62 -59
- package/src/models/CreateApiKeyRequest.ts +14 -0
- package/src/models/CreateApiKeyResponseBody.ts +9 -0
- package/src/models/CreateApiKeyShrinkRequest.ts +14 -0
- package/src/models/CreateDbinstanceRequest.ts +124 -179
- package/src/models/CreateDbinstanceResponseBody.ts +3 -3
- package/src/models/CreateSupabaseProjectRequest.ts +37 -5
- package/src/models/CreateSupabaseProjectResponseBody.ts +2 -2
- package/src/models/DeleteApiKeyRequest.ts +5 -0
- package/src/models/DeleteApiKeyResponseBody.ts +6 -0
- package/src/models/DeleteWorkspaceRequest.ts +5 -0
- package/src/models/DeleteWorkspaceResponseBody.ts +6 -0
- package/src/models/GetApiKeyRequest.ts +5 -0
- package/src/models/GetApiKeyResponseBody.ts +34 -0
- package/src/models/GetSaasServiceRequest.ts +5 -0
- package/src/models/GetSaasServiceResponseBody.ts +38 -0
- package/src/models/GetServiceAccessInfoRequest.ts +5 -0
- package/src/models/GetServiceAccessInfoResponseBody.ts +9 -0
- package/src/models/GetWorkspaceRequest.ts +5 -0
- package/src/models/GetWorkspaceResponseBody.ts +83 -0
- package/src/models/ListApiKeysRequest.ts +14 -0
- package/src/models/ListApiKeysResponseBody.ts +45 -0
- package/src/models/ListSaasServiceRequest.ts +1 -1
- package/src/models/ListSaasServiceResponseBody.ts +48 -1
- package/src/models/ListWorkspacesResponseBody.ts +48 -1
- package/src/models/PauseSaasServiceRequest.ts +5 -0
- package/src/models/PauseSaasServiceResponseBody.ts +6 -0
- package/src/models/QueryContentAdvanceRequest.ts +26 -27
- package/src/models/QueryContentRequest.ts +26 -27
- package/src/models/QueryContentResponseBody.ts +2 -2
- package/src/models/QueryContentShrinkRequest.ts +24 -24
- package/src/models/ResumeSaasServiceRequest.ts +5 -0
- package/src/models/ResumeSaasServiceResponseBody.ts +6 -0
- package/src/models/model.ts +3 -0
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class PauseSaasServiceResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The request ID.
|
|
6
|
+
*
|
|
4
7
|
* @example
|
|
5
8
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
6
9
|
*/
|
|
7
10
|
requestId?: string;
|
|
8
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The service ID.
|
|
14
|
+
*
|
|
9
15
|
* @example
|
|
10
16
|
* drama-123456
|
|
11
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PauseSaasServiceResponseBody.js","sourceRoot":"","sources":["../../src/models/PauseSaasServiceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"PauseSaasServiceResponseBody.js","sourceRoot":"","sources":["../../src/models/PauseSaasServiceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAiB3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,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;AAtCD,oEAsCC"}
|
|
@@ -23,8 +23,7 @@ export declare class QueryContentAdvanceRequestGraphSearchArgs extends $dara.Mod
|
|
|
23
23
|
export declare class QueryContentAdvanceRequestRerankModel extends $dara.Model {
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* This parameter can be set when RerankModel.Name is qwen3-rerank.
|
|
27
|
-
* Adds a custom sorting task type description. This parameter guides the model to adopt different sorting strategies.
|
|
26
|
+
* This parameter can be set when RerankModel.Name is qwen3-rerank. Specifies a custom sorting task type description that guides the model to adopt different sorting strategies.
|
|
28
27
|
*
|
|
29
28
|
* @example
|
|
30
29
|
* Given a web search query, retrieve relevant passages that answer the query
|
|
@@ -32,7 +31,7 @@ export declare class QueryContentAdvanceRequestRerankModel extends $dara.Model {
|
|
|
32
31
|
instruct?: string;
|
|
33
32
|
/**
|
|
34
33
|
* @remarks
|
|
35
|
-
* The
|
|
34
|
+
* The rerank model name. Valid values: qwen3-rerank, gte-rerank-v2.
|
|
36
35
|
*
|
|
37
36
|
* @example
|
|
38
37
|
* qwen3-rerank
|
|
@@ -87,7 +86,7 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
87
86
|
* @remarks
|
|
88
87
|
* The name of the source image file to search in image-to-image search scenarios.
|
|
89
88
|
*
|
|
90
|
-
* > The image file must have a file extension.
|
|
89
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
91
90
|
*
|
|
92
91
|
* @example
|
|
93
92
|
* test.jpg
|
|
@@ -97,7 +96,7 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
97
96
|
* @remarks
|
|
98
97
|
* The publicly accessible URL of the image file in image-to-image search scenarios.
|
|
99
98
|
*
|
|
100
|
-
* > The image file must have a file extension.
|
|
99
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
101
100
|
*
|
|
102
101
|
* @example
|
|
103
102
|
* https://xx/myImage.jpg
|
|
@@ -105,10 +104,10 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
105
104
|
fileUrlObject?: Readable;
|
|
106
105
|
/**
|
|
107
106
|
* @remarks
|
|
108
|
-
* The filter condition for the data to query, in SQL WHERE clause format. The
|
|
107
|
+
* The filter condition for the data to query, in SQL WHERE clause format. The expression 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 IN, BETWEEN, and LIKE keywords.
|
|
109
108
|
*
|
|
110
109
|
* >
|
|
111
|
-
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where
|
|
110
|
+
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/
|
|
112
111
|
*
|
|
113
112
|
* @example
|
|
114
113
|
* title = \\"test\\" AND name like \\"test%\\"
|
|
@@ -129,13 +128,13 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
129
128
|
graphSearchArgs?: QueryContentAdvanceRequestGraphSearchArgs;
|
|
130
129
|
/**
|
|
131
130
|
* @remarks
|
|
132
|
-
* The multi-channel recall algorithm. Default value: empty
|
|
131
|
+
* The multi-channel recall algorithm. Default value: empty (scores from dense vectors and full-text retrieve are directly compared and sorting is performed).
|
|
133
132
|
*
|
|
134
133
|
* Valid values:
|
|
135
134
|
*
|
|
136
|
-
* - RRF: Reciprocal
|
|
137
|
-
* - Weight: Weighted sorting. Parameters control the score weights of
|
|
138
|
-
* - Cascaded: Full-text
|
|
135
|
+
* - RRF: Reciprocal rank fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.
|
|
136
|
+
* - Weight: Weighted sorting. Parameters control the score weights of vector retrieve and full-text retrieve results before sorting. For more information, see the HybridSearchArgs configuration.
|
|
137
|
+
* - Cascaded: Full-text retrieve is performed first, followed by vector retrieve on the full-text retrieve results.
|
|
139
138
|
*
|
|
140
139
|
* @example
|
|
141
140
|
* RRF
|
|
@@ -143,9 +142,9 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
143
142
|
hybridSearch?: string;
|
|
144
143
|
/**
|
|
145
144
|
* @remarks
|
|
146
|
-
* 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
|
|
145
|
+
* The algorithm parameters for multi-channel recall. Currently, RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text retrieve (fulltext). If the value is empty, dense vectors (dense) and full-text retrieve (fulltext) are recalled by default.
|
|
147
146
|
*
|
|
148
|
-
* - RRF: Specifies the constant
|
|
147
|
+
* - RRF: Specifies the k constant in the score calculation formula `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:
|
|
149
148
|
* ```
|
|
150
149
|
* {
|
|
151
150
|
* "HybridPathsSetting": {
|
|
@@ -159,7 +158,7 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
159
158
|
*
|
|
160
159
|
* - Weight:
|
|
161
160
|
* - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):
|
|
162
|
-
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text
|
|
161
|
+
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text retrieve. Valid values: 0 to 1, where 0 indicates full-text retrieve only and 1 indicates dense vectors only:
|
|
163
162
|
* ```
|
|
164
163
|
* {
|
|
165
164
|
* "Weight": {
|
|
@@ -168,7 +167,7 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
168
167
|
* }
|
|
169
168
|
* ```
|
|
170
169
|
* - Three-path recall pattern:
|
|
171
|
-
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext
|
|
170
|
+
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext parameters represent the weights of dense vectors, sparse vectors, and full-text retrieve respectively. Valid values: greater than or equal to 0. The system automatically performs normalization on the weights to 0–1 (normalized_x = x / (dense + sparse + fulltext)).
|
|
172
171
|
* ```
|
|
173
172
|
* {
|
|
174
173
|
* "HybridPathsSetting": {
|
|
@@ -197,7 +196,7 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
197
196
|
includeFileUrl?: boolean;
|
|
198
197
|
/**
|
|
199
198
|
* @remarks
|
|
200
|
-
* The metadata fields to return. Default value: empty.
|
|
199
|
+
* The metadata fields to return, separated by commas. Default value: empty.
|
|
201
200
|
*
|
|
202
201
|
* @example
|
|
203
202
|
* title,page
|
|
@@ -215,7 +214,7 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
215
214
|
includeVector?: boolean;
|
|
216
215
|
/**
|
|
217
216
|
* @remarks
|
|
218
|
-
* The similarity algorithm used
|
|
217
|
+
* The similarity algorithm used during 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.
|
|
219
218
|
*
|
|
220
219
|
* > Valid values:
|
|
221
220
|
* > - **l2**: Euclidean distance.
|
|
@@ -230,7 +229,7 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
230
229
|
* @remarks
|
|
231
230
|
* The namespace. Default value: public.
|
|
232
231
|
*
|
|
233
|
-
* > 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.
|
|
232
|
+
* > You can create a namespace by calling the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation and query the list of namespaces by calling the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation.
|
|
234
233
|
*
|
|
235
234
|
* @example
|
|
236
235
|
* mynamespace
|
|
@@ -250,7 +249,7 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
250
249
|
namespacePassword?: string;
|
|
251
250
|
/**
|
|
252
251
|
* @remarks
|
|
253
|
-
* The offset for
|
|
252
|
+
* The offset for paging query.
|
|
254
253
|
*
|
|
255
254
|
* @example
|
|
256
255
|
* 0
|
|
@@ -260,9 +259,9 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
260
259
|
* @remarks
|
|
261
260
|
* The field used for sorting. Default value: empty.
|
|
262
261
|
*
|
|
263
|
-
* The field must belong to metadata or a default field in the table
|
|
262
|
+
* The field must belong to metadata or a default field in the table such as id. Supported formats:
|
|
264
263
|
*
|
|
265
|
-
*
|
|
264
|
+
* Single field, such as chunk_id.
|
|
266
265
|
* Multiple fields separated by commas, such as block_id, chunk_id.
|
|
267
266
|
* Descending order, such as block_id DESC, chunk_id DESC.
|
|
268
267
|
*
|
|
@@ -273,9 +272,9 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
273
272
|
ownerId?: number;
|
|
274
273
|
/**
|
|
275
274
|
* @remarks
|
|
276
|
-
* The recall window. When this value is not empty,
|
|
275
|
+
* The recall window. When this value is not empty, the context of the retrieval results is also returned. The format is a 2-element array: List<A, B>, where -10<=A<=0 and 0<=B<=10.
|
|
277
276
|
* > - Use this parameter when documents are split into overly small chunks and retrieval may lose contextual information.
|
|
278
|
-
* > - Reranking takes priority over windowing
|
|
277
|
+
* > - Reranking takes priority over windowing, meaning reranking is performed first, followed by windowing.
|
|
279
278
|
*/
|
|
280
279
|
recallWindow?: number[];
|
|
281
280
|
/**
|
|
@@ -290,9 +289,9 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
290
289
|
regionId?: string;
|
|
291
290
|
/**
|
|
292
291
|
* @remarks
|
|
293
|
-
* The reranking factor. When this value is not empty, the
|
|
294
|
-
* > - Reranking is
|
|
295
|
-
* > - The total number of
|
|
292
|
+
* The reranking factor. When this value is not empty, the vector retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.
|
|
293
|
+
* > - Reranking is slower when documents are sparsely chunked.
|
|
294
|
+
* > - The total number of items to rerank (TopK × Factor, rounded up) should not exceed 50.
|
|
296
295
|
*
|
|
297
296
|
* @example
|
|
298
297
|
* 2
|
|
@@ -326,7 +325,7 @@ export declare class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
326
325
|
urlExpiration?: string;
|
|
327
326
|
/**
|
|
328
327
|
* @remarks
|
|
329
|
-
*
|
|
328
|
+
* **[Deprecated]** Specifies whether to use full-text retrieve (dual-path recall). Default value: false, which indicates that only vector retrieve is used.
|
|
330
329
|
*
|
|
331
330
|
* @example
|
|
332
331
|
* true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryContentAdvanceRequest.js","sourceRoot":"","sources":["../../src/models/QueryContentAdvanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,6DAA+C;AAG/C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IASxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,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;AA5BD,8FA4BC;AAED,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"QueryContentAdvanceRequest.js","sourceRoot":"","sources":["../../src/models/QueryContentAdvanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,6DAA+C;AAG/C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAS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,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACvF,IAAI,CAAC,eAAuB,CAAC,QAAQ,EAAE,CAAC;QAC3C,CAAC;QACD,IAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACzB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACjD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,IAAG,IAAI,CAAC,WAAW,IAAI,OAAQ,IAAI,CAAC,WAAmB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/E,IAAI,CAAC,WAAmB,CAAC,QAAQ,EAAE,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvWD,gEAuWC"}
|
|
@@ -22,8 +22,7 @@ export declare class QueryContentRequestGraphSearchArgs extends $dara.Model {
|
|
|
22
22
|
export declare class QueryContentRequestRerankModel extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* This parameter can be set when RerankModel.Name is qwen3-rerank.
|
|
26
|
-
* Adds a custom sorting task type description. This parameter guides the model to adopt different sorting strategies.
|
|
25
|
+
* This parameter can be set when RerankModel.Name is qwen3-rerank. Specifies a custom sorting task type description that guides the model to adopt different sorting strategies.
|
|
27
26
|
*
|
|
28
27
|
* @example
|
|
29
28
|
* Given a web search query, retrieve relevant passages that answer the query
|
|
@@ -31,7 +30,7 @@ export declare class QueryContentRequestRerankModel extends $dara.Model {
|
|
|
31
30
|
instruct?: string;
|
|
32
31
|
/**
|
|
33
32
|
* @remarks
|
|
34
|
-
* The
|
|
33
|
+
* The rerank model name. Valid values: qwen3-rerank, gte-rerank-v2.
|
|
35
34
|
*
|
|
36
35
|
* @example
|
|
37
36
|
* qwen3-rerank
|
|
@@ -86,7 +85,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
86
85
|
* @remarks
|
|
87
86
|
* The name of the source image file to search in image-to-image search scenarios.
|
|
88
87
|
*
|
|
89
|
-
* > The image file must have a file extension.
|
|
88
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
90
89
|
*
|
|
91
90
|
* @example
|
|
92
91
|
* test.jpg
|
|
@@ -96,7 +95,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
96
95
|
* @remarks
|
|
97
96
|
* The publicly accessible URL of the image file in image-to-image search scenarios.
|
|
98
97
|
*
|
|
99
|
-
* > The image file must have a file extension.
|
|
98
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
100
99
|
*
|
|
101
100
|
* @example
|
|
102
101
|
* https://xx/myImage.jpg
|
|
@@ -104,10 +103,10 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
104
103
|
fileUrl?: string;
|
|
105
104
|
/**
|
|
106
105
|
* @remarks
|
|
107
|
-
* The filter condition for the data to query, in SQL WHERE clause format. The
|
|
106
|
+
* The filter condition for the data to query, in SQL WHERE clause format. The expression 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 IN, BETWEEN, and LIKE keywords.
|
|
108
107
|
*
|
|
109
108
|
* >
|
|
110
|
-
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where
|
|
109
|
+
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/
|
|
111
110
|
*
|
|
112
111
|
* @example
|
|
113
112
|
* title = \\"test\\" AND name like \\"test%\\"
|
|
@@ -128,13 +127,13 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
128
127
|
graphSearchArgs?: QueryContentRequestGraphSearchArgs;
|
|
129
128
|
/**
|
|
130
129
|
* @remarks
|
|
131
|
-
* The multi-channel recall algorithm. Default value: empty
|
|
130
|
+
* The multi-channel recall algorithm. Default value: empty (scores from dense vectors and full-text retrieve are directly compared and sorting is performed).
|
|
132
131
|
*
|
|
133
132
|
* Valid values:
|
|
134
133
|
*
|
|
135
|
-
* - RRF: Reciprocal
|
|
136
|
-
* - Weight: Weighted sorting. Parameters control the score weights of
|
|
137
|
-
* - Cascaded: Full-text
|
|
134
|
+
* - RRF: Reciprocal rank fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.
|
|
135
|
+
* - Weight: Weighted sorting. Parameters control the score weights of vector retrieve and full-text retrieve results before sorting. For more information, see the HybridSearchArgs configuration.
|
|
136
|
+
* - Cascaded: Full-text retrieve is performed first, followed by vector retrieve on the full-text retrieve results.
|
|
138
137
|
*
|
|
139
138
|
* @example
|
|
140
139
|
* RRF
|
|
@@ -142,9 +141,9 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
142
141
|
hybridSearch?: string;
|
|
143
142
|
/**
|
|
144
143
|
* @remarks
|
|
145
|
-
* 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
|
|
144
|
+
* The algorithm parameters for multi-channel recall. Currently, RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text retrieve (fulltext). If the value is empty, dense vectors (dense) and full-text retrieve (fulltext) are recalled by default.
|
|
146
145
|
*
|
|
147
|
-
* - RRF: Specifies the constant
|
|
146
|
+
* - RRF: Specifies the k constant in the score calculation formula `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:
|
|
148
147
|
* ```
|
|
149
148
|
* {
|
|
150
149
|
* "HybridPathsSetting": {
|
|
@@ -158,7 +157,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
158
157
|
*
|
|
159
158
|
* - Weight:
|
|
160
159
|
* - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):
|
|
161
|
-
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text
|
|
160
|
+
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text retrieve. Valid values: 0 to 1, where 0 indicates full-text retrieve only and 1 indicates dense vectors only:
|
|
162
161
|
* ```
|
|
163
162
|
* {
|
|
164
163
|
* "Weight": {
|
|
@@ -167,7 +166,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
167
166
|
* }
|
|
168
167
|
* ```
|
|
169
168
|
* - Three-path recall pattern:
|
|
170
|
-
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext
|
|
169
|
+
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext parameters represent the weights of dense vectors, sparse vectors, and full-text retrieve respectively. Valid values: greater than or equal to 0. The system automatically performs normalization on the weights to 0–1 (normalized_x = x / (dense + sparse + fulltext)).
|
|
171
170
|
* ```
|
|
172
171
|
* {
|
|
173
172
|
* "HybridPathsSetting": {
|
|
@@ -196,7 +195,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
196
195
|
includeFileUrl?: boolean;
|
|
197
196
|
/**
|
|
198
197
|
* @remarks
|
|
199
|
-
* The metadata fields to return. Default value: empty.
|
|
198
|
+
* The metadata fields to return, separated by commas. Default value: empty.
|
|
200
199
|
*
|
|
201
200
|
* @example
|
|
202
201
|
* title,page
|
|
@@ -214,7 +213,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
214
213
|
includeVector?: boolean;
|
|
215
214
|
/**
|
|
216
215
|
* @remarks
|
|
217
|
-
* The similarity algorithm used
|
|
216
|
+
* The similarity algorithm used during 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.
|
|
218
217
|
*
|
|
219
218
|
* > Valid values:
|
|
220
219
|
* > - **l2**: Euclidean distance.
|
|
@@ -229,7 +228,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
229
228
|
* @remarks
|
|
230
229
|
* The namespace. Default value: public.
|
|
231
230
|
*
|
|
232
|
-
* > 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.
|
|
231
|
+
* > You can create a namespace by calling the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation and query the list of namespaces by calling the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation.
|
|
233
232
|
*
|
|
234
233
|
* @example
|
|
235
234
|
* mynamespace
|
|
@@ -249,7 +248,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
249
248
|
namespacePassword?: string;
|
|
250
249
|
/**
|
|
251
250
|
* @remarks
|
|
252
|
-
* The offset for
|
|
251
|
+
* The offset for paging query.
|
|
253
252
|
*
|
|
254
253
|
* @example
|
|
255
254
|
* 0
|
|
@@ -259,9 +258,9 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
259
258
|
* @remarks
|
|
260
259
|
* The field used for sorting. Default value: empty.
|
|
261
260
|
*
|
|
262
|
-
* The field must belong to metadata or a default field in the table
|
|
261
|
+
* The field must belong to metadata or a default field in the table such as id. Supported formats:
|
|
263
262
|
*
|
|
264
|
-
*
|
|
263
|
+
* Single field, such as chunk_id.
|
|
265
264
|
* Multiple fields separated by commas, such as block_id, chunk_id.
|
|
266
265
|
* Descending order, such as block_id DESC, chunk_id DESC.
|
|
267
266
|
*
|
|
@@ -272,9 +271,9 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
272
271
|
ownerId?: number;
|
|
273
272
|
/**
|
|
274
273
|
* @remarks
|
|
275
|
-
* The recall window. When this value is not empty,
|
|
274
|
+
* The recall window. When this value is not empty, the context of the retrieval results is also returned. The format is a 2-element array: List<A, B>, where -10<=A<=0 and 0<=B<=10.
|
|
276
275
|
* > - Use this parameter when documents are split into overly small chunks and retrieval may lose contextual information.
|
|
277
|
-
* > - Reranking takes priority over windowing
|
|
276
|
+
* > - Reranking takes priority over windowing, meaning reranking is performed first, followed by windowing.
|
|
278
277
|
*/
|
|
279
278
|
recallWindow?: number[];
|
|
280
279
|
/**
|
|
@@ -289,9 +288,9 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
289
288
|
regionId?: string;
|
|
290
289
|
/**
|
|
291
290
|
* @remarks
|
|
292
|
-
* The reranking factor. When this value is not empty, the
|
|
293
|
-
* > - Reranking is
|
|
294
|
-
* > - The total number of
|
|
291
|
+
* The reranking factor. When this value is not empty, the vector retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.
|
|
292
|
+
* > - Reranking is slower when documents are sparsely chunked.
|
|
293
|
+
* > - The total number of items to rerank (TopK × Factor, rounded up) should not exceed 50.
|
|
295
294
|
*
|
|
296
295
|
* @example
|
|
297
296
|
* 2
|
|
@@ -325,7 +324,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
325
324
|
urlExpiration?: string;
|
|
326
325
|
/**
|
|
327
326
|
* @remarks
|
|
328
|
-
*
|
|
327
|
+
* **[Deprecated]** Specifies whether to use full-text retrieve (dual-path recall). Default value: false, which indicates that only vector retrieve is used.
|
|
329
328
|
*
|
|
330
329
|
* @example
|
|
331
330
|
* true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryContentRequest.js","sourceRoot":"","sources":["../../src/models/QueryContentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IASjE,MAAM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kDAuWC"}
|
|
@@ -233,8 +233,8 @@ export declare class QueryContentResponseBody extends $dara.Model {
|
|
|
233
233
|
* @remarks
|
|
234
234
|
* The status. Valid values:
|
|
235
235
|
*
|
|
236
|
-
* - **success**:
|
|
237
|
-
* - **fail**:
|
|
236
|
+
* - **success**: The operation is successful.
|
|
237
|
+
* - **fail**: The operation failed.
|
|
238
238
|
*
|
|
239
239
|
* @example
|
|
240
240
|
* success
|
|
@@ -36,7 +36,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
36
36
|
* @remarks
|
|
37
37
|
* The name of the source image file to search in image-to-image search scenarios.
|
|
38
38
|
*
|
|
39
|
-
* > The image file must have a file extension.
|
|
39
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* test.jpg
|
|
@@ -46,7 +46,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
46
46
|
* @remarks
|
|
47
47
|
* The publicly accessible URL of the image file in image-to-image search scenarios.
|
|
48
48
|
*
|
|
49
|
-
* > The image file must have a file extension.
|
|
49
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* https://xx/myImage.jpg
|
|
@@ -54,10 +54,10 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
54
54
|
fileUrl?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The filter condition for the data to query, in SQL WHERE clause format. The
|
|
57
|
+
* The filter condition for the data to query, in SQL WHERE clause format. The expression 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 IN, BETWEEN, and LIKE keywords.
|
|
58
58
|
*
|
|
59
59
|
* >
|
|
60
|
-
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where
|
|
60
|
+
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* title = \\"test\\" AND name like \\"test%\\"
|
|
@@ -78,13 +78,13 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
78
78
|
graphSearchArgsShrink?: string;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The multi-channel recall algorithm. Default value: empty
|
|
81
|
+
* The multi-channel recall algorithm. Default value: empty (scores from dense vectors and full-text retrieve are directly compared and sorting is performed).
|
|
82
82
|
*
|
|
83
83
|
* Valid values:
|
|
84
84
|
*
|
|
85
|
-
* - RRF: Reciprocal
|
|
86
|
-
* - Weight: Weighted sorting. Parameters control the score weights of
|
|
87
|
-
* - Cascaded: Full-text
|
|
85
|
+
* - RRF: Reciprocal rank fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.
|
|
86
|
+
* - Weight: Weighted sorting. Parameters control the score weights of vector retrieve and full-text retrieve results before sorting. For more information, see the HybridSearchArgs configuration.
|
|
87
|
+
* - Cascaded: Full-text retrieve is performed first, followed by vector retrieve on the full-text retrieve results.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
90
|
* RRF
|
|
@@ -92,9 +92,9 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
92
92
|
hybridSearch?: string;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* 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
|
|
95
|
+
* The algorithm parameters for multi-channel recall. Currently, RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text retrieve (fulltext). If the value is empty, dense vectors (dense) and full-text retrieve (fulltext) are recalled by default.
|
|
96
96
|
*
|
|
97
|
-
* - RRF: Specifies the constant
|
|
97
|
+
* - RRF: Specifies the k constant in the score calculation formula `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:
|
|
98
98
|
* ```
|
|
99
99
|
* {
|
|
100
100
|
* "HybridPathsSetting": {
|
|
@@ -108,7 +108,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
108
108
|
*
|
|
109
109
|
* - Weight:
|
|
110
110
|
* - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):
|
|
111
|
-
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text
|
|
111
|
+
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text retrieve. Valid values: 0 to 1, where 0 indicates full-text retrieve only and 1 indicates dense vectors only:
|
|
112
112
|
* ```
|
|
113
113
|
* {
|
|
114
114
|
* "Weight": {
|
|
@@ -117,7 +117,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
117
117
|
* }
|
|
118
118
|
* ```
|
|
119
119
|
* - Three-path recall pattern:
|
|
120
|
-
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext
|
|
120
|
+
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext parameters represent the weights of dense vectors, sparse vectors, and full-text retrieve respectively. Valid values: greater than or equal to 0. The system automatically performs normalization on the weights to 0–1 (normalized_x = x / (dense + sparse + fulltext)).
|
|
121
121
|
* ```
|
|
122
122
|
* {
|
|
123
123
|
* "HybridPathsSetting": {
|
|
@@ -142,7 +142,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
142
142
|
includeFileUrl?: boolean;
|
|
143
143
|
/**
|
|
144
144
|
* @remarks
|
|
145
|
-
* The metadata fields to return. Default value: empty.
|
|
145
|
+
* The metadata fields to return, separated by commas. Default value: empty.
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* title,page
|
|
@@ -160,7 +160,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
160
160
|
includeVector?: boolean;
|
|
161
161
|
/**
|
|
162
162
|
* @remarks
|
|
163
|
-
* The similarity algorithm used
|
|
163
|
+
* The similarity algorithm used during 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.
|
|
164
164
|
*
|
|
165
165
|
* > Valid values:
|
|
166
166
|
* > - **l2**: Euclidean distance.
|
|
@@ -175,7 +175,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
175
175
|
* @remarks
|
|
176
176
|
* The namespace. Default value: public.
|
|
177
177
|
*
|
|
178
|
-
* > 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.
|
|
178
|
+
* > You can create a namespace by calling the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation and query the list of namespaces by calling the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation.
|
|
179
179
|
*
|
|
180
180
|
* @example
|
|
181
181
|
* mynamespace
|
|
@@ -195,7 +195,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
195
195
|
namespacePassword?: string;
|
|
196
196
|
/**
|
|
197
197
|
* @remarks
|
|
198
|
-
* The offset for
|
|
198
|
+
* The offset for paging query.
|
|
199
199
|
*
|
|
200
200
|
* @example
|
|
201
201
|
* 0
|
|
@@ -205,9 +205,9 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
205
205
|
* @remarks
|
|
206
206
|
* The field used for sorting. Default value: empty.
|
|
207
207
|
*
|
|
208
|
-
* The field must belong to metadata or a default field in the table
|
|
208
|
+
* The field must belong to metadata or a default field in the table such as id. Supported formats:
|
|
209
209
|
*
|
|
210
|
-
*
|
|
210
|
+
* Single field, such as chunk_id.
|
|
211
211
|
* Multiple fields separated by commas, such as block_id, chunk_id.
|
|
212
212
|
* Descending order, such as block_id DESC, chunk_id DESC.
|
|
213
213
|
*
|
|
@@ -218,9 +218,9 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
218
218
|
ownerId?: number;
|
|
219
219
|
/**
|
|
220
220
|
* @remarks
|
|
221
|
-
* The recall window. When this value is not empty,
|
|
221
|
+
* The recall window. When this value is not empty, the context of the retrieval results is also returned. The format is a 2-element array: List<A, B>, where -10<=A<=0 and 0<=B<=10.
|
|
222
222
|
* > - Use this parameter when documents are split into overly small chunks and retrieval may lose contextual information.
|
|
223
|
-
* > - Reranking takes priority over windowing
|
|
223
|
+
* > - Reranking takes priority over windowing, meaning reranking is performed first, followed by windowing.
|
|
224
224
|
*/
|
|
225
225
|
recallWindowShrink?: string;
|
|
226
226
|
/**
|
|
@@ -235,9 +235,9 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
235
235
|
regionId?: string;
|
|
236
236
|
/**
|
|
237
237
|
* @remarks
|
|
238
|
-
* The reranking factor. When this value is not empty, the
|
|
239
|
-
* > - Reranking is
|
|
240
|
-
* > - The total number of
|
|
238
|
+
* The reranking factor. When this value is not empty, the vector retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.
|
|
239
|
+
* > - Reranking is slower when documents are sparsely chunked.
|
|
240
|
+
* > - The total number of items to rerank (TopK × Factor, rounded up) should not exceed 50.
|
|
241
241
|
*
|
|
242
242
|
* @example
|
|
243
243
|
* 2
|
|
@@ -271,7 +271,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
271
271
|
urlExpiration?: string;
|
|
272
272
|
/**
|
|
273
273
|
* @remarks
|
|
274
|
-
*
|
|
274
|
+
* **[Deprecated]** Specifies whether to use full-text retrieve (dual-path recall). Default value: false, which indicates that only vector retrieve is used.
|
|
275
275
|
*
|
|
276
276
|
* @example
|
|
277
277
|
* true
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ResumeSaasServiceRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The region ID of the SaaS service.
|
|
6
|
+
*
|
|
4
7
|
* @example
|
|
5
8
|
* cn-hangzhou
|
|
6
9
|
*/
|
|
7
10
|
regionId?: string;
|
|
8
11
|
/**
|
|
9
12
|
* @remarks
|
|
13
|
+
* The service ID.
|
|
14
|
+
*
|
|
10
15
|
* This parameter is required.
|
|
11
16
|
*
|
|
12
17
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResumeSaasServiceRequest.js","sourceRoot":"","sources":["../../src/models/ResumeSaasServiceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ResumeSaasServiceRequest.js","sourceRoot":"","sources":["../../src/models/ResumeSaasServiceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAmBvD,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;AAxCD,4DAwCC"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ResumeSaasServiceResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The request ID.
|
|
6
|
+
*
|
|
4
7
|
* @example
|
|
5
8
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
6
9
|
*/
|
|
7
10
|
requestId?: string;
|
|
8
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The service ID.
|
|
14
|
+
*
|
|
9
15
|
* @example
|
|
10
16
|
* drama-123456
|
|
11
17
|
*/
|