@alicloud/bailian20231229 2.7.2 → 2.8.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.
@@ -425,6 +425,7 @@ export class CreateIndexRequest extends $dara.Model {
425
425
  * regex
426
426
  */
427
427
  chunkMode?: string;
428
+ connectId?: string;
428
429
  database?: string;
429
430
  datasourceCode?: string;
430
431
  /**
@@ -444,6 +445,7 @@ export class CreateIndexRequest extends $dara.Model {
444
445
  * false
445
446
  */
446
447
  enableHeaders?: boolean;
448
+ knowledgeScene?: string;
447
449
  /**
448
450
  * @remarks
449
451
  * The metadata extraction configurations. Metadata refers to a set of additional attributes associated with unstructured data, which are integrated into text chunks in key-value pairs. For more information, see [Knowledge base](https://help.aliyun.com/document_detail/2807740.html).
@@ -488,9 +490,11 @@ export class CreateIndexRequest extends $dara.Model {
488
490
  structureType: 'StructureType',
489
491
  tableIds: 'TableIds',
490
492
  chunkMode: 'chunkMode',
493
+ connectId: 'connectId',
491
494
  database: 'database',
492
495
  datasourceCode: 'datasourceCode',
493
496
  enableHeaders: 'enableHeaders',
497
+ knowledgeScene: 'knowledgeScene',
494
498
  metaExtractColumns: 'metaExtractColumns',
495
499
  pipelineCommercialCu: 'pipelineCommercialCu',
496
500
  pipelineCommercialType: 'pipelineCommercialType',
@@ -522,9 +526,11 @@ export class CreateIndexRequest extends $dara.Model {
522
526
  structureType: 'string',
523
527
  tableIds: { 'type': 'array', 'itemType': 'string' },
524
528
  chunkMode: 'string',
529
+ connectId: 'string',
525
530
  database: 'string',
526
531
  datasourceCode: 'string',
527
532
  enableHeaders: 'boolean',
533
+ knowledgeScene: 'string',
528
534
  metaExtractColumns: { 'type': 'array', 'itemType': CreateIndexRequestMetaExtractColumns },
529
535
  pipelineCommercialCu: 'number',
530
536
  pipelineCommercialType: 'string',
@@ -196,6 +196,7 @@ export class CreateIndexShrinkRequest extends $dara.Model {
196
196
  * regex
197
197
  */
198
198
  chunkMode?: string;
199
+ connectId?: string;
199
200
  database?: string;
200
201
  datasourceCode?: string;
201
202
  /**
@@ -215,6 +216,7 @@ export class CreateIndexShrinkRequest extends $dara.Model {
215
216
  * false
216
217
  */
217
218
  enableHeaders?: boolean;
219
+ knowledgeScene?: string;
218
220
  /**
219
221
  * @remarks
220
222
  * The metadata extraction configurations. Metadata refers to a set of additional attributes associated with unstructured data, which are integrated into text chunks in key-value pairs. For more information, see [Knowledge base](https://help.aliyun.com/document_detail/2807740.html).
@@ -259,9 +261,11 @@ export class CreateIndexShrinkRequest extends $dara.Model {
259
261
  structureType: 'StructureType',
260
262
  tableIdsShrink: 'TableIds',
261
263
  chunkMode: 'chunkMode',
264
+ connectId: 'connectId',
262
265
  database: 'database',
263
266
  datasourceCode: 'datasourceCode',
264
267
  enableHeaders: 'enableHeaders',
268
+ knowledgeScene: 'knowledgeScene',
265
269
  metaExtractColumnsShrink: 'metaExtractColumns',
266
270
  pipelineCommercialCu: 'pipelineCommercialCu',
267
271
  pipelineCommercialType: 'pipelineCommercialType',
@@ -293,9 +297,11 @@ export class CreateIndexShrinkRequest extends $dara.Model {
293
297
  structureType: 'string',
294
298
  tableIdsShrink: 'string',
295
299
  chunkMode: 'string',
300
+ connectId: 'string',
296
301
  database: 'string',
297
302
  datasourceCode: 'string',
298
303
  enableHeaders: 'boolean',
304
+ knowledgeScene: 'string',
299
305
  metaExtractColumnsShrink: 'string',
300
306
  pipelineCommercialCu: 'number',
301
307
  pipelineCommercialType: 'string',
@@ -0,0 +1,75 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateIndexRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 100
9
+ */
10
+ denseSimilarityTopK?: number;
11
+ description?: string;
12
+ /**
13
+ * @remarks
14
+ * This parameter is required.
15
+ *
16
+ * @example
17
+ * 79c0alxxxx
18
+ */
19
+ id?: string;
20
+ name?: string;
21
+ /**
22
+ * @example
23
+ * 3
24
+ */
25
+ pipelineCommercialCu?: number;
26
+ /**
27
+ * @example
28
+ * standard
29
+ */
30
+ pipelineCommercialType?: string;
31
+ /**
32
+ * @example
33
+ * 0.01
34
+ */
35
+ rerankMinScore?: string;
36
+ /**
37
+ * @example
38
+ * 100
39
+ */
40
+ sparseSimilarityTopK?: number;
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ denseSimilarityTopK: 'DenseSimilarityTopK',
44
+ description: 'Description',
45
+ id: 'Id',
46
+ name: 'Name',
47
+ pipelineCommercialCu: 'PipelineCommercialCu',
48
+ pipelineCommercialType: 'PipelineCommercialType',
49
+ rerankMinScore: 'RerankMinScore',
50
+ sparseSimilarityTopK: 'SparseSimilarityTopK',
51
+ };
52
+ }
53
+
54
+ static types(): { [key: string]: any } {
55
+ return {
56
+ denseSimilarityTopK: 'number',
57
+ description: 'string',
58
+ id: 'string',
59
+ name: 'string',
60
+ pipelineCommercialCu: 'number',
61
+ pipelineCommercialType: 'string',
62
+ rerankMinScore: 'string',
63
+ sparseSimilarityTopK: 'number',
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ super.validate();
69
+ }
70
+
71
+ constructor(map?: { [key: string]: any }) {
72
+ super(map);
73
+ }
74
+ }
75
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateIndexResponseBody } from "./UpdateIndexResponseBody";
4
+
5
+
6
+ export class UpdateIndexResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateIndexResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: UpdateIndexResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,92 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateIndexResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 79c0alxxxx
9
+ */
10
+ id?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ id: 'Id',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ id: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
32
+ export class UpdateIndexResponseBody extends $dara.Model {
33
+ /**
34
+ * @example
35
+ * Success
36
+ */
37
+ code?: string;
38
+ data?: UpdateIndexResponseBodyData;
39
+ /**
40
+ * @example
41
+ * Required parameter(%s) missing or invalid, please check the request parameters.
42
+ */
43
+ message?: string;
44
+ /**
45
+ * @example
46
+ * 17204B98-7734-4F9A-8464-xxx
47
+ */
48
+ requestId?: string;
49
+ /**
50
+ * @example
51
+ * 200
52
+ */
53
+ status?: string;
54
+ /**
55
+ * @example
56
+ * true
57
+ */
58
+ success?: boolean;
59
+ static names(): { [key: string]: string } {
60
+ return {
61
+ code: 'Code',
62
+ data: 'Data',
63
+ message: 'Message',
64
+ requestId: 'RequestId',
65
+ status: 'Status',
66
+ success: 'Success',
67
+ };
68
+ }
69
+
70
+ static types(): { [key: string]: any } {
71
+ return {
72
+ code: 'string',
73
+ data: UpdateIndexResponseBodyData,
74
+ message: 'string',
75
+ requestId: 'string',
76
+ status: 'string',
77
+ success: 'boolean',
78
+ };
79
+ }
80
+
81
+ validate() {
82
+ if(this.data && typeof (this.data as any).validate === 'function') {
83
+ (this.data as any).validate();
84
+ }
85
+ super.validate();
86
+ }
87
+
88
+ constructor(map?: { [key: string]: any }) {
89
+ super(map);
90
+ }
91
+ }
92
+
@@ -94,6 +94,7 @@ export { UpdateAndPublishAgentSelectiveRequestApplicationConfigWorkFlows } from
94
94
  export { UpdateAndPublishAgentSelectiveRequestApplicationConfig } from './UpdateAndPublishAgentSelectiveRequest';
95
95
  export { UpdateAndPublishAgentSelectiveRequestSampleLibrary } from './UpdateAndPublishAgentSelectiveRequest';
96
96
  export { UpdateFileTagResponseBodyData } from './UpdateFileTagResponseBody';
97
+ export { UpdateIndexResponseBodyData } from './UpdateIndexResponseBody';
97
98
  export { AddCategoryRequest } from './AddCategoryRequest';
98
99
  export { AddCategoryResponseBody } from './AddCategoryResponseBody';
99
100
  export { AddCategoryResponse } from './AddCategoryResponse';
@@ -242,6 +243,9 @@ export { UpdateFileTagRequest } from './UpdateFileTagRequest';
242
243
  export { UpdateFileTagShrinkRequest } from './UpdateFileTagShrinkRequest';
243
244
  export { UpdateFileTagResponseBody } from './UpdateFileTagResponseBody';
244
245
  export { UpdateFileTagResponse } from './UpdateFileTagResponse';
246
+ export { UpdateIndexRequest } from './UpdateIndexRequest';
247
+ export { UpdateIndexResponseBody } from './UpdateIndexResponseBody';
248
+ export { UpdateIndexResponse } from './UpdateIndexResponse';
245
249
  export { UpdateMemoryRequest } from './UpdateMemoryRequest';
246
250
  export { UpdateMemoryResponseBody } from './UpdateMemoryResponseBody';
247
251
  export { UpdateMemoryResponse } from './UpdateMemoryResponse';