@alicloud/aimiaobi20230801 1.20.0 → 1.20.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.
- package/dist/client.d.ts +203 -6
- package/dist/client.js +345 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +477 -6
package/dist/client.d.ts
CHANGED
|
@@ -1691,9 +1691,6 @@ export declare class GetHotTopicBroadcastRequestStepForCustomSummaryStyleConfig
|
|
|
1691
1691
|
*/
|
|
1692
1692
|
summaryImageCount?: number;
|
|
1693
1693
|
/**
|
|
1694
|
-
* @remarks
|
|
1695
|
-
* This parameter is required.
|
|
1696
|
-
*
|
|
1697
1694
|
* @example
|
|
1698
1695
|
* 摘要模型
|
|
1699
1696
|
*/
|
|
@@ -7151,6 +7148,98 @@ export declare class RunDocTranslationResponseBodyPayload extends $dara.Model {
|
|
|
7151
7148
|
[key: string]: any;
|
|
7152
7149
|
});
|
|
7153
7150
|
}
|
|
7151
|
+
export declare class RunDocWashingResponseBodyHeader extends $dara.Model {
|
|
7152
|
+
/**
|
|
7153
|
+
* @example
|
|
7154
|
+
* task-finished
|
|
7155
|
+
*/
|
|
7156
|
+
event?: string;
|
|
7157
|
+
eventInfo?: string;
|
|
7158
|
+
/**
|
|
7159
|
+
* @example
|
|
7160
|
+
* 3f7045e099474ba28ceca1b4eb6d6e21
|
|
7161
|
+
*/
|
|
7162
|
+
requestId?: string;
|
|
7163
|
+
/**
|
|
7164
|
+
* @example
|
|
7165
|
+
* 20247a52-23e2-46fb-943d-309cdee2bc6d
|
|
7166
|
+
*/
|
|
7167
|
+
sessionId?: string;
|
|
7168
|
+
/**
|
|
7169
|
+
* @example
|
|
7170
|
+
* 3f7045e099474ba28ceca1b4eb6d6e21
|
|
7171
|
+
*/
|
|
7172
|
+
taskId?: string;
|
|
7173
|
+
/**
|
|
7174
|
+
* @example
|
|
7175
|
+
* 2150451a17191950923411783e2927
|
|
7176
|
+
*/
|
|
7177
|
+
traceId?: string;
|
|
7178
|
+
static names(): {
|
|
7179
|
+
[key: string]: string;
|
|
7180
|
+
};
|
|
7181
|
+
static types(): {
|
|
7182
|
+
[key: string]: any;
|
|
7183
|
+
};
|
|
7184
|
+
validate(): void;
|
|
7185
|
+
constructor(map?: {
|
|
7186
|
+
[key: string]: any;
|
|
7187
|
+
});
|
|
7188
|
+
}
|
|
7189
|
+
export declare class RunDocWashingResponseBodyPayloadOutput extends $dara.Model {
|
|
7190
|
+
text?: string;
|
|
7191
|
+
static names(): {
|
|
7192
|
+
[key: string]: string;
|
|
7193
|
+
};
|
|
7194
|
+
static types(): {
|
|
7195
|
+
[key: string]: any;
|
|
7196
|
+
};
|
|
7197
|
+
validate(): void;
|
|
7198
|
+
constructor(map?: {
|
|
7199
|
+
[key: string]: any;
|
|
7200
|
+
});
|
|
7201
|
+
}
|
|
7202
|
+
export declare class RunDocWashingResponseBodyPayloadUsage extends $dara.Model {
|
|
7203
|
+
/**
|
|
7204
|
+
* @example
|
|
7205
|
+
* 100
|
|
7206
|
+
*/
|
|
7207
|
+
inputTokens?: number;
|
|
7208
|
+
/**
|
|
7209
|
+
* @example
|
|
7210
|
+
* 100
|
|
7211
|
+
*/
|
|
7212
|
+
outputTokens?: number;
|
|
7213
|
+
/**
|
|
7214
|
+
* @example
|
|
7215
|
+
* 200
|
|
7216
|
+
*/
|
|
7217
|
+
totalTokens?: number;
|
|
7218
|
+
static names(): {
|
|
7219
|
+
[key: string]: string;
|
|
7220
|
+
};
|
|
7221
|
+
static types(): {
|
|
7222
|
+
[key: string]: any;
|
|
7223
|
+
};
|
|
7224
|
+
validate(): void;
|
|
7225
|
+
constructor(map?: {
|
|
7226
|
+
[key: string]: any;
|
|
7227
|
+
});
|
|
7228
|
+
}
|
|
7229
|
+
export declare class RunDocWashingResponseBodyPayload extends $dara.Model {
|
|
7230
|
+
output?: RunDocWashingResponseBodyPayloadOutput;
|
|
7231
|
+
usage?: RunDocWashingResponseBodyPayloadUsage;
|
|
7232
|
+
static names(): {
|
|
7233
|
+
[key: string]: string;
|
|
7234
|
+
};
|
|
7235
|
+
static types(): {
|
|
7236
|
+
[key: string]: any;
|
|
7237
|
+
};
|
|
7238
|
+
validate(): void;
|
|
7239
|
+
constructor(map?: {
|
|
7240
|
+
[key: string]: any;
|
|
7241
|
+
});
|
|
7242
|
+
}
|
|
7154
7243
|
export declare class RunExpandContentResponseBodyHeader extends $dara.Model {
|
|
7155
7244
|
/**
|
|
7156
7245
|
* @example
|
|
@@ -7805,6 +7894,7 @@ export declare class RunSearchGenerationRequestAgentContextBizContextMultimodalM
|
|
|
7805
7894
|
}
|
|
7806
7895
|
export declare class RunSearchGenerationRequestAgentContextBizContext extends $dara.Model {
|
|
7807
7896
|
multimodalMediaSelection?: RunSearchGenerationRequestAgentContextBizContextMultimodalMediaSelection;
|
|
7897
|
+
skipCurrentSupplement?: boolean;
|
|
7808
7898
|
static names(): {
|
|
7809
7899
|
[key: string]: string;
|
|
7810
7900
|
};
|
|
@@ -9910,6 +10000,7 @@ export declare class RunSearchSimilarArticlesRequestChatConfigSearchParamSearchS
|
|
|
9910
10000
|
* SystemSearch
|
|
9911
10001
|
*/
|
|
9912
10002
|
code?: string;
|
|
10003
|
+
datasetName?: string;
|
|
9913
10004
|
name?: string;
|
|
9914
10005
|
static names(): {
|
|
9915
10006
|
[key: string]: string;
|
|
@@ -9986,6 +10077,7 @@ export declare class RunSearchSimilarArticlesResponseBodyHeader extends $dara.Mo
|
|
|
9986
10077
|
});
|
|
9987
10078
|
}
|
|
9988
10079
|
export declare class RunSearchSimilarArticlesResponseBodyPayloadOutputArticles extends $dara.Model {
|
|
10080
|
+
docId?: string;
|
|
9989
10081
|
/**
|
|
9990
10082
|
* @example
|
|
9991
10083
|
* a26c2c1
|
|
@@ -11713,9 +11805,6 @@ export declare class SubmitCustomHotTopicBroadcastJobRequestHotTopicBroadcastCon
|
|
|
11713
11805
|
*/
|
|
11714
11806
|
summaryImageCount?: number;
|
|
11715
11807
|
/**
|
|
11716
|
-
* @remarks
|
|
11717
|
-
* This parameter is required.
|
|
11718
|
-
*
|
|
11719
11808
|
* @example
|
|
11720
11809
|
* qwen-max
|
|
11721
11810
|
*/
|
|
@@ -21904,6 +21993,7 @@ export declare class RunBookIntroductionRequest extends $dara.Model {
|
|
|
21904
21993
|
* 3YQRatoe8phnpIsIE6z7DTPknhG8Fj
|
|
21905
21994
|
*/
|
|
21906
21995
|
docId?: string;
|
|
21996
|
+
keyPointPrompt?: string;
|
|
21907
21997
|
/**
|
|
21908
21998
|
* @remarks
|
|
21909
21999
|
* This parameter is required.
|
|
@@ -21912,6 +22002,7 @@ export declare class RunBookIntroductionRequest extends $dara.Model {
|
|
|
21912
22002
|
* 0f56f98a-f2d8-47ec-98e9-1cbdcffa9539
|
|
21913
22003
|
*/
|
|
21914
22004
|
sessionId?: string;
|
|
22005
|
+
summaryPrompt?: string;
|
|
21915
22006
|
/**
|
|
21916
22007
|
* @remarks
|
|
21917
22008
|
* This parameter is required.
|
|
@@ -22085,6 +22176,7 @@ export declare class RunCommentGenerationRequest extends $dara.Model {
|
|
|
22085
22176
|
sentiment?: {
|
|
22086
22177
|
[key: string]: any;
|
|
22087
22178
|
};
|
|
22179
|
+
sessionId?: string;
|
|
22088
22180
|
/**
|
|
22089
22181
|
* @remarks
|
|
22090
22182
|
* This parameter is required.
|
|
@@ -22156,6 +22248,7 @@ export declare class RunCommentGenerationShrinkRequest extends $dara.Model {
|
|
|
22156
22248
|
* {"positive":"50","negative":"50"}
|
|
22157
22249
|
*/
|
|
22158
22250
|
sentimentShrink?: string;
|
|
22251
|
+
sessionId?: string;
|
|
22159
22252
|
/**
|
|
22160
22253
|
* @remarks
|
|
22161
22254
|
* This parameter is required.
|
|
@@ -22488,6 +22581,7 @@ export declare class RunCustomHotTopicViewPointAnalysisResponse extends $dara.Mo
|
|
|
22488
22581
|
});
|
|
22489
22582
|
}
|
|
22490
22583
|
export declare class RunDocBrainmapRequest extends $dara.Model {
|
|
22584
|
+
cleanCache?: boolean;
|
|
22491
22585
|
/**
|
|
22492
22586
|
* @remarks
|
|
22493
22587
|
* This parameter is required.
|
|
@@ -22496,6 +22590,8 @@ export declare class RunDocBrainmapRequest extends $dara.Model {
|
|
|
22496
22590
|
* 12345
|
|
22497
22591
|
*/
|
|
22498
22592
|
docId?: string;
|
|
22593
|
+
nodeNumber?: number;
|
|
22594
|
+
prompt?: string;
|
|
22499
22595
|
/**
|
|
22500
22596
|
* @remarks
|
|
22501
22597
|
* This parameter is required.
|
|
@@ -22504,6 +22600,7 @@ export declare class RunDocBrainmapRequest extends $dara.Model {
|
|
|
22504
22600
|
* 3f7045e099474ba28ceca1b4eb6d6e21
|
|
22505
22601
|
*/
|
|
22506
22602
|
sessionId?: string;
|
|
22603
|
+
wordNumber?: number;
|
|
22507
22604
|
/**
|
|
22508
22605
|
* @remarks
|
|
22509
22606
|
* This parameter is required.
|
|
@@ -22560,6 +22657,7 @@ export declare class RunDocBrainmapResponse extends $dara.Model {
|
|
|
22560
22657
|
});
|
|
22561
22658
|
}
|
|
22562
22659
|
export declare class RunDocIntroductionRequest extends $dara.Model {
|
|
22660
|
+
cleanCache?: boolean;
|
|
22563
22661
|
/**
|
|
22564
22662
|
* @remarks
|
|
22565
22663
|
* This parameter is required.
|
|
@@ -22568,6 +22666,8 @@ export declare class RunDocIntroductionRequest extends $dara.Model {
|
|
|
22568
22666
|
* 12345
|
|
22569
22667
|
*/
|
|
22570
22668
|
docId?: string;
|
|
22669
|
+
introductionPrompt?: string;
|
|
22670
|
+
keyPointPrompt?: string;
|
|
22571
22671
|
/**
|
|
22572
22672
|
* @remarks
|
|
22573
22673
|
* This parameter is required.
|
|
@@ -22576,6 +22676,7 @@ export declare class RunDocIntroductionRequest extends $dara.Model {
|
|
|
22576
22676
|
* a3b5eb35-6b28-4cf9-ac09-1dec25ab4df6
|
|
22577
22677
|
*/
|
|
22578
22678
|
sessionId?: string;
|
|
22679
|
+
summaryPrompt?: string;
|
|
22579
22680
|
/**
|
|
22580
22681
|
* @remarks
|
|
22581
22682
|
* This parameter is required.
|
|
@@ -22833,6 +22934,7 @@ export declare class RunDocSmartCardResponse extends $dara.Model {
|
|
|
22833
22934
|
});
|
|
22834
22935
|
}
|
|
22835
22936
|
export declare class RunDocSummaryRequest extends $dara.Model {
|
|
22937
|
+
cleanCache?: boolean;
|
|
22836
22938
|
/**
|
|
22837
22939
|
* @example
|
|
22838
22940
|
* 12345
|
|
@@ -22904,6 +23006,7 @@ export declare class RunDocSummaryResponse extends $dara.Model {
|
|
|
22904
23006
|
});
|
|
22905
23007
|
}
|
|
22906
23008
|
export declare class RunDocTranslationRequest extends $dara.Model {
|
|
23009
|
+
cleanCache?: boolean;
|
|
22907
23010
|
/**
|
|
22908
23011
|
* @example
|
|
22909
23012
|
* 12345
|
|
@@ -22979,6 +23082,85 @@ export declare class RunDocTranslationResponse extends $dara.Model {
|
|
|
22979
23082
|
[key: string]: any;
|
|
22980
23083
|
});
|
|
22981
23084
|
}
|
|
23085
|
+
export declare class RunDocWashingRequest extends $dara.Model {
|
|
23086
|
+
prompt?: string;
|
|
23087
|
+
/**
|
|
23088
|
+
* @remarks
|
|
23089
|
+
* This parameter is required.
|
|
23090
|
+
*/
|
|
23091
|
+
referenceContent?: string;
|
|
23092
|
+
sessionId?: string;
|
|
23093
|
+
topic?: string;
|
|
23094
|
+
/**
|
|
23095
|
+
* @example
|
|
23096
|
+
* 500
|
|
23097
|
+
*/
|
|
23098
|
+
wordNumber?: number;
|
|
23099
|
+
/**
|
|
23100
|
+
* @remarks
|
|
23101
|
+
* This parameter is required.
|
|
23102
|
+
*
|
|
23103
|
+
* @example
|
|
23104
|
+
* llm-2setzb9x4ewsd
|
|
23105
|
+
*/
|
|
23106
|
+
workspaceId?: string;
|
|
23107
|
+
writingTypeName?: string;
|
|
23108
|
+
writingTypeRefDoc?: string;
|
|
23109
|
+
static names(): {
|
|
23110
|
+
[key: string]: string;
|
|
23111
|
+
};
|
|
23112
|
+
static types(): {
|
|
23113
|
+
[key: string]: any;
|
|
23114
|
+
};
|
|
23115
|
+
validate(): void;
|
|
23116
|
+
constructor(map?: {
|
|
23117
|
+
[key: string]: any;
|
|
23118
|
+
});
|
|
23119
|
+
}
|
|
23120
|
+
export declare class RunDocWashingResponseBody extends $dara.Model {
|
|
23121
|
+
/**
|
|
23122
|
+
* @example
|
|
23123
|
+
* false
|
|
23124
|
+
*/
|
|
23125
|
+
end?: boolean;
|
|
23126
|
+
header?: RunDocWashingResponseBodyHeader;
|
|
23127
|
+
payload?: RunDocWashingResponseBodyPayload;
|
|
23128
|
+
/**
|
|
23129
|
+
* @remarks
|
|
23130
|
+
* Id of the request
|
|
23131
|
+
*
|
|
23132
|
+
* @example
|
|
23133
|
+
* 1813ceee-7fe5-41b4-87e5-982a4d18cca5
|
|
23134
|
+
*/
|
|
23135
|
+
requestId?: string;
|
|
23136
|
+
static names(): {
|
|
23137
|
+
[key: string]: string;
|
|
23138
|
+
};
|
|
23139
|
+
static types(): {
|
|
23140
|
+
[key: string]: any;
|
|
23141
|
+
};
|
|
23142
|
+
validate(): void;
|
|
23143
|
+
constructor(map?: {
|
|
23144
|
+
[key: string]: any;
|
|
23145
|
+
});
|
|
23146
|
+
}
|
|
23147
|
+
export declare class RunDocWashingResponse extends $dara.Model {
|
|
23148
|
+
headers?: {
|
|
23149
|
+
[key: string]: string;
|
|
23150
|
+
};
|
|
23151
|
+
statusCode?: number;
|
|
23152
|
+
body?: RunDocWashingResponseBody;
|
|
23153
|
+
static names(): {
|
|
23154
|
+
[key: string]: string;
|
|
23155
|
+
};
|
|
23156
|
+
static types(): {
|
|
23157
|
+
[key: string]: any;
|
|
23158
|
+
};
|
|
23159
|
+
validate(): void;
|
|
23160
|
+
constructor(map?: {
|
|
23161
|
+
[key: string]: any;
|
|
23162
|
+
});
|
|
23163
|
+
}
|
|
22982
23164
|
export declare class RunExpandContentRequest extends $dara.Model {
|
|
22983
23165
|
/**
|
|
22984
23166
|
* @remarks
|
|
@@ -28392,6 +28574,21 @@ export default class Client extends OpenApi {
|
|
|
28392
28574
|
* @returns RunDocTranslationResponse
|
|
28393
28575
|
*/
|
|
28394
28576
|
runDocTranslation(request: RunDocTranslationRequest): Promise<RunDocTranslationResponse>;
|
|
28577
|
+
/**
|
|
28578
|
+
* 文档改写
|
|
28579
|
+
*
|
|
28580
|
+
* @param request - RunDocWashingRequest
|
|
28581
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
28582
|
+
* @returns RunDocWashingResponse
|
|
28583
|
+
*/
|
|
28584
|
+
runDocWashingWithOptions(request: RunDocWashingRequest, runtime: $dara.RuntimeOptions): Promise<RunDocWashingResponse>;
|
|
28585
|
+
/**
|
|
28586
|
+
* 文档改写
|
|
28587
|
+
*
|
|
28588
|
+
* @param request - RunDocWashingRequest
|
|
28589
|
+
* @returns RunDocWashingResponse
|
|
28590
|
+
*/
|
|
28591
|
+
runDocWashing(request: RunDocWashingRequest): Promise<RunDocWashingResponse>;
|
|
28395
28592
|
/**
|
|
28396
28593
|
* 内容扩写
|
|
28397
28594
|
*
|