@alicloud/aimiaobi20230801 1.19.0 → 1.20.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 +365 -0
- package/dist/client.js +491 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +695 -0
package/dist/client.d.ts
CHANGED
|
@@ -7256,6 +7256,200 @@ export declare class RunExpandContentResponseBodyPayload extends $dara.Model {
|
|
|
7256
7256
|
[key: string]: any;
|
|
7257
7257
|
});
|
|
7258
7258
|
}
|
|
7259
|
+
export declare class RunGenerateQuestionsResponseBodyHeader extends $dara.Model {
|
|
7260
|
+
/**
|
|
7261
|
+
* @example
|
|
7262
|
+
* 200
|
|
7263
|
+
*/
|
|
7264
|
+
errorCode?: string;
|
|
7265
|
+
/**
|
|
7266
|
+
* @example
|
|
7267
|
+
* success
|
|
7268
|
+
*/
|
|
7269
|
+
errorMessage?: string;
|
|
7270
|
+
/**
|
|
7271
|
+
* @example
|
|
7272
|
+
* finished
|
|
7273
|
+
*/
|
|
7274
|
+
event?: string;
|
|
7275
|
+
eventInfo?: string;
|
|
7276
|
+
/**
|
|
7277
|
+
* @example
|
|
7278
|
+
* 3cd10828-0e42-471c-8f1a-931cde20b035
|
|
7279
|
+
*/
|
|
7280
|
+
sessionId?: string;
|
|
7281
|
+
/**
|
|
7282
|
+
* @example
|
|
7283
|
+
* d3be9981-ca2d-4e17-bf31-1c0a628e9f99
|
|
7284
|
+
*/
|
|
7285
|
+
taskId?: string;
|
|
7286
|
+
/**
|
|
7287
|
+
* @example
|
|
7288
|
+
* 0bc3b4b417362160345997589e5f6e
|
|
7289
|
+
*/
|
|
7290
|
+
traceId?: string;
|
|
7291
|
+
static names(): {
|
|
7292
|
+
[key: string]: string;
|
|
7293
|
+
};
|
|
7294
|
+
static types(): {
|
|
7295
|
+
[key: string]: any;
|
|
7296
|
+
};
|
|
7297
|
+
validate(): void;
|
|
7298
|
+
constructor(map?: {
|
|
7299
|
+
[key: string]: any;
|
|
7300
|
+
});
|
|
7301
|
+
}
|
|
7302
|
+
export declare class RunGenerateQuestionsResponseBodyPayloadOutput extends $dara.Model {
|
|
7303
|
+
content?: string;
|
|
7304
|
+
static names(): {
|
|
7305
|
+
[key: string]: string;
|
|
7306
|
+
};
|
|
7307
|
+
static types(): {
|
|
7308
|
+
[key: string]: any;
|
|
7309
|
+
};
|
|
7310
|
+
validate(): void;
|
|
7311
|
+
constructor(map?: {
|
|
7312
|
+
[key: string]: any;
|
|
7313
|
+
});
|
|
7314
|
+
}
|
|
7315
|
+
export declare class RunGenerateQuestionsResponseBodyPayloadUsage extends $dara.Model {
|
|
7316
|
+
/**
|
|
7317
|
+
* @example
|
|
7318
|
+
* 100
|
|
7319
|
+
*/
|
|
7320
|
+
inputTokens?: number;
|
|
7321
|
+
/**
|
|
7322
|
+
* @example
|
|
7323
|
+
* 100
|
|
7324
|
+
*/
|
|
7325
|
+
outputTokens?: number;
|
|
7326
|
+
/**
|
|
7327
|
+
* @example
|
|
7328
|
+
* 200
|
|
7329
|
+
*/
|
|
7330
|
+
totalTokens?: number;
|
|
7331
|
+
static names(): {
|
|
7332
|
+
[key: string]: string;
|
|
7333
|
+
};
|
|
7334
|
+
static types(): {
|
|
7335
|
+
[key: string]: any;
|
|
7336
|
+
};
|
|
7337
|
+
validate(): void;
|
|
7338
|
+
constructor(map?: {
|
|
7339
|
+
[key: string]: any;
|
|
7340
|
+
});
|
|
7341
|
+
}
|
|
7342
|
+
export declare class RunGenerateQuestionsResponseBodyPayload extends $dara.Model {
|
|
7343
|
+
output?: RunGenerateQuestionsResponseBodyPayloadOutput;
|
|
7344
|
+
usage?: RunGenerateQuestionsResponseBodyPayloadUsage;
|
|
7345
|
+
static names(): {
|
|
7346
|
+
[key: string]: string;
|
|
7347
|
+
};
|
|
7348
|
+
static types(): {
|
|
7349
|
+
[key: string]: any;
|
|
7350
|
+
};
|
|
7351
|
+
validate(): void;
|
|
7352
|
+
constructor(map?: {
|
|
7353
|
+
[key: string]: any;
|
|
7354
|
+
});
|
|
7355
|
+
}
|
|
7356
|
+
export declare class RunHotwordResponseBodyHeader extends $dara.Model {
|
|
7357
|
+
/**
|
|
7358
|
+
* @example
|
|
7359
|
+
* 200
|
|
7360
|
+
*/
|
|
7361
|
+
errorCode?: string;
|
|
7362
|
+
/**
|
|
7363
|
+
* @example
|
|
7364
|
+
* success
|
|
7365
|
+
*/
|
|
7366
|
+
errorMessage?: string;
|
|
7367
|
+
/**
|
|
7368
|
+
* @example
|
|
7369
|
+
* finished
|
|
7370
|
+
*/
|
|
7371
|
+
event?: string;
|
|
7372
|
+
eventInfo?: string;
|
|
7373
|
+
/**
|
|
7374
|
+
* @example
|
|
7375
|
+
* 92e16ccb-92b6-4894-abbf-fc6e2929a0df
|
|
7376
|
+
*/
|
|
7377
|
+
sessionId?: string;
|
|
7378
|
+
/**
|
|
7379
|
+
* @example
|
|
7380
|
+
* 3f7045e099474ba28ceca1b4eb6d6e21
|
|
7381
|
+
*/
|
|
7382
|
+
taskId?: string;
|
|
7383
|
+
/**
|
|
7384
|
+
* @example
|
|
7385
|
+
* 0abb7e3217356108993888059ee72b
|
|
7386
|
+
*/
|
|
7387
|
+
traceId?: string;
|
|
7388
|
+
static names(): {
|
|
7389
|
+
[key: string]: string;
|
|
7390
|
+
};
|
|
7391
|
+
static types(): {
|
|
7392
|
+
[key: string]: any;
|
|
7393
|
+
};
|
|
7394
|
+
validate(): void;
|
|
7395
|
+
constructor(map?: {
|
|
7396
|
+
[key: string]: any;
|
|
7397
|
+
});
|
|
7398
|
+
}
|
|
7399
|
+
export declare class RunHotwordResponseBodyPayloadOutput extends $dara.Model {
|
|
7400
|
+
content?: string;
|
|
7401
|
+
static names(): {
|
|
7402
|
+
[key: string]: string;
|
|
7403
|
+
};
|
|
7404
|
+
static types(): {
|
|
7405
|
+
[key: string]: any;
|
|
7406
|
+
};
|
|
7407
|
+
validate(): void;
|
|
7408
|
+
constructor(map?: {
|
|
7409
|
+
[key: string]: any;
|
|
7410
|
+
});
|
|
7411
|
+
}
|
|
7412
|
+
export declare class RunHotwordResponseBodyPayloadUsage extends $dara.Model {
|
|
7413
|
+
/**
|
|
7414
|
+
* @example
|
|
7415
|
+
* 100
|
|
7416
|
+
*/
|
|
7417
|
+
inputTokens?: number;
|
|
7418
|
+
/**
|
|
7419
|
+
* @example
|
|
7420
|
+
* 1
|
|
7421
|
+
*/
|
|
7422
|
+
outputTokens?: number;
|
|
7423
|
+
/**
|
|
7424
|
+
* @example
|
|
7425
|
+
* 101
|
|
7426
|
+
*/
|
|
7427
|
+
totalTokens?: number;
|
|
7428
|
+
static names(): {
|
|
7429
|
+
[key: string]: string;
|
|
7430
|
+
};
|
|
7431
|
+
static types(): {
|
|
7432
|
+
[key: string]: any;
|
|
7433
|
+
};
|
|
7434
|
+
validate(): void;
|
|
7435
|
+
constructor(map?: {
|
|
7436
|
+
[key: string]: any;
|
|
7437
|
+
});
|
|
7438
|
+
}
|
|
7439
|
+
export declare class RunHotwordResponseBodyPayload extends $dara.Model {
|
|
7440
|
+
output?: RunHotwordResponseBodyPayloadOutput;
|
|
7441
|
+
usage?: RunHotwordResponseBodyPayloadUsage;
|
|
7442
|
+
static names(): {
|
|
7443
|
+
[key: string]: string;
|
|
7444
|
+
};
|
|
7445
|
+
static types(): {
|
|
7446
|
+
[key: string]: any;
|
|
7447
|
+
};
|
|
7448
|
+
validate(): void;
|
|
7449
|
+
constructor(map?: {
|
|
7450
|
+
[key: string]: any;
|
|
7451
|
+
});
|
|
7452
|
+
}
|
|
7259
7453
|
export declare class RunKeywordsExtractionGenerationRequestReferenceData extends $dara.Model {
|
|
7260
7454
|
/**
|
|
7261
7455
|
* @remarks
|
|
@@ -22850,6 +23044,147 @@ export declare class RunExpandContentResponse extends $dara.Model {
|
|
|
22850
23044
|
[key: string]: any;
|
|
22851
23045
|
});
|
|
22852
23046
|
}
|
|
23047
|
+
export declare class RunGenerateQuestionsRequest extends $dara.Model {
|
|
23048
|
+
/**
|
|
23049
|
+
* @example
|
|
23050
|
+
* oOgIwodFANW1u5MnqxysOh1rtld3xn
|
|
23051
|
+
*/
|
|
23052
|
+
docId?: string;
|
|
23053
|
+
referenceContent?: string;
|
|
23054
|
+
/**
|
|
23055
|
+
* @example
|
|
23056
|
+
* f486c4e2-b773-4d65-88f8-2ba540610456
|
|
23057
|
+
*/
|
|
23058
|
+
sessionId?: string;
|
|
23059
|
+
/**
|
|
23060
|
+
* @remarks
|
|
23061
|
+
* This parameter is required.
|
|
23062
|
+
*
|
|
23063
|
+
* @example
|
|
23064
|
+
* llm-w335gauzlbba2vze
|
|
23065
|
+
*/
|
|
23066
|
+
workspaceId?: string;
|
|
23067
|
+
static names(): {
|
|
23068
|
+
[key: string]: string;
|
|
23069
|
+
};
|
|
23070
|
+
static types(): {
|
|
23071
|
+
[key: string]: any;
|
|
23072
|
+
};
|
|
23073
|
+
validate(): void;
|
|
23074
|
+
constructor(map?: {
|
|
23075
|
+
[key: string]: any;
|
|
23076
|
+
});
|
|
23077
|
+
}
|
|
23078
|
+
export declare class RunGenerateQuestionsResponseBody extends $dara.Model {
|
|
23079
|
+
header?: RunGenerateQuestionsResponseBodyHeader;
|
|
23080
|
+
payload?: RunGenerateQuestionsResponseBodyPayload;
|
|
23081
|
+
/**
|
|
23082
|
+
* @remarks
|
|
23083
|
+
* Id of the request
|
|
23084
|
+
*
|
|
23085
|
+
* @example
|
|
23086
|
+
* 1813ceee-7fe5-41b4-87e5-982a4d18cca5
|
|
23087
|
+
*/
|
|
23088
|
+
requestId?: string;
|
|
23089
|
+
static names(): {
|
|
23090
|
+
[key: string]: string;
|
|
23091
|
+
};
|
|
23092
|
+
static types(): {
|
|
23093
|
+
[key: string]: any;
|
|
23094
|
+
};
|
|
23095
|
+
validate(): void;
|
|
23096
|
+
constructor(map?: {
|
|
23097
|
+
[key: string]: any;
|
|
23098
|
+
});
|
|
23099
|
+
}
|
|
23100
|
+
export declare class RunGenerateQuestionsResponse extends $dara.Model {
|
|
23101
|
+
headers?: {
|
|
23102
|
+
[key: string]: string;
|
|
23103
|
+
};
|
|
23104
|
+
statusCode?: number;
|
|
23105
|
+
body?: RunGenerateQuestionsResponseBody;
|
|
23106
|
+
static names(): {
|
|
23107
|
+
[key: string]: string;
|
|
23108
|
+
};
|
|
23109
|
+
static types(): {
|
|
23110
|
+
[key: string]: any;
|
|
23111
|
+
};
|
|
23112
|
+
validate(): void;
|
|
23113
|
+
constructor(map?: {
|
|
23114
|
+
[key: string]: any;
|
|
23115
|
+
});
|
|
23116
|
+
}
|
|
23117
|
+
export declare class RunHotwordRequest extends $dara.Model {
|
|
23118
|
+
/**
|
|
23119
|
+
* @example
|
|
23120
|
+
* 84ufBYEeLMZOjRFo84HJ7ySL3Efr55
|
|
23121
|
+
*/
|
|
23122
|
+
docId?: string;
|
|
23123
|
+
prompt?: string;
|
|
23124
|
+
referenceContent?: string;
|
|
23125
|
+
/**
|
|
23126
|
+
* @example
|
|
23127
|
+
* e32a1a3f-1f7e-41dd-b888-ef1d91b96d1e
|
|
23128
|
+
*/
|
|
23129
|
+
sessionId?: string;
|
|
23130
|
+
/**
|
|
23131
|
+
* @remarks
|
|
23132
|
+
* This parameter is required.
|
|
23133
|
+
*
|
|
23134
|
+
* @example
|
|
23135
|
+
* llm-baw8as25ll3wnzjr
|
|
23136
|
+
*/
|
|
23137
|
+
workspaceId?: string;
|
|
23138
|
+
static names(): {
|
|
23139
|
+
[key: string]: string;
|
|
23140
|
+
};
|
|
23141
|
+
static types(): {
|
|
23142
|
+
[key: string]: any;
|
|
23143
|
+
};
|
|
23144
|
+
validate(): void;
|
|
23145
|
+
constructor(map?: {
|
|
23146
|
+
[key: string]: any;
|
|
23147
|
+
});
|
|
23148
|
+
}
|
|
23149
|
+
export declare class RunHotwordResponseBody extends $dara.Model {
|
|
23150
|
+
header?: RunHotwordResponseBodyHeader;
|
|
23151
|
+
payload?: RunHotwordResponseBodyPayload;
|
|
23152
|
+
/**
|
|
23153
|
+
* @remarks
|
|
23154
|
+
* Id of the request
|
|
23155
|
+
*
|
|
23156
|
+
* @example
|
|
23157
|
+
* 1813ceee-7fe5-41b4-87e5-982a4d18cca5
|
|
23158
|
+
*/
|
|
23159
|
+
requestId?: string;
|
|
23160
|
+
static names(): {
|
|
23161
|
+
[key: string]: string;
|
|
23162
|
+
};
|
|
23163
|
+
static types(): {
|
|
23164
|
+
[key: string]: any;
|
|
23165
|
+
};
|
|
23166
|
+
validate(): void;
|
|
23167
|
+
constructor(map?: {
|
|
23168
|
+
[key: string]: any;
|
|
23169
|
+
});
|
|
23170
|
+
}
|
|
23171
|
+
export declare class RunHotwordResponse extends $dara.Model {
|
|
23172
|
+
headers?: {
|
|
23173
|
+
[key: string]: string;
|
|
23174
|
+
};
|
|
23175
|
+
statusCode?: number;
|
|
23176
|
+
body?: RunHotwordResponseBody;
|
|
23177
|
+
static names(): {
|
|
23178
|
+
[key: string]: string;
|
|
23179
|
+
};
|
|
23180
|
+
static types(): {
|
|
23181
|
+
[key: string]: any;
|
|
23182
|
+
};
|
|
23183
|
+
validate(): void;
|
|
23184
|
+
constructor(map?: {
|
|
23185
|
+
[key: string]: any;
|
|
23186
|
+
});
|
|
23187
|
+
}
|
|
22853
23188
|
export declare class RunKeywordsExtractionGenerationRequest extends $dara.Model {
|
|
22854
23189
|
/**
|
|
22855
23190
|
* @remarks
|
|
@@ -28072,6 +28407,36 @@ export default class Client extends OpenApi {
|
|
|
28072
28407
|
* @returns RunExpandContentResponse
|
|
28073
28408
|
*/
|
|
28074
28409
|
runExpandContent(request: RunExpandContentRequest): Promise<RunExpandContentResponse>;
|
|
28410
|
+
/**
|
|
28411
|
+
* 妙读猜你想问接口
|
|
28412
|
+
*
|
|
28413
|
+
* @param request - RunGenerateQuestionsRequest
|
|
28414
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
28415
|
+
* @returns RunGenerateQuestionsResponse
|
|
28416
|
+
*/
|
|
28417
|
+
runGenerateQuestionsWithOptions(request: RunGenerateQuestionsRequest, runtime: $dara.RuntimeOptions): Promise<RunGenerateQuestionsResponse>;
|
|
28418
|
+
/**
|
|
28419
|
+
* 妙读猜你想问接口
|
|
28420
|
+
*
|
|
28421
|
+
* @param request - RunGenerateQuestionsRequest
|
|
28422
|
+
* @returns RunGenerateQuestionsResponse
|
|
28423
|
+
*/
|
|
28424
|
+
runGenerateQuestions(request: RunGenerateQuestionsRequest): Promise<RunGenerateQuestionsResponse>;
|
|
28425
|
+
/**
|
|
28426
|
+
* 妙读文档关键词抽取接口
|
|
28427
|
+
*
|
|
28428
|
+
* @param request - RunHotwordRequest
|
|
28429
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
28430
|
+
* @returns RunHotwordResponse
|
|
28431
|
+
*/
|
|
28432
|
+
runHotwordWithOptions(request: RunHotwordRequest, runtime: $dara.RuntimeOptions): Promise<RunHotwordResponse>;
|
|
28433
|
+
/**
|
|
28434
|
+
* 妙读文档关键词抽取接口
|
|
28435
|
+
*
|
|
28436
|
+
* @param request - RunHotwordRequest
|
|
28437
|
+
* @returns RunHotwordResponse
|
|
28438
|
+
*/
|
|
28439
|
+
runHotword(request: RunHotwordRequest): Promise<RunHotwordResponse>;
|
|
28075
28440
|
/**
|
|
28076
28441
|
* AI妙笔-创作-抽取关键词
|
|
28077
28442
|
*
|