@alicloud/gpdb20160503 3.2.0 → 3.2.2

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 (109) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +188 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ChatWithKnowledgeBaseRequest.d.ts +46 -0
  5. package/dist/models/ChatWithKnowledgeBaseRequest.js +53 -1
  6. package/dist/models/ChatWithKnowledgeBaseRequest.js.map +1 -1
  7. package/dist/models/ChatWithKnowledgeBaseStreamRequest.d.ts +46 -0
  8. package/dist/models/ChatWithKnowledgeBaseStreamRequest.js +53 -1
  9. package/dist/models/ChatWithKnowledgeBaseStreamRequest.js.map +1 -1
  10. package/dist/models/CreateCollectionRequest.d.ts +17 -0
  11. package/dist/models/CreateCollectionRequest.js +31 -1
  12. package/dist/models/CreateCollectionRequest.js.map +1 -1
  13. package/dist/models/CreateCollectionShrinkRequest.d.ts +2 -0
  14. package/dist/models/CreateCollectionShrinkRequest.js +4 -0
  15. package/dist/models/CreateCollectionShrinkRequest.js.map +1 -1
  16. package/dist/models/CreateDocumentCollectionRequest.d.ts +17 -0
  17. package/dist/models/CreateDocumentCollectionRequest.js +31 -1
  18. package/dist/models/CreateDocumentCollectionRequest.js.map +1 -1
  19. package/dist/models/CreateDocumentCollectionShrinkRequest.d.ts +2 -0
  20. package/dist/models/CreateDocumentCollectionShrinkRequest.js +4 -0
  21. package/dist/models/CreateDocumentCollectionShrinkRequest.js.map +1 -1
  22. package/dist/models/CreateSupabaseProjectRequest.d.ts +1 -0
  23. package/dist/models/CreateSupabaseProjectRequest.js +2 -0
  24. package/dist/models/CreateSupabaseProjectRequest.js.map +1 -1
  25. package/dist/models/CreateVectorIndexRequest.d.ts +3 -0
  26. package/dist/models/CreateVectorIndexRequest.js +6 -0
  27. package/dist/models/CreateVectorIndexRequest.js.map +1 -1
  28. package/dist/models/DeleteChunksRequest.d.ts +55 -0
  29. package/dist/models/DeleteChunksRequest.js +71 -0
  30. package/dist/models/DeleteChunksRequest.js.map +1 -0
  31. package/dist/models/DeleteChunksResponse.d.ts +19 -0
  32. package/dist/models/DeleteChunksResponse.js +69 -0
  33. package/dist/models/DeleteChunksResponse.js.map +1 -0
  34. package/dist/models/DeleteChunksResponseBody.d.ts +18 -0
  35. package/dist/models/DeleteChunksResponseBody.js +58 -0
  36. package/dist/models/DeleteChunksResponseBody.js.map +1 -0
  37. package/dist/models/DeleteChunksShrinkRequest.d.ts +55 -0
  38. package/dist/models/DeleteChunksShrinkRequest.js +68 -0
  39. package/dist/models/DeleteChunksShrinkRequest.js.map +1 -0
  40. package/dist/models/GetSupabaseProjectResponseBody.d.ts +1 -0
  41. package/dist/models/GetSupabaseProjectResponseBody.js +2 -0
  42. package/dist/models/GetSupabaseProjectResponseBody.js.map +1 -1
  43. package/dist/models/ListChunksRequest.d.ts +75 -0
  44. package/dist/models/ListChunksRequest.js +76 -0
  45. package/dist/models/ListChunksRequest.js.map +1 -0
  46. package/dist/models/ListChunksResponse.d.ts +19 -0
  47. package/dist/models/ListChunksResponse.js +69 -0
  48. package/dist/models/ListChunksResponse.js.map +1 -0
  49. package/dist/models/ListChunksResponseBody.d.ts +81 -0
  50. package/dist/models/ListChunksResponseBody.js +150 -0
  51. package/dist/models/ListChunksResponseBody.js.map +1 -0
  52. package/dist/models/ListSupabaseProjectsRequest.d.ts +4 -0
  53. package/dist/models/ListSupabaseProjectsRequest.js +8 -0
  54. package/dist/models/ListSupabaseProjectsRequest.js.map +1 -1
  55. package/dist/models/ListSupabaseProjectsResponseBody.d.ts +1 -0
  56. package/dist/models/ListSupabaseProjectsResponseBody.js +2 -0
  57. package/dist/models/ListSupabaseProjectsResponseBody.js.map +1 -1
  58. package/dist/models/QueryContentAdvanceRequest.d.ts +23 -0
  59. package/dist/models/QueryContentAdvanceRequest.js +27 -1
  60. package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
  61. package/dist/models/QueryContentRequest.d.ts +23 -0
  62. package/dist/models/QueryContentRequest.js +27 -1
  63. package/dist/models/QueryContentRequest.js.map +1 -1
  64. package/dist/models/QueryContentShrinkRequest.d.ts +1 -0
  65. package/dist/models/QueryContentShrinkRequest.js +2 -0
  66. package/dist/models/QueryContentShrinkRequest.js.map +1 -1
  67. package/dist/models/QueryKnowledgeBasesContentRequest.d.ts +30 -0
  68. package/dist/models/QueryKnowledgeBasesContentRequest.js +53 -1
  69. package/dist/models/QueryKnowledgeBasesContentRequest.js.map +1 -1
  70. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.d.ts +1 -0
  71. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.js +2 -0
  72. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.js.map +1 -1
  73. package/dist/models/RerankRequest.d.ts +5 -0
  74. package/dist/models/RerankRequest.js +2 -0
  75. package/dist/models/RerankRequest.js.map +1 -1
  76. package/dist/models/RerankShrinkRequest.d.ts +5 -0
  77. package/dist/models/RerankShrinkRequest.js +2 -0
  78. package/dist/models/RerankShrinkRequest.js.map +1 -1
  79. package/dist/models/model.d.ts +20 -0
  80. package/dist/models/model.js +94 -54
  81. package/dist/models/model.js.map +1 -1
  82. package/package.json +1 -1
  83. package/src/client.ts +228 -4
  84. package/src/models/ChatWithKnowledgeBaseRequest.ts +80 -0
  85. package/src/models/ChatWithKnowledgeBaseStreamRequest.ts +80 -0
  86. package/src/models/CreateCollectionRequest.ts +38 -0
  87. package/src/models/CreateCollectionShrinkRequest.ts +6 -0
  88. package/src/models/CreateDocumentCollectionRequest.ts +38 -0
  89. package/src/models/CreateDocumentCollectionShrinkRequest.ts +6 -0
  90. package/src/models/CreateSupabaseProjectRequest.ts +3 -0
  91. package/src/models/CreateVectorIndexRequest.ts +9 -0
  92. package/src/models/DeleteChunksRequest.ts +81 -0
  93. package/src/models/DeleteChunksResponse.ts +40 -0
  94. package/src/models/DeleteChunksResponseBody.ts +31 -0
  95. package/src/models/DeleteChunksShrinkRequest.ts +78 -0
  96. package/src/models/GetSupabaseProjectResponseBody.ts +3 -0
  97. package/src/models/ListChunksRequest.ts +106 -0
  98. package/src/models/ListChunksResponse.ts +40 -0
  99. package/src/models/ListChunksResponseBody.ts +157 -0
  100. package/src/models/ListSupabaseProjectsRequest.ts +12 -0
  101. package/src/models/ListSupabaseProjectsResponseBody.ts +3 -0
  102. package/src/models/QueryContentAdvanceRequest.ts +40 -0
  103. package/src/models/QueryContentRequest.ts +40 -0
  104. package/src/models/QueryContentShrinkRequest.ts +3 -0
  105. package/src/models/QueryKnowledgeBasesContentRequest.ts +64 -0
  106. package/src/models/QueryKnowledgeBasesContentShrinkRequest.ts +3 -0
  107. package/src/models/RerankRequest.ts +7 -0
  108. package/src/models/RerankShrinkRequest.ts +7 -0
  109. package/src/models/model.ts +20 -0
@@ -0,0 +1,81 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteChunksRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ chunkIds?: string[];
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * testcollection
17
+ */
18
+ collection?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * gp-xxxxxxxxx
25
+ */
26
+ DBInstanceId?: string;
27
+ /**
28
+ * @example
29
+ * mynamespace
30
+ */
31
+ namespace?: string;
32
+ /**
33
+ * @remarks
34
+ * This parameter is required.
35
+ *
36
+ * @example
37
+ * testpassword
38
+ */
39
+ namespacePassword?: string;
40
+ /**
41
+ * @remarks
42
+ * This parameter is required.
43
+ *
44
+ * @example
45
+ * cn-beijing
46
+ */
47
+ regionId?: string;
48
+ static names(): { [key: string]: string } {
49
+ return {
50
+ chunkIds: 'ChunkIds',
51
+ collection: 'Collection',
52
+ DBInstanceId: 'DBInstanceId',
53
+ namespace: 'Namespace',
54
+ namespacePassword: 'NamespacePassword',
55
+ regionId: 'RegionId',
56
+ };
57
+ }
58
+
59
+ static types(): { [key: string]: any } {
60
+ return {
61
+ chunkIds: { 'type': 'array', 'itemType': 'string' },
62
+ collection: 'string',
63
+ DBInstanceId: 'string',
64
+ namespace: 'string',
65
+ namespacePassword: 'string',
66
+ regionId: 'string',
67
+ };
68
+ }
69
+
70
+ validate() {
71
+ if(Array.isArray(this.chunkIds)) {
72
+ $dara.Model.validateArray(this.chunkIds);
73
+ }
74
+ super.validate();
75
+ }
76
+
77
+ constructor(map?: { [key: string]: any }) {
78
+ super(map);
79
+ }
80
+ }
81
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteChunksResponseBody } from "./DeleteChunksResponseBody";
4
+
5
+
6
+ export class DeleteChunksResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteChunksResponseBody;
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: DeleteChunksResponseBody,
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,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteChunksResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * B4CAF581-2AC7-41AD-8940-D56DF7AADF5B
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,78 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteChunksShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ chunkIdsShrink?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * testcollection
17
+ */
18
+ collection?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * gp-xxxxxxxxx
25
+ */
26
+ DBInstanceId?: string;
27
+ /**
28
+ * @example
29
+ * mynamespace
30
+ */
31
+ namespace?: string;
32
+ /**
33
+ * @remarks
34
+ * This parameter is required.
35
+ *
36
+ * @example
37
+ * testpassword
38
+ */
39
+ namespacePassword?: string;
40
+ /**
41
+ * @remarks
42
+ * This parameter is required.
43
+ *
44
+ * @example
45
+ * cn-beijing
46
+ */
47
+ regionId?: string;
48
+ static names(): { [key: string]: string } {
49
+ return {
50
+ chunkIdsShrink: 'ChunkIds',
51
+ collection: 'Collection',
52
+ DBInstanceId: 'DBInstanceId',
53
+ namespace: 'Namespace',
54
+ namespacePassword: 'NamespacePassword',
55
+ regionId: 'RegionId',
56
+ };
57
+ }
58
+
59
+ static types(): { [key: string]: any } {
60
+ return {
61
+ chunkIdsShrink: 'string',
62
+ collection: 'string',
63
+ DBInstanceId: 'string',
64
+ namespace: 'string',
65
+ namespacePassword: 'string',
66
+ regionId: 'string',
67
+ };
68
+ }
69
+
70
+ validate() {
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class GetSupabaseProjectResponseBody extends $dara.Model {
6
+ autoScale?: string;
6
7
  /**
7
8
  * @remarks
8
9
  * The creation time.
@@ -175,6 +176,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
175
176
  zoneId?: string;
176
177
  static names(): { [key: string]: string } {
177
178
  return {
179
+ autoScale: 'AutoScale',
178
180
  createTime: 'CreateTime',
179
181
  DBSecurityIpList: 'DBSecurityIpList',
180
182
  dashboardPassword: 'DashboardPassword',
@@ -204,6 +206,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
204
206
 
205
207
  static types(): { [key: string]: any } {
206
208
  return {
209
+ autoScale: 'string',
207
210
  createTime: 'string',
208
211
  DBSecurityIpList: 'string',
209
212
  dashboardPassword: 'string',
@@ -0,0 +1,106 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListChunksRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * testcollection
12
+ */
13
+ collection?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * gp-xxxxxxxxx
20
+ */
21
+ DBInstanceId?: string;
22
+ /**
23
+ * @example
24
+ * mydoc.txt
25
+ */
26
+ fileName?: string;
27
+ /**
28
+ * @example
29
+ * title = \\"test\\" AND name like \\"test%\\"
30
+ */
31
+ filter?: string;
32
+ /**
33
+ * @example
34
+ * true
35
+ */
36
+ includeVector?: boolean;
37
+ /**
38
+ * @example
39
+ * mynamespace
40
+ */
41
+ namespace?: string;
42
+ /**
43
+ * @remarks
44
+ * This parameter is required.
45
+ *
46
+ * @example
47
+ * testpassword
48
+ */
49
+ namespacePassword?: string;
50
+ /**
51
+ * @example
52
+ * 1
53
+ */
54
+ pageNumber?: number;
55
+ /**
56
+ * @example
57
+ * 20
58
+ */
59
+ pageSize?: number;
60
+ /**
61
+ * @remarks
62
+ * This parameter is required.
63
+ *
64
+ * @example
65
+ * cn-hangzhou
66
+ */
67
+ regionId?: string;
68
+ static names(): { [key: string]: string } {
69
+ return {
70
+ collection: 'Collection',
71
+ DBInstanceId: 'DBInstanceId',
72
+ fileName: 'FileName',
73
+ filter: 'Filter',
74
+ includeVector: 'IncludeVector',
75
+ namespace: 'Namespace',
76
+ namespacePassword: 'NamespacePassword',
77
+ pageNumber: 'PageNumber',
78
+ pageSize: 'PageSize',
79
+ regionId: 'RegionId',
80
+ };
81
+ }
82
+
83
+ static types(): { [key: string]: any } {
84
+ return {
85
+ collection: 'string',
86
+ DBInstanceId: 'string',
87
+ fileName: 'string',
88
+ filter: 'string',
89
+ includeVector: 'boolean',
90
+ namespace: 'string',
91
+ namespacePassword: 'string',
92
+ pageNumber: 'number',
93
+ pageSize: 'number',
94
+ regionId: 'string',
95
+ };
96
+ }
97
+
98
+ validate() {
99
+ super.validate();
100
+ }
101
+
102
+ constructor(map?: { [key: string]: any }) {
103
+ super(map);
104
+ }
105
+ }
106
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListChunksResponseBody } from "./ListChunksResponseBody";
4
+
5
+
6
+ export class ListChunksResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListChunksResponseBody;
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: ListChunksResponseBody,
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,157 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListChunksResponseBodyChunksChunksVector extends $dara.Model {
6
+ vector?: number[];
7
+ static names(): { [key: string]: string } {
8
+ return {
9
+ vector: 'vector',
10
+ };
11
+ }
12
+
13
+ static types(): { [key: string]: any } {
14
+ return {
15
+ vector: { 'type': 'array', 'itemType': 'number' },
16
+ };
17
+ }
18
+
19
+ validate() {
20
+ if(Array.isArray(this.vector)) {
21
+ $dara.Model.validateArray(this.vector);
22
+ }
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
31
+ export class ListChunksResponseBodyChunksChunks extends $dara.Model {
32
+ content?: string;
33
+ fileName?: string;
34
+ id?: string;
35
+ loaderMetadata?: string;
36
+ metadata?: { [key: string]: any };
37
+ pageIndex?: number;
38
+ vector?: ListChunksResponseBodyChunksChunksVector;
39
+ static names(): { [key: string]: string } {
40
+ return {
41
+ content: 'Content',
42
+ fileName: 'FileName',
43
+ id: 'Id',
44
+ loaderMetadata: 'LoaderMetadata',
45
+ metadata: 'Metadata',
46
+ pageIndex: 'PageIndex',
47
+ vector: 'Vector',
48
+ };
49
+ }
50
+
51
+ static types(): { [key: string]: any } {
52
+ return {
53
+ content: 'string',
54
+ fileName: 'string',
55
+ id: 'string',
56
+ loaderMetadata: 'string',
57
+ metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
58
+ pageIndex: 'number',
59
+ vector: ListChunksResponseBodyChunksChunksVector,
60
+ };
61
+ }
62
+
63
+ validate() {
64
+ if(this.metadata) {
65
+ $dara.Model.validateMap(this.metadata);
66
+ }
67
+ if(this.vector && typeof (this.vector as any).validate === 'function') {
68
+ (this.vector as any).validate();
69
+ }
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
78
+ export class ListChunksResponseBodyChunks extends $dara.Model {
79
+ chunks?: ListChunksResponseBodyChunksChunks[];
80
+ static names(): { [key: string]: string } {
81
+ return {
82
+ chunks: 'chunks',
83
+ };
84
+ }
85
+
86
+ static types(): { [key: string]: any } {
87
+ return {
88
+ chunks: { 'type': 'array', 'itemType': ListChunksResponseBodyChunksChunks },
89
+ };
90
+ }
91
+
92
+ validate() {
93
+ if(Array.isArray(this.chunks)) {
94
+ $dara.Model.validateArray(this.chunks);
95
+ }
96
+ super.validate();
97
+ }
98
+
99
+ constructor(map?: { [key: string]: any }) {
100
+ super(map);
101
+ }
102
+ }
103
+
104
+ export class ListChunksResponseBody extends $dara.Model {
105
+ chunks?: ListChunksResponseBodyChunks;
106
+ /**
107
+ * @example
108
+ * 1
109
+ */
110
+ pageNumber?: number;
111
+ /**
112
+ * @example
113
+ * 20
114
+ */
115
+ pageRecordCount?: number;
116
+ /**
117
+ * @example
118
+ * 34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad
119
+ */
120
+ requestId?: string;
121
+ /**
122
+ * @example
123
+ * 30
124
+ */
125
+ totalRecordCount?: number;
126
+ static names(): { [key: string]: string } {
127
+ return {
128
+ chunks: 'Chunks',
129
+ pageNumber: 'PageNumber',
130
+ pageRecordCount: 'PageRecordCount',
131
+ requestId: 'RequestId',
132
+ totalRecordCount: 'TotalRecordCount',
133
+ };
134
+ }
135
+
136
+ static types(): { [key: string]: any } {
137
+ return {
138
+ chunks: ListChunksResponseBodyChunks,
139
+ pageNumber: 'number',
140
+ pageRecordCount: 'number',
141
+ requestId: 'string',
142
+ totalRecordCount: 'number',
143
+ };
144
+ }
145
+
146
+ validate() {
147
+ if(this.chunks && typeof (this.chunks as any).validate === 'function') {
148
+ (this.chunks as any).validate();
149
+ }
150
+ super.validate();
151
+ }
152
+
153
+ constructor(map?: { [key: string]: any }) {
154
+ super(map);
155
+ }
156
+ }
157
+
@@ -31,6 +31,10 @@ export class ListSupabaseProjectsRequest extends $dara.Model {
31
31
  * cn-hangzhou
32
32
  */
33
33
  regionId?: string;
34
+ searchField?: string;
35
+ searchValue?: string;
36
+ sortField?: string;
37
+ sortOrder?: string;
34
38
  static names(): { [key: string]: string } {
35
39
  return {
36
40
  maxResults: 'MaxResults',
@@ -38,6 +42,10 @@ export class ListSupabaseProjectsRequest extends $dara.Model {
38
42
  pageNumber: 'PageNumber',
39
43
  pageSize: 'PageSize',
40
44
  regionId: 'RegionId',
45
+ searchField: 'SearchField',
46
+ searchValue: 'SearchValue',
47
+ sortField: 'SortField',
48
+ sortOrder: 'SortOrder',
41
49
  };
42
50
  }
43
51
 
@@ -48,6 +56,10 @@ export class ListSupabaseProjectsRequest extends $dara.Model {
48
56
  pageNumber: 'number',
49
57
  pageSize: 'number',
50
58
  regionId: 'string',
59
+ searchField: 'string',
60
+ searchValue: 'string',
61
+ sortField: 'string',
62
+ sortOrder: 'string',
51
63
  };
52
64
  }
53
65
 
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListSupabaseProjectsResponseBodyItems extends $dara.Model {
6
+ autoScale?: string;
6
7
  /**
7
8
  * @remarks
8
9
  * The creation time.
@@ -166,6 +167,7 @@ export class ListSupabaseProjectsResponseBodyItems extends $dara.Model {
166
167
  zoneId?: string;
167
168
  static names(): { [key: string]: string } {
168
169
  return {
170
+ autoScale: 'AutoScale',
169
171
  createTime: 'CreateTime',
170
172
  dashboardPassword: 'DashboardPassword',
171
173
  dashboardUserName: 'DashboardUserName',
@@ -191,6 +193,7 @@ export class ListSupabaseProjectsResponseBodyItems extends $dara.Model {
191
193
 
192
194
  static types(): { [key: string]: any } {
193
195
  return {
196
+ autoScale: 'string',
194
197
  createTime: 'string',
195
198
  dashboardPassword: 'string',
196
199
  dashboardUserName: 'string',
@@ -33,6 +33,40 @@ export class QueryContentAdvanceRequestGraphSearchArgs extends $dara.Model {
33
33
  }
34
34
  }
35
35
 
36
+ export class QueryContentAdvanceRequestRerankModel extends $dara.Model {
37
+ /**
38
+ * @example
39
+ * Given a web search query, retrieve relevant passages that answer the query
40
+ */
41
+ instruct?: string;
42
+ /**
43
+ * @example
44
+ * qwen3-rerank
45
+ */
46
+ name?: string;
47
+ static names(): { [key: string]: string } {
48
+ return {
49
+ instruct: 'Instruct',
50
+ name: 'Name',
51
+ };
52
+ }
53
+
54
+ static types(): { [key: string]: any } {
55
+ return {
56
+ instruct: 'string',
57
+ name: 'string',
58
+ };
59
+ }
60
+
61
+ validate() {
62
+ super.validate();
63
+ }
64
+
65
+ constructor(map?: { [key: string]: any }) {
66
+ super(map);
67
+ }
68
+ }
69
+
36
70
  export class QueryContentAdvanceRequest extends $dara.Model {
37
71
  /**
38
72
  * @remarks
@@ -258,6 +292,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
258
292
  * 2
259
293
  */
260
294
  rerankFactor?: number;
295
+ rerankModel?: QueryContentAdvanceRequestRerankModel;
261
296
  /**
262
297
  * @remarks
263
298
  * The number of the returned top results.
@@ -314,6 +349,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
314
349
  recallWindow: 'RecallWindow',
315
350
  regionId: 'RegionId',
316
351
  rerankFactor: 'RerankFactor',
352
+ rerankModel: 'RerankModel',
317
353
  topK: 'TopK',
318
354
  urlExpiration: 'UrlExpiration',
319
355
  useFullTextRetrieval: 'UseFullTextRetrieval',
@@ -344,6 +380,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
344
380
  recallWindow: { 'type': 'array', 'itemType': 'number' },
345
381
  regionId: 'string',
346
382
  rerankFactor: 'number',
383
+ rerankModel: QueryContentAdvanceRequestRerankModel,
347
384
  topK: 'number',
348
385
  urlExpiration: 'string',
349
386
  useFullTextRetrieval: 'boolean',
@@ -360,6 +397,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
360
397
  if(Array.isArray(this.recallWindow)) {
361
398
  $dara.Model.validateArray(this.recallWindow);
362
399
  }
400
+ if(this.rerankModel && typeof (this.rerankModel as any).validate === 'function') {
401
+ (this.rerankModel as any).validate();
402
+ }
363
403
  super.validate();
364
404
  }
365
405