@alicloud/bailian20231229 1.10.1 → 1.11.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.
- package/dist/client.d.ts +275 -10
- package/dist/client.js +472 -15
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +581 -10
package/dist/client.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export declare class AddCategoryResponse extends $tea.Model {
|
|
|
91
91
|
export declare class AddFileRequest extends $tea.Model {
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* The primary key ID of the category to which the document is uploaded. This parameter corresponds to the `CategoryId
|
|
94
|
+
* The primary key ID of the category to which the document is uploaded. This parameter corresponds to the `CategoryId`<props="china"> returned by the [AddCategory](https://www.alibabacloud.com/help/zh/model-studio/developer-reference/api-bailian-2023-12-29-addcategory) operation. You can also click the ID icon next to the category name on the Unstructured Data tab of the [Data Management](https://bailian.console.alibabacloud.com/#/data-center) page to view the ID. You can set the parameter to default, which specifies the Default Category created by the system.
|
|
95
95
|
*
|
|
96
96
|
* This parameter is required.
|
|
97
97
|
*
|
|
@@ -101,7 +101,7 @@ export declare class AddFileRequest extends $tea.Model {
|
|
|
101
101
|
categoryId?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The lease ID, which corresponds to the `FileUploadLeaseId` parameter returned by the [ApplyFileUploadLease](https://
|
|
104
|
+
* The lease ID, which corresponds to the `FileUploadLeaseId` parameter returned by the [ApplyFileUploadLease](https://www.alibabacloud.com/help/en/model-studio/developer-reference/api-bailian-2023-12-29-applyfileuploadlease) operation.
|
|
105
105
|
*
|
|
106
106
|
* This parameter is required.
|
|
107
107
|
*
|
|
@@ -139,7 +139,7 @@ export declare class AddFileRequest extends $tea.Model {
|
|
|
139
139
|
export declare class AddFileShrinkRequest extends $tea.Model {
|
|
140
140
|
/**
|
|
141
141
|
* @remarks
|
|
142
|
-
* The primary key ID of the category to which the document is uploaded. This parameter corresponds to the `CategoryId
|
|
142
|
+
* The primary key ID of the category to which the document is uploaded. This parameter corresponds to the `CategoryId`<props="china"> returned by the [AddCategory](https://www.alibabacloud.com/help/zh/model-studio/developer-reference/api-bailian-2023-12-29-addcategory) operation. You can also click the ID icon next to the category name on the Unstructured Data tab of the [Data Management](https://bailian.console.alibabacloud.com/#/data-center) page to view the ID. You can set the parameter to default, which specifies the Default Category created by the system.
|
|
143
143
|
*
|
|
144
144
|
* This parameter is required.
|
|
145
145
|
*
|
|
@@ -149,7 +149,7 @@ export declare class AddFileShrinkRequest extends $tea.Model {
|
|
|
149
149
|
categoryId?: string;
|
|
150
150
|
/**
|
|
151
151
|
* @remarks
|
|
152
|
-
* The lease ID, which corresponds to the `FileUploadLeaseId` parameter returned by the [ApplyFileUploadLease](https://
|
|
152
|
+
* The lease ID, which corresponds to the `FileUploadLeaseId` parameter returned by the [ApplyFileUploadLease](https://www.alibabacloud.com/help/en/model-studio/developer-reference/api-bailian-2023-12-29-applyfileuploadlease) operation.
|
|
153
153
|
*
|
|
154
154
|
* This parameter is required.
|
|
155
155
|
*
|
|
@@ -377,6 +377,7 @@ export declare class CreateAndPulishAgentRequest extends $tea.Model {
|
|
|
377
377
|
instructions?: string;
|
|
378
378
|
modelId?: string;
|
|
379
379
|
name?: string;
|
|
380
|
+
sampleLibrary?: CreateAndPulishAgentRequestSampleLibrary;
|
|
380
381
|
static names(): {
|
|
381
382
|
[key: string]: string;
|
|
382
383
|
};
|
|
@@ -392,6 +393,7 @@ export declare class CreateAndPulishAgentShrinkRequest extends $tea.Model {
|
|
|
392
393
|
instructions?: string;
|
|
393
394
|
modelId?: string;
|
|
394
395
|
name?: string;
|
|
396
|
+
sampleLibraryShrink?: string;
|
|
395
397
|
static names(): {
|
|
396
398
|
[key: string]: string;
|
|
397
399
|
};
|
|
@@ -1975,6 +1977,7 @@ export declare class ListChunksRequest extends $tea.Model {
|
|
|
1975
1977
|
* An array of field names. This parameter is used to filter non-private fields (prefixed with_underscores) in the Metadata parameter returned by this operation. By default, this parameter is left empty, which means all non-private fields in the Metadata parameter are returned. If you only want specified non-private fields, such as title, set this parameter to title.
|
|
1976
1978
|
*/
|
|
1977
1979
|
fields?: string[];
|
|
1980
|
+
fileId?: string;
|
|
1978
1981
|
/**
|
|
1979
1982
|
* @remarks
|
|
1980
1983
|
* The primary key ID of the document. This parameter is not required for structured knowledge base, but is required for unstructured knowledge base. To view the ID, you can click the ID icon next to the file name on the [Data Management](https://bailian.console.aliyun.com/#/data-center) page. You can filter returned chunks by the document ID. This parameter is left empty by default.
|
|
@@ -3276,6 +3279,7 @@ export declare class UpdateAndPublishAgentRequest extends $tea.Model {
|
|
|
3276
3279
|
instructions?: string;
|
|
3277
3280
|
modelId?: string;
|
|
3278
3281
|
name?: string;
|
|
3282
|
+
sampleLibrary?: UpdateAndPublishAgentRequestSampleLibrary;
|
|
3279
3283
|
static names(): {
|
|
3280
3284
|
[key: string]: string;
|
|
3281
3285
|
};
|
|
@@ -3291,6 +3295,7 @@ export declare class UpdateAndPublishAgentShrinkRequest extends $tea.Model {
|
|
|
3291
3295
|
instructions?: string;
|
|
3292
3296
|
modelId?: string;
|
|
3293
3297
|
name?: string;
|
|
3298
|
+
sampleLibraryShrink?: string;
|
|
3294
3299
|
static names(): {
|
|
3295
3300
|
[key: string]: string;
|
|
3296
3301
|
};
|
|
@@ -3334,6 +3339,71 @@ export declare class UpdateAndPublishAgentResponse extends $tea.Model {
|
|
|
3334
3339
|
[key: string]: any;
|
|
3335
3340
|
});
|
|
3336
3341
|
}
|
|
3342
|
+
export declare class UpdateAndPublishAgentSelectiveRequest extends $tea.Model {
|
|
3343
|
+
applicationConfig?: UpdateAndPublishAgentSelectiveRequestApplicationConfig;
|
|
3344
|
+
instructions?: string;
|
|
3345
|
+
modelId?: string;
|
|
3346
|
+
name?: string;
|
|
3347
|
+
sampleLibrary?: UpdateAndPublishAgentSelectiveRequestSampleLibrary;
|
|
3348
|
+
static names(): {
|
|
3349
|
+
[key: string]: string;
|
|
3350
|
+
};
|
|
3351
|
+
static types(): {
|
|
3352
|
+
[key: string]: any;
|
|
3353
|
+
};
|
|
3354
|
+
constructor(map?: {
|
|
3355
|
+
[key: string]: any;
|
|
3356
|
+
});
|
|
3357
|
+
}
|
|
3358
|
+
export declare class UpdateAndPublishAgentSelectiveShrinkRequest extends $tea.Model {
|
|
3359
|
+
applicationConfigShrink?: string;
|
|
3360
|
+
instructions?: string;
|
|
3361
|
+
modelId?: string;
|
|
3362
|
+
name?: string;
|
|
3363
|
+
sampleLibraryShrink?: string;
|
|
3364
|
+
static names(): {
|
|
3365
|
+
[key: string]: string;
|
|
3366
|
+
};
|
|
3367
|
+
static types(): {
|
|
3368
|
+
[key: string]: any;
|
|
3369
|
+
};
|
|
3370
|
+
constructor(map?: {
|
|
3371
|
+
[key: string]: any;
|
|
3372
|
+
});
|
|
3373
|
+
}
|
|
3374
|
+
export declare class UpdateAndPublishAgentSelectiveResponseBody extends $tea.Model {
|
|
3375
|
+
code?: string;
|
|
3376
|
+
data?: string;
|
|
3377
|
+
httpStatusCode?: number;
|
|
3378
|
+
message?: string;
|
|
3379
|
+
requestId?: string;
|
|
3380
|
+
success?: boolean;
|
|
3381
|
+
static names(): {
|
|
3382
|
+
[key: string]: string;
|
|
3383
|
+
};
|
|
3384
|
+
static types(): {
|
|
3385
|
+
[key: string]: any;
|
|
3386
|
+
};
|
|
3387
|
+
constructor(map?: {
|
|
3388
|
+
[key: string]: any;
|
|
3389
|
+
});
|
|
3390
|
+
}
|
|
3391
|
+
export declare class UpdateAndPublishAgentSelectiveResponse extends $tea.Model {
|
|
3392
|
+
headers?: {
|
|
3393
|
+
[key: string]: string;
|
|
3394
|
+
};
|
|
3395
|
+
statusCode?: number;
|
|
3396
|
+
body?: UpdateAndPublishAgentSelectiveResponseBody;
|
|
3397
|
+
static names(): {
|
|
3398
|
+
[key: string]: string;
|
|
3399
|
+
};
|
|
3400
|
+
static types(): {
|
|
3401
|
+
[key: string]: any;
|
|
3402
|
+
};
|
|
3403
|
+
constructor(map?: {
|
|
3404
|
+
[key: string]: any;
|
|
3405
|
+
});
|
|
3406
|
+
}
|
|
3337
3407
|
export declare class UpdateFileTagRequest extends $tea.Model {
|
|
3338
3408
|
/**
|
|
3339
3409
|
* @remarks
|
|
@@ -3722,9 +3792,17 @@ export declare class CreateAndPulishAgentRequestApplicationConfigParameters exte
|
|
|
3722
3792
|
});
|
|
3723
3793
|
}
|
|
3724
3794
|
export declare class CreateAndPulishAgentRequestApplicationConfigRagConfig extends $tea.Model {
|
|
3795
|
+
answerScope?: string;
|
|
3725
3796
|
enableCitation?: boolean;
|
|
3726
3797
|
enableSearch?: boolean;
|
|
3798
|
+
enableWebSearch?: boolean;
|
|
3799
|
+
fixedReplyDetail?: string;
|
|
3727
3800
|
knowledgeBaseCodeList?: string[];
|
|
3801
|
+
promptStrategy?: string;
|
|
3802
|
+
ragRejectType?: string;
|
|
3803
|
+
rejectFilterPrompt?: string;
|
|
3804
|
+
rejectFilterType?: string;
|
|
3805
|
+
retrieveMaxLength?: number;
|
|
3728
3806
|
topK?: number;
|
|
3729
3807
|
static names(): {
|
|
3730
3808
|
[key: string]: string;
|
|
@@ -3790,6 +3868,20 @@ export declare class CreateAndPulishAgentRequestApplicationConfig extends $tea.M
|
|
|
3790
3868
|
[key: string]: any;
|
|
3791
3869
|
});
|
|
3792
3870
|
}
|
|
3871
|
+
export declare class CreateAndPulishAgentRequestSampleLibrary extends $tea.Model {
|
|
3872
|
+
enableSample?: boolean;
|
|
3873
|
+
sampleLibraryIdList?: string[];
|
|
3874
|
+
topK?: number;
|
|
3875
|
+
static names(): {
|
|
3876
|
+
[key: string]: string;
|
|
3877
|
+
};
|
|
3878
|
+
static types(): {
|
|
3879
|
+
[key: string]: any;
|
|
3880
|
+
};
|
|
3881
|
+
constructor(map?: {
|
|
3882
|
+
[key: string]: any;
|
|
3883
|
+
});
|
|
3884
|
+
}
|
|
3793
3885
|
export declare class CreateIndexRequestColumns extends $tea.Model {
|
|
3794
3886
|
column?: string;
|
|
3795
3887
|
isRecall?: boolean;
|
|
@@ -5162,9 +5254,17 @@ export declare class UpdateAndPublishAgentRequestApplicationConfigParameters ext
|
|
|
5162
5254
|
});
|
|
5163
5255
|
}
|
|
5164
5256
|
export declare class UpdateAndPublishAgentRequestApplicationConfigRagConfig extends $tea.Model {
|
|
5257
|
+
answerScope?: string;
|
|
5165
5258
|
enableCitation?: boolean;
|
|
5166
5259
|
enableSearch?: boolean;
|
|
5260
|
+
enableWebSearch?: boolean;
|
|
5261
|
+
fixedReplyDetail?: string;
|
|
5167
5262
|
knowledgeBaseCodeList?: string[];
|
|
5263
|
+
promptStrategy?: string;
|
|
5264
|
+
ragRejectType?: string;
|
|
5265
|
+
rejectFilterPrompt?: string;
|
|
5266
|
+
rejectFilterType?: string;
|
|
5267
|
+
retrieveMaxLength?: number;
|
|
5168
5268
|
topK?: number;
|
|
5169
5269
|
static names(): {
|
|
5170
5270
|
[key: string]: string;
|
|
@@ -5230,6 +5330,153 @@ export declare class UpdateAndPublishAgentRequestApplicationConfig extends $tea.
|
|
|
5230
5330
|
[key: string]: any;
|
|
5231
5331
|
});
|
|
5232
5332
|
}
|
|
5333
|
+
export declare class UpdateAndPublishAgentRequestSampleLibrary extends $tea.Model {
|
|
5334
|
+
enableSample?: boolean;
|
|
5335
|
+
sampleLibraryIdList?: string[];
|
|
5336
|
+
topK?: number;
|
|
5337
|
+
static names(): {
|
|
5338
|
+
[key: string]: string;
|
|
5339
|
+
};
|
|
5340
|
+
static types(): {
|
|
5341
|
+
[key: string]: any;
|
|
5342
|
+
};
|
|
5343
|
+
constructor(map?: {
|
|
5344
|
+
[key: string]: any;
|
|
5345
|
+
});
|
|
5346
|
+
}
|
|
5347
|
+
export declare class UpdateAndPublishAgentSelectiveRequestApplicationConfigHistoryConfig extends $tea.Model {
|
|
5348
|
+
enableAdbRecord?: boolean;
|
|
5349
|
+
enableRecord?: boolean;
|
|
5350
|
+
instanceId?: string;
|
|
5351
|
+
region?: string;
|
|
5352
|
+
storeCode?: string;
|
|
5353
|
+
static names(): {
|
|
5354
|
+
[key: string]: string;
|
|
5355
|
+
};
|
|
5356
|
+
static types(): {
|
|
5357
|
+
[key: string]: any;
|
|
5358
|
+
};
|
|
5359
|
+
constructor(map?: {
|
|
5360
|
+
[key: string]: any;
|
|
5361
|
+
});
|
|
5362
|
+
}
|
|
5363
|
+
export declare class UpdateAndPublishAgentSelectiveRequestApplicationConfigLongTermMemory extends $tea.Model {
|
|
5364
|
+
enable?: boolean;
|
|
5365
|
+
static names(): {
|
|
5366
|
+
[key: string]: string;
|
|
5367
|
+
};
|
|
5368
|
+
static types(): {
|
|
5369
|
+
[key: string]: any;
|
|
5370
|
+
};
|
|
5371
|
+
constructor(map?: {
|
|
5372
|
+
[key: string]: any;
|
|
5373
|
+
});
|
|
5374
|
+
}
|
|
5375
|
+
export declare class UpdateAndPublishAgentSelectiveRequestApplicationConfigParameters extends $tea.Model {
|
|
5376
|
+
dialogRound?: number;
|
|
5377
|
+
maxTokens?: number;
|
|
5378
|
+
temperature?: number;
|
|
5379
|
+
static names(): {
|
|
5380
|
+
[key: string]: string;
|
|
5381
|
+
};
|
|
5382
|
+
static types(): {
|
|
5383
|
+
[key: string]: any;
|
|
5384
|
+
};
|
|
5385
|
+
constructor(map?: {
|
|
5386
|
+
[key: string]: any;
|
|
5387
|
+
});
|
|
5388
|
+
}
|
|
5389
|
+
export declare class UpdateAndPublishAgentSelectiveRequestApplicationConfigRagConfig extends $tea.Model {
|
|
5390
|
+
answerScope?: string;
|
|
5391
|
+
enableCitation?: boolean;
|
|
5392
|
+
enableSearch?: boolean;
|
|
5393
|
+
enableWebSearch?: string;
|
|
5394
|
+
fixedReplyDetail?: string;
|
|
5395
|
+
knowledgeBaseCodeList?: string[];
|
|
5396
|
+
promptStrategy?: string;
|
|
5397
|
+
ragRejectType?: string;
|
|
5398
|
+
rejectFilterPrompt?: string;
|
|
5399
|
+
rejectFilterType?: string;
|
|
5400
|
+
retrieveMaxLength?: number;
|
|
5401
|
+
topK?: number;
|
|
5402
|
+
static names(): {
|
|
5403
|
+
[key: string]: string;
|
|
5404
|
+
};
|
|
5405
|
+
static types(): {
|
|
5406
|
+
[key: string]: any;
|
|
5407
|
+
};
|
|
5408
|
+
constructor(map?: {
|
|
5409
|
+
[key: string]: any;
|
|
5410
|
+
});
|
|
5411
|
+
}
|
|
5412
|
+
export declare class UpdateAndPublishAgentSelectiveRequestApplicationConfigSecurity extends $tea.Model {
|
|
5413
|
+
processingStrategy?: string;
|
|
5414
|
+
static names(): {
|
|
5415
|
+
[key: string]: string;
|
|
5416
|
+
};
|
|
5417
|
+
static types(): {
|
|
5418
|
+
[key: string]: any;
|
|
5419
|
+
};
|
|
5420
|
+
constructor(map?: {
|
|
5421
|
+
[key: string]: any;
|
|
5422
|
+
});
|
|
5423
|
+
}
|
|
5424
|
+
export declare class UpdateAndPublishAgentSelectiveRequestApplicationConfigTools extends $tea.Model {
|
|
5425
|
+
type?: string;
|
|
5426
|
+
static names(): {
|
|
5427
|
+
[key: string]: string;
|
|
5428
|
+
};
|
|
5429
|
+
static types(): {
|
|
5430
|
+
[key: string]: any;
|
|
5431
|
+
};
|
|
5432
|
+
constructor(map?: {
|
|
5433
|
+
[key: string]: any;
|
|
5434
|
+
});
|
|
5435
|
+
}
|
|
5436
|
+
export declare class UpdateAndPublishAgentSelectiveRequestApplicationConfigWorkFlows extends $tea.Model {
|
|
5437
|
+
type?: string;
|
|
5438
|
+
static names(): {
|
|
5439
|
+
[key: string]: string;
|
|
5440
|
+
};
|
|
5441
|
+
static types(): {
|
|
5442
|
+
[key: string]: any;
|
|
5443
|
+
};
|
|
5444
|
+
constructor(map?: {
|
|
5445
|
+
[key: string]: any;
|
|
5446
|
+
});
|
|
5447
|
+
}
|
|
5448
|
+
export declare class UpdateAndPublishAgentSelectiveRequestApplicationConfig extends $tea.Model {
|
|
5449
|
+
historyConfig?: UpdateAndPublishAgentSelectiveRequestApplicationConfigHistoryConfig;
|
|
5450
|
+
longTermMemory?: UpdateAndPublishAgentSelectiveRequestApplicationConfigLongTermMemory;
|
|
5451
|
+
parameters?: UpdateAndPublishAgentSelectiveRequestApplicationConfigParameters;
|
|
5452
|
+
ragConfig?: UpdateAndPublishAgentSelectiveRequestApplicationConfigRagConfig;
|
|
5453
|
+
security?: UpdateAndPublishAgentSelectiveRequestApplicationConfigSecurity;
|
|
5454
|
+
tools?: UpdateAndPublishAgentSelectiveRequestApplicationConfigTools[];
|
|
5455
|
+
workFlows?: UpdateAndPublishAgentSelectiveRequestApplicationConfigWorkFlows[];
|
|
5456
|
+
static names(): {
|
|
5457
|
+
[key: string]: string;
|
|
5458
|
+
};
|
|
5459
|
+
static types(): {
|
|
5460
|
+
[key: string]: any;
|
|
5461
|
+
};
|
|
5462
|
+
constructor(map?: {
|
|
5463
|
+
[key: string]: any;
|
|
5464
|
+
});
|
|
5465
|
+
}
|
|
5466
|
+
export declare class UpdateAndPublishAgentSelectiveRequestSampleLibrary extends $tea.Model {
|
|
5467
|
+
enableSample?: boolean;
|
|
5468
|
+
sampleLibraryIdList?: string[];
|
|
5469
|
+
topK?: number;
|
|
5470
|
+
static names(): {
|
|
5471
|
+
[key: string]: string;
|
|
5472
|
+
};
|
|
5473
|
+
static types(): {
|
|
5474
|
+
[key: string]: any;
|
|
5475
|
+
};
|
|
5476
|
+
constructor(map?: {
|
|
5477
|
+
[key: string]: any;
|
|
5478
|
+
});
|
|
5479
|
+
}
|
|
5233
5480
|
export declare class UpdateFileTagResponseBodyData extends $tea.Model {
|
|
5234
5481
|
/**
|
|
5235
5482
|
* @example
|
|
@@ -5266,12 +5513,12 @@ export default class Client extends OpenApi {
|
|
|
5266
5513
|
*/
|
|
5267
5514
|
addCategory(WorkspaceId: string, request: AddCategoryRequest): Promise<AddCategoryResponse>;
|
|
5268
5515
|
/**
|
|
5269
|
-
* Imports an unstructured document stored in the temporary storage space to Data Management.
|
|
5516
|
+
* Imports an unstructured document stored in the temporary storage space to Data Management. You cannot use the API to import structured documents. Use the console instead.
|
|
5270
5517
|
*
|
|
5271
5518
|
* @remarks
|
|
5272
|
-
* Before you call this operation, make sure that you have obtained the lease and uploaded the document to the temporary storage space by using the [ApplyFileUploadLease](https://
|
|
5519
|
+
* Before you call this operation, make sure that you have obtained the lease and uploaded the document to the temporary storage space by using the [ApplyFileUploadLease](https://www.alibabacloud.com/help/en/model-studio/developer-reference/api-bailian-2023-12-29-applyfileuploadlease) operation. For more information, see [Upload files by calling API](https://www.alibabacloud.com/help/en/model-studio/developer-reference/upload-files-by-calling-api).
|
|
5273
5520
|
* > After you call this operation, the used lease ID expires immediately. Do not use the same lease ID to submit new requests.
|
|
5274
|
-
* * You must call this operation within 12 hours after you call the [ApplyFileUploadLease](https://
|
|
5521
|
+
* * You must call this operation within 12 hours after you call the [ApplyFileUploadLease](https://www.alibabacloud.com/help/en/model-studio/developer-reference/api-bailian-2023-12-29-applyfileuploadlease) operation. Otherwise, the lease expires and the request fails.
|
|
5275
5522
|
* * After you call this operation, the system parses and imports your document. The process takes some time.
|
|
5276
5523
|
* * This interface is not idempotent.
|
|
5277
5524
|
*
|
|
@@ -5284,12 +5531,12 @@ export default class Client extends OpenApi {
|
|
|
5284
5531
|
[key: string]: string;
|
|
5285
5532
|
}, runtime: $Util.RuntimeOptions): Promise<AddFileResponse>;
|
|
5286
5533
|
/**
|
|
5287
|
-
* Imports an unstructured document stored in the temporary storage space to Data Management.
|
|
5534
|
+
* Imports an unstructured document stored in the temporary storage space to Data Management. You cannot use the API to import structured documents. Use the console instead.
|
|
5288
5535
|
*
|
|
5289
5536
|
* @remarks
|
|
5290
|
-
* Before you call this operation, make sure that you have obtained the lease and uploaded the document to the temporary storage space by using the [ApplyFileUploadLease](https://
|
|
5537
|
+
* Before you call this operation, make sure that you have obtained the lease and uploaded the document to the temporary storage space by using the [ApplyFileUploadLease](https://www.alibabacloud.com/help/en/model-studio/developer-reference/api-bailian-2023-12-29-applyfileuploadlease) operation. For more information, see [Upload files by calling API](https://www.alibabacloud.com/help/en/model-studio/developer-reference/upload-files-by-calling-api).
|
|
5291
5538
|
* > After you call this operation, the used lease ID expires immediately. Do not use the same lease ID to submit new requests.
|
|
5292
|
-
* * You must call this operation within 12 hours after you call the [ApplyFileUploadLease](https://
|
|
5539
|
+
* * You must call this operation within 12 hours after you call the [ApplyFileUploadLease](https://www.alibabacloud.com/help/en/model-studio/developer-reference/api-bailian-2023-12-29-applyfileuploadlease) operation. Otherwise, the lease expires and the request fails.
|
|
5293
5540
|
* * After you call this operation, the system parses and imports your document. The process takes some time.
|
|
5294
5541
|
* * This interface is not idempotent.
|
|
5295
5542
|
*
|
|
@@ -5983,6 +6230,24 @@ export default class Client extends OpenApi {
|
|
|
5983
6230
|
* @returns UpdateAndPublishAgentResponse
|
|
5984
6231
|
*/
|
|
5985
6232
|
updateAndPublishAgent(workspaceId: string, appCode: string, request: UpdateAndPublishAgentRequest): Promise<UpdateAndPublishAgentResponse>;
|
|
6233
|
+
/**
|
|
6234
|
+
* 选择更新并发布智能体应用
|
|
6235
|
+
*
|
|
6236
|
+
* @param tmpReq - UpdateAndPublishAgentSelectiveRequest
|
|
6237
|
+
* @param headers - map
|
|
6238
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6239
|
+
* @returns UpdateAndPublishAgentSelectiveResponse
|
|
6240
|
+
*/
|
|
6241
|
+
updateAndPublishAgentSelectiveWithOptions(workspaceId: string, appCode: string, tmpReq: UpdateAndPublishAgentSelectiveRequest, headers: {
|
|
6242
|
+
[key: string]: string;
|
|
6243
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateAndPublishAgentSelectiveResponse>;
|
|
6244
|
+
/**
|
|
6245
|
+
* 选择更新并发布智能体应用
|
|
6246
|
+
*
|
|
6247
|
+
* @param request - UpdateAndPublishAgentSelectiveRequest
|
|
6248
|
+
* @returns UpdateAndPublishAgentSelectiveResponse
|
|
6249
|
+
*/
|
|
6250
|
+
updateAndPublishAgentSelective(workspaceId: string, appCode: string, request: UpdateAndPublishAgentSelectiveRequest): Promise<UpdateAndPublishAgentSelectiveResponse>;
|
|
5986
6251
|
/**
|
|
5987
6252
|
* 更新文档Tag
|
|
5988
6253
|
*
|