@alicloud/dianjin20240628 1.7.0 → 1.8.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 +188 -0
- package/dist/client.js +211 -5
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +318 -0
package/dist/client.d.ts
CHANGED
|
@@ -1323,6 +1323,101 @@ export declare class GetChatQuestionRespResponse extends $tea.Model {
|
|
|
1323
1323
|
[key: string]: any;
|
|
1324
1324
|
});
|
|
1325
1325
|
}
|
|
1326
|
+
export declare class GetDialogAnalysisResultRequest extends $tea.Model {
|
|
1327
|
+
/**
|
|
1328
|
+
* @example
|
|
1329
|
+
* true
|
|
1330
|
+
*/
|
|
1331
|
+
asc?: boolean;
|
|
1332
|
+
/**
|
|
1333
|
+
* @example
|
|
1334
|
+
* 2024-09-23 09:20:02
|
|
1335
|
+
*/
|
|
1336
|
+
endTime?: string;
|
|
1337
|
+
sessionIds?: string[];
|
|
1338
|
+
/**
|
|
1339
|
+
* @example
|
|
1340
|
+
* 2024-09-14 09:11:00
|
|
1341
|
+
*/
|
|
1342
|
+
startTime?: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* @example
|
|
1345
|
+
* true
|
|
1346
|
+
*/
|
|
1347
|
+
useUrl?: boolean;
|
|
1348
|
+
static names(): {
|
|
1349
|
+
[key: string]: string;
|
|
1350
|
+
};
|
|
1351
|
+
static types(): {
|
|
1352
|
+
[key: string]: any;
|
|
1353
|
+
};
|
|
1354
|
+
constructor(map?: {
|
|
1355
|
+
[key: string]: any;
|
|
1356
|
+
});
|
|
1357
|
+
}
|
|
1358
|
+
export declare class GetDialogAnalysisResultResponseBody extends $tea.Model {
|
|
1359
|
+
/**
|
|
1360
|
+
* @example
|
|
1361
|
+
* null
|
|
1362
|
+
*/
|
|
1363
|
+
cost?: number;
|
|
1364
|
+
data?: GetDialogAnalysisResultResponseBodyData;
|
|
1365
|
+
/**
|
|
1366
|
+
* @example
|
|
1367
|
+
* null
|
|
1368
|
+
*/
|
|
1369
|
+
dataType?: string;
|
|
1370
|
+
/**
|
|
1371
|
+
* @example
|
|
1372
|
+
* 0
|
|
1373
|
+
*/
|
|
1374
|
+
errCode?: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* @example
|
|
1377
|
+
* ok
|
|
1378
|
+
*/
|
|
1379
|
+
message?: string;
|
|
1380
|
+
/**
|
|
1381
|
+
* @example
|
|
1382
|
+
* 88A006F0-B565-53BA-B38A-DBDF9D0B2935
|
|
1383
|
+
*/
|
|
1384
|
+
requestId?: string;
|
|
1385
|
+
/**
|
|
1386
|
+
* @example
|
|
1387
|
+
* true
|
|
1388
|
+
*/
|
|
1389
|
+
success?: boolean;
|
|
1390
|
+
/**
|
|
1391
|
+
* @example
|
|
1392
|
+
* 2024-04-24 11:54:34
|
|
1393
|
+
*/
|
|
1394
|
+
time?: string;
|
|
1395
|
+
static names(): {
|
|
1396
|
+
[key: string]: string;
|
|
1397
|
+
};
|
|
1398
|
+
static types(): {
|
|
1399
|
+
[key: string]: any;
|
|
1400
|
+
};
|
|
1401
|
+
constructor(map?: {
|
|
1402
|
+
[key: string]: any;
|
|
1403
|
+
});
|
|
1404
|
+
}
|
|
1405
|
+
export declare class GetDialogAnalysisResultResponse extends $tea.Model {
|
|
1406
|
+
headers?: {
|
|
1407
|
+
[key: string]: string;
|
|
1408
|
+
};
|
|
1409
|
+
statusCode?: number;
|
|
1410
|
+
body?: GetDialogAnalysisResultResponseBody;
|
|
1411
|
+
static names(): {
|
|
1412
|
+
[key: string]: string;
|
|
1413
|
+
};
|
|
1414
|
+
static types(): {
|
|
1415
|
+
[key: string]: any;
|
|
1416
|
+
};
|
|
1417
|
+
constructor(map?: {
|
|
1418
|
+
[key: string]: any;
|
|
1419
|
+
});
|
|
1420
|
+
}
|
|
1326
1421
|
export declare class GetDocumentChunkListRequest extends $tea.Model {
|
|
1327
1422
|
chunkIdList?: string[];
|
|
1328
1423
|
/**
|
|
@@ -4411,6 +4506,81 @@ export declare class GetChatQuestionRespResponseBodyData extends $tea.Model {
|
|
|
4411
4506
|
[key: string]: any;
|
|
4412
4507
|
});
|
|
4413
4508
|
}
|
|
4509
|
+
export declare class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels extends $tea.Model {
|
|
4510
|
+
name?: string;
|
|
4511
|
+
/**
|
|
4512
|
+
* @example
|
|
4513
|
+
* 0
|
|
4514
|
+
*/
|
|
4515
|
+
value?: string;
|
|
4516
|
+
static names(): {
|
|
4517
|
+
[key: string]: string;
|
|
4518
|
+
};
|
|
4519
|
+
static types(): {
|
|
4520
|
+
[key: string]: any;
|
|
4521
|
+
};
|
|
4522
|
+
constructor(map?: {
|
|
4523
|
+
[key: string]: any;
|
|
4524
|
+
});
|
|
4525
|
+
}
|
|
4526
|
+
export declare class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp extends $tea.Model {
|
|
4527
|
+
dialogExecPlan?: string;
|
|
4528
|
+
dialogLabels?: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels[];
|
|
4529
|
+
dialogSummary?: string;
|
|
4530
|
+
static names(): {
|
|
4531
|
+
[key: string]: string;
|
|
4532
|
+
};
|
|
4533
|
+
static types(): {
|
|
4534
|
+
[key: string]: any;
|
|
4535
|
+
};
|
|
4536
|
+
constructor(map?: {
|
|
4537
|
+
[key: string]: any;
|
|
4538
|
+
});
|
|
4539
|
+
}
|
|
4540
|
+
export declare class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList extends $tea.Model {
|
|
4541
|
+
analysisResp?: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp;
|
|
4542
|
+
/**
|
|
4543
|
+
* @example
|
|
4544
|
+
* 2024-04-24 11:54:34
|
|
4545
|
+
*/
|
|
4546
|
+
gmtCreate?: string;
|
|
4547
|
+
/**
|
|
4548
|
+
* @example
|
|
4549
|
+
* https://xxx.oss-cn-beijing.aliyuncs.com/dialog-analysis/2024-12-30/2/1826661605606129665
|
|
4550
|
+
*/
|
|
4551
|
+
ossUrl?: string;
|
|
4552
|
+
/**
|
|
4553
|
+
* @example
|
|
4554
|
+
* 183764873624
|
|
4555
|
+
*/
|
|
4556
|
+
sessionId?: string;
|
|
4557
|
+
/**
|
|
4558
|
+
* @example
|
|
4559
|
+
* running
|
|
4560
|
+
*/
|
|
4561
|
+
status?: string;
|
|
4562
|
+
static names(): {
|
|
4563
|
+
[key: string]: string;
|
|
4564
|
+
};
|
|
4565
|
+
static types(): {
|
|
4566
|
+
[key: string]: any;
|
|
4567
|
+
};
|
|
4568
|
+
constructor(map?: {
|
|
4569
|
+
[key: string]: any;
|
|
4570
|
+
});
|
|
4571
|
+
}
|
|
4572
|
+
export declare class GetDialogAnalysisResultResponseBodyData extends $tea.Model {
|
|
4573
|
+
dialogAnalysisRespList?: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList[];
|
|
4574
|
+
static names(): {
|
|
4575
|
+
[key: string]: string;
|
|
4576
|
+
};
|
|
4577
|
+
static types(): {
|
|
4578
|
+
[key: string]: any;
|
|
4579
|
+
};
|
|
4580
|
+
constructor(map?: {
|
|
4581
|
+
[key: string]: any;
|
|
4582
|
+
});
|
|
4583
|
+
}
|
|
4414
4584
|
export declare class GetDocumentChunkListResponseBodyDataRecordsPos extends $tea.Model {
|
|
4415
4585
|
axisArray?: number[];
|
|
4416
4586
|
/**
|
|
@@ -7519,6 +7689,24 @@ export default class Client extends OpenApi {
|
|
|
7519
7689
|
* @returns GetChatQuestionRespResponse
|
|
7520
7690
|
*/
|
|
7521
7691
|
getChatQuestionResp(workspaceId: string, request: GetChatQuestionRespRequest): Promise<GetChatQuestionRespResponse>;
|
|
7692
|
+
/**
|
|
7693
|
+
* 获取外呼会话分析结果
|
|
7694
|
+
*
|
|
7695
|
+
* @param request - GetDialogAnalysisResultRequest
|
|
7696
|
+
* @param headers - map
|
|
7697
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7698
|
+
* @returns GetDialogAnalysisResultResponse
|
|
7699
|
+
*/
|
|
7700
|
+
getDialogAnalysisResultWithOptions(workspaceId: string, request: GetDialogAnalysisResultRequest, headers: {
|
|
7701
|
+
[key: string]: string;
|
|
7702
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetDialogAnalysisResultResponse>;
|
|
7703
|
+
/**
|
|
7704
|
+
* 获取外呼会话分析结果
|
|
7705
|
+
*
|
|
7706
|
+
* @param request - GetDialogAnalysisResultRequest
|
|
7707
|
+
* @returns GetDialogAnalysisResultResponse
|
|
7708
|
+
*/
|
|
7709
|
+
getDialogAnalysisResult(workspaceId: string, request: GetDialogAnalysisResultRequest): Promise<GetDialogAnalysisResultResponse>;
|
|
7522
7710
|
/**
|
|
7523
7711
|
* 获取文档的chunk列表
|
|
7524
7712
|
*
|
package/dist/client.js
CHANGED
|
@@ -36,11 +36,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.UpdateQaLibraryResponseBodyData = exports.UpdateQaLibraryRequestParseQaResults = exports.UpdateLibraryRequestIndexSetting = exports.UpdateLibraryRequestIndexSettingVectorIndexSetting = exports.UpdateLibraryRequestIndexSettingTextIndexSetting = exports.UpdateLibraryRequestIndexSettingRecallStrategy = exports.UpdateLibraryRequestIndexSettingQueryEnhancer = exports.UpdateLibraryRequestIndexSettingModelConfig = exports.UpdateLibraryRequestIndexSettingChunkStrategy = exports.SubmitChatQuestionResponseBodyData = exports.SubmitChatQuestionRequestQuestionList = exports.RunLibraryChatGenerationRequestVectorSearchParameter = exports.RunLibraryChatGenerationRequestTextSearchParameter = exports.RunLibraryChatGenerationRequestQueryCriteria = exports.RunLibraryChatGenerationRequestQueryCriteriaOr = exports.RunLibraryChatGenerationRequestQueryCriteriaAnd = exports.RunChatResultGenerationResponseBodyUsage = exports.RunChatResultGenerationResponseBodyChoices = exports.RunChatResultGenerationResponseBodyChoicesMessage = exports.RunChatResultGenerationRequestTools = exports.RunChatResultGenerationRequestToolsFunction = exports.RunChatResultGenerationRequestToolsFunctionParameters = void 0;
|
|
39
|
+
exports.GetDocumentListResponse = exports.GetDocumentListResponseBody = exports.GetDocumentListRequest = exports.GetDocumentChunkListResponse = exports.GetDocumentChunkListResponseBody = exports.GetDocumentChunkListRequest = exports.GetDialogAnalysisResultResponse = exports.GetDialogAnalysisResultResponseBody = exports.GetDialogAnalysisResultRequest = exports.GetChatQuestionRespResponse = exports.GetChatQuestionRespResponseBody = exports.GetChatQuestionRespRequest = exports.GetAppConfigResponse = exports.GetAppConfigResponseBody = exports.GenDocQaResultResponse = exports.GenDocQaResultResponseBody = exports.GenDocQaResultRequest = exports.EvictTaskResponse = exports.EvictTaskResponseBody = exports.EvictTaskRequest = exports.DeleteLibraryResponse = exports.DeleteLibraryResponseBody = exports.DeleteLibraryRequest = exports.DeleteDocumentResponse = exports.DeleteDocumentResponseBody = exports.DeleteDocumentRequest = exports.CreateQualityCheckTaskResponse = exports.CreateQualityCheckTaskResponseBody = exports.CreateQualityCheckTaskRequest = exports.CreatePredefinedDocumentResponse = exports.CreatePredefinedDocumentResponseBody = exports.CreatePredefinedDocumentRequest = exports.CreatePdfTranslateTaskResponse = exports.CreatePdfTranslateTaskResponseBody = exports.CreatePdfTranslateTaskRequest = exports.CreateLibraryResponse = exports.CreateLibraryResponseBody = exports.CreateLibraryRequest = exports.CreateFinReportSummaryTaskResponse = exports.CreateFinReportSummaryTaskResponseBody = exports.CreateFinReportSummaryTaskRequest = exports.CreateDocsSummaryTaskResponse = exports.CreateDocsSummaryTaskResponseBody = exports.CreateDocsSummaryTaskRequest = exports.CreateDialogResponse = exports.CreateDialogResponseBody = exports.CreateDialogRequest = exports.CreateAnnualDocSummaryTaskResponse = exports.CreateAnnualDocSummaryTaskResponseBody = exports.CreateAnnualDocSummaryTaskRequest = void 0;
|
|
40
|
+
exports.RecognizeIntentionResponseBody = exports.RecognizeIntentionRequest = exports.RecallDocumentResponse = exports.RecallDocumentResponseBody = exports.RecallDocumentRequest = exports.RebuildTaskResponse = exports.RebuildTaskResponseBody = exports.RebuildTaskRequest = exports.RealTimeDialogResponse = exports.RealTimeDialogResponseBody = exports.RealTimeDialogRequest = exports.ReIndexResponse = exports.ReIndexResponseBody = exports.ReIndexRequest = exports.PreviewDocumentResponse = exports.PreviewDocumentResponseBody = exports.PreviewDocumentRequest = exports.InvokePluginResponse = exports.InvokePluginResponseBody = exports.InvokePluginRequest = exports.GetTaskStatusResponse = exports.GetTaskStatusResponseBody = exports.GetTaskStatusRequest = exports.GetTaskResultResponse = exports.GetTaskResultResponseBody = exports.GetTaskResultRequest = exports.GetSummaryTaskResultResponse = exports.GetSummaryTaskResultResponseBody = exports.GetSummaryTaskResultRequest = exports.GetQualityCheckTaskResultResponse = exports.GetQualityCheckTaskResultResponseBody = exports.GetQualityCheckTaskResultRequest = exports.GetParseResultResponse = exports.GetParseResultResponseBody = exports.GetParseResultRequest = exports.GetLibraryListResponse = exports.GetLibraryListResponseBody = exports.GetLibraryListRequest = exports.GetLibraryResponse = exports.GetLibraryResponseBody = exports.GetLibraryRequest = exports.GetHistoryListByBizTypeResponse = exports.GetHistoryListByBizTypeResponseBody = exports.GetHistoryListByBizTypeRequest = exports.GetFilterDocumentListResponse = exports.GetFilterDocumentListResponseBody = exports.GetFilterDocumentListRequest = exports.GetDocumentUrlResponse = exports.GetDocumentUrlResponseBody = exports.GetDocumentUrlRequest = void 0;
|
|
41
|
+
exports.GetDocumentListResponseBodyDataRecords = exports.GetDocumentChunkListResponseBodyData = exports.GetDocumentChunkListResponseBodyDataRecords = exports.GetDocumentChunkListResponseBodyDataRecordsPos = exports.GetDialogAnalysisResultResponseBodyData = exports.GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList = exports.GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp = exports.GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels = exports.GetChatQuestionRespResponseBodyData = exports.GetChatQuestionRespResponseBodyDataQuestionList = exports.GetAppConfigResponseBodyData = exports.GenDocQaResultResponseBodyData = exports.GenDocQaResultResponseBodyDataParseQaResults = exports.CreateQualityCheckTaskResponseBodyData = exports.CreateQualityCheckTaskRequestConversationList = exports.CreateQualityCheckTaskRequestConversationListDialogueList = exports.CreatePredefinedDocumentRequestChunks = exports.CreateLibraryRequestIndexSetting = exports.CreateLibraryRequestIndexSettingVectorIndexSetting = exports.CreateLibraryRequestIndexSettingTextIndexSetting = exports.CreateLibraryRequestIndexSettingRecallStrategy = exports.CreateLibraryRequestIndexSettingQueryEnhancer = exports.CreateLibraryRequestIndexSettingModelConfig = exports.CreateLibraryRequestIndexSettingChunkStrategy = exports.CreateDocsSummaryTaskRequestDocInfos = exports.CreateDialogResponseBodyData = exports.CreateAnnualDocSummaryTaskRequestDocInfos = exports.UploadDocumentResponse = exports.UploadDocumentResponseBody = exports.UploadDocumentAdvanceRequest = exports.UploadDocumentRequest = exports.UpdateQaLibraryResponse = exports.UpdateQaLibraryResponseBody = exports.UpdateQaLibraryRequest = exports.UpdateLibraryResponse = exports.UpdateLibraryResponseBody = exports.UpdateLibraryRequest = exports.UpdateDocumentResponse = exports.UpdateDocumentResponseBody = exports.UpdateDocumentRequest = exports.SubmitChatQuestionResponse = exports.SubmitChatQuestionResponseBody = exports.SubmitChatQuestionRequest = exports.RunLibraryChatGenerationResponse = exports.RunLibraryChatGenerationResponseBody = exports.RunLibraryChatGenerationRequest = exports.RunChatResultGenerationResponse = exports.RunChatResultGenerationResponseBody = exports.RunChatResultGenerationRequest = exports.RecognizeIntentionResponse = void 0;
|
|
42
|
+
exports.RecallDocumentResponseBodyDataVectorChunkListPos = exports.RecallDocumentResponseBodyDataTextChunkList = exports.RecallDocumentResponseBodyDataTextChunkListPos = exports.RecallDocumentResponseBodyDataDocuments = exports.RecallDocumentResponseBodyDataChunkPartList = exports.RecallDocumentResponseBodyDataChunkPartListPos = exports.RecallDocumentResponseBodyDataChunkList = exports.RecallDocumentResponseBodyDataChunkListPos = exports.RecallDocumentRequestFilters = exports.RecallDocumentRequestFiltersOr = exports.RecallDocumentRequestFiltersAnd = exports.RealTimeDialogResponseBodyChoices = exports.RealTimeDialogResponseBodyChoicesMessage = exports.RealTimeDialogResponseBodyChoicesDelta = exports.RealTimeDialogRequestConversationModel = exports.PreviewDocumentResponseBodyData = exports.GetSummaryTaskResultResponseBodyData = exports.GetSummaryTaskResultResponseBodyDataUsage = exports.GetSummaryTaskResultResponseBodyDataChoices = exports.GetSummaryTaskResultResponseBodyDataChoicesMessage = exports.GetQualityCheckTaskResultResponseBodyData = exports.GetQualityCheckTaskResultResponseBodyDataQualityCheckList = exports.GetQualityCheckTaskResultResponseBodyDataQualityCheckListOriginDialogue = exports.GetQualityCheckTaskResultResponseBodyDataConversationList = exports.GetQualityCheckTaskResultResponseBodyDataConversationListDialogueList = exports.GetParseResultResponseBodyData = exports.GetLibraryListResponseBodyData = exports.GetLibraryListResponseBodyDataRecords = exports.GetLibraryListResponseBodyDataRecordsIndexSetting = exports.GetLibraryListResponseBodyDataRecordsIndexSettingVectorIndexSetting = exports.GetLibraryListResponseBodyDataRecordsIndexSettingTextIndexSetting = exports.GetLibraryListResponseBodyDataRecordsIndexSettingRecallStrategy = exports.GetLibraryListResponseBodyDataRecordsIndexSettingQueryEnhancer = exports.GetLibraryListResponseBodyDataRecordsIndexSettingModelConfig = exports.GetLibraryListResponseBodyDataRecordsIndexSettingChunkStrategy = exports.GetLibraryResponseBodyData = exports.GetLibraryResponseBodyDataIndexSetting = exports.GetLibraryResponseBodyDataIndexSettingVectorIndexSetting = exports.GetLibraryResponseBodyDataIndexSettingTextIndexSetting = exports.GetLibraryResponseBodyDataIndexSettingRecallStrategy = exports.GetLibraryResponseBodyDataIndexSettingQueryEnhancer = exports.GetLibraryResponseBodyDataIndexSettingModelConfig = exports.GetLibraryResponseBodyDataIndexSettingChunkStrategy = exports.GetHistoryListByBizTypeResponseBodyData = exports.GetHistoryListByBizTypeResponseBodyDataRecords = exports.GetFilterDocumentListResponseBodyData = exports.GetFilterDocumentListResponseBodyDataRecords = exports.GetFilterDocumentListRequestOr = exports.GetFilterDocumentListRequestAnd = exports.GetDocumentListResponseBodyData = void 0;
|
|
43
|
+
exports.UpdateQaLibraryResponseBodyData = exports.UpdateQaLibraryRequestParseQaResults = exports.UpdateLibraryRequestIndexSetting = exports.UpdateLibraryRequestIndexSettingVectorIndexSetting = exports.UpdateLibraryRequestIndexSettingTextIndexSetting = exports.UpdateLibraryRequestIndexSettingRecallStrategy = exports.UpdateLibraryRequestIndexSettingQueryEnhancer = exports.UpdateLibraryRequestIndexSettingModelConfig = exports.UpdateLibraryRequestIndexSettingChunkStrategy = exports.SubmitChatQuestionResponseBodyData = exports.SubmitChatQuestionRequestQuestionList = exports.RunLibraryChatGenerationRequestVectorSearchParameter = exports.RunLibraryChatGenerationRequestTextSearchParameter = exports.RunLibraryChatGenerationRequestQueryCriteria = exports.RunLibraryChatGenerationRequestQueryCriteriaOr = exports.RunLibraryChatGenerationRequestQueryCriteriaAnd = exports.RunChatResultGenerationResponseBodyUsage = exports.RunChatResultGenerationResponseBodyChoices = exports.RunChatResultGenerationResponseBodyChoicesMessage = exports.RunChatResultGenerationRequestTools = exports.RunChatResultGenerationRequestToolsFunction = exports.RunChatResultGenerationRequestToolsFunctionParameters = exports.RunChatResultGenerationRequestMessages = exports.RecognizeIntentionResponseBodyData = exports.RecognizeIntentionRequestIntentionList = exports.RecognizeIntentionRequestHierarchicalIntentionList = exports.RecognizeIntentionRequestGlobalIntentionList = exports.RecallDocumentResponseBodyData = exports.RecallDocumentResponseBodyDataVectorChunkList = void 0;
|
|
44
44
|
// This file is auto-generated, don't edit it
|
|
45
45
|
/**
|
|
46
46
|
*/
|
|
@@ -1029,6 +1029,80 @@ class GetChatQuestionRespResponse extends $tea.Model {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
}
|
|
1031
1031
|
exports.GetChatQuestionRespResponse = GetChatQuestionRespResponse;
|
|
1032
|
+
class GetDialogAnalysisResultRequest extends $tea.Model {
|
|
1033
|
+
static names() {
|
|
1034
|
+
return {
|
|
1035
|
+
asc: 'asc',
|
|
1036
|
+
endTime: 'endTime',
|
|
1037
|
+
sessionIds: 'sessionIds',
|
|
1038
|
+
startTime: 'startTime',
|
|
1039
|
+
useUrl: 'useUrl',
|
|
1040
|
+
};
|
|
1041
|
+
}
|
|
1042
|
+
static types() {
|
|
1043
|
+
return {
|
|
1044
|
+
asc: 'boolean',
|
|
1045
|
+
endTime: 'string',
|
|
1046
|
+
sessionIds: { 'type': 'array', 'itemType': 'string' },
|
|
1047
|
+
startTime: 'string',
|
|
1048
|
+
useUrl: 'boolean',
|
|
1049
|
+
};
|
|
1050
|
+
}
|
|
1051
|
+
constructor(map) {
|
|
1052
|
+
super(map);
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
exports.GetDialogAnalysisResultRequest = GetDialogAnalysisResultRequest;
|
|
1056
|
+
class GetDialogAnalysisResultResponseBody extends $tea.Model {
|
|
1057
|
+
static names() {
|
|
1058
|
+
return {
|
|
1059
|
+
cost: 'cost',
|
|
1060
|
+
data: 'data',
|
|
1061
|
+
dataType: 'dataType',
|
|
1062
|
+
errCode: 'errCode',
|
|
1063
|
+
message: 'message',
|
|
1064
|
+
requestId: 'requestId',
|
|
1065
|
+
success: 'success',
|
|
1066
|
+
time: 'time',
|
|
1067
|
+
};
|
|
1068
|
+
}
|
|
1069
|
+
static types() {
|
|
1070
|
+
return {
|
|
1071
|
+
cost: 'number',
|
|
1072
|
+
data: GetDialogAnalysisResultResponseBodyData,
|
|
1073
|
+
dataType: 'string',
|
|
1074
|
+
errCode: 'string',
|
|
1075
|
+
message: 'string',
|
|
1076
|
+
requestId: 'string',
|
|
1077
|
+
success: 'boolean',
|
|
1078
|
+
time: 'string',
|
|
1079
|
+
};
|
|
1080
|
+
}
|
|
1081
|
+
constructor(map) {
|
|
1082
|
+
super(map);
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
exports.GetDialogAnalysisResultResponseBody = GetDialogAnalysisResultResponseBody;
|
|
1086
|
+
class GetDialogAnalysisResultResponse extends $tea.Model {
|
|
1087
|
+
static names() {
|
|
1088
|
+
return {
|
|
1089
|
+
headers: 'headers',
|
|
1090
|
+
statusCode: 'statusCode',
|
|
1091
|
+
body: 'body',
|
|
1092
|
+
};
|
|
1093
|
+
}
|
|
1094
|
+
static types() {
|
|
1095
|
+
return {
|
|
1096
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1097
|
+
statusCode: 'number',
|
|
1098
|
+
body: GetDialogAnalysisResultResponseBody,
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
constructor(map) {
|
|
1102
|
+
super(map);
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
exports.GetDialogAnalysisResultResponse = GetDialogAnalysisResultResponse;
|
|
1032
1106
|
class GetDocumentChunkListRequest extends $tea.Model {
|
|
1033
1107
|
static names() {
|
|
1034
1108
|
return {
|
|
@@ -3369,6 +3443,84 @@ class GetChatQuestionRespResponseBodyData extends $tea.Model {
|
|
|
3369
3443
|
}
|
|
3370
3444
|
}
|
|
3371
3445
|
exports.GetChatQuestionRespResponseBodyData = GetChatQuestionRespResponseBodyData;
|
|
3446
|
+
class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels extends $tea.Model {
|
|
3447
|
+
static names() {
|
|
3448
|
+
return {
|
|
3449
|
+
name: 'name',
|
|
3450
|
+
value: 'value',
|
|
3451
|
+
};
|
|
3452
|
+
}
|
|
3453
|
+
static types() {
|
|
3454
|
+
return {
|
|
3455
|
+
name: 'string',
|
|
3456
|
+
value: 'string',
|
|
3457
|
+
};
|
|
3458
|
+
}
|
|
3459
|
+
constructor(map) {
|
|
3460
|
+
super(map);
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3463
|
+
exports.GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels = GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels;
|
|
3464
|
+
class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp extends $tea.Model {
|
|
3465
|
+
static names() {
|
|
3466
|
+
return {
|
|
3467
|
+
dialogExecPlan: 'dialogExecPlan',
|
|
3468
|
+
dialogLabels: 'dialogLabels',
|
|
3469
|
+
dialogSummary: 'dialogSummary',
|
|
3470
|
+
};
|
|
3471
|
+
}
|
|
3472
|
+
static types() {
|
|
3473
|
+
return {
|
|
3474
|
+
dialogExecPlan: 'string',
|
|
3475
|
+
dialogLabels: { 'type': 'array', 'itemType': GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels },
|
|
3476
|
+
dialogSummary: 'string',
|
|
3477
|
+
};
|
|
3478
|
+
}
|
|
3479
|
+
constructor(map) {
|
|
3480
|
+
super(map);
|
|
3481
|
+
}
|
|
3482
|
+
}
|
|
3483
|
+
exports.GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp = GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp;
|
|
3484
|
+
class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList extends $tea.Model {
|
|
3485
|
+
static names() {
|
|
3486
|
+
return {
|
|
3487
|
+
analysisResp: 'analysisResp',
|
|
3488
|
+
gmtCreate: 'gmtCreate',
|
|
3489
|
+
ossUrl: 'ossUrl',
|
|
3490
|
+
sessionId: 'sessionId',
|
|
3491
|
+
status: 'status',
|
|
3492
|
+
};
|
|
3493
|
+
}
|
|
3494
|
+
static types() {
|
|
3495
|
+
return {
|
|
3496
|
+
analysisResp: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp,
|
|
3497
|
+
gmtCreate: 'string',
|
|
3498
|
+
ossUrl: 'string',
|
|
3499
|
+
sessionId: 'string',
|
|
3500
|
+
status: 'string',
|
|
3501
|
+
};
|
|
3502
|
+
}
|
|
3503
|
+
constructor(map) {
|
|
3504
|
+
super(map);
|
|
3505
|
+
}
|
|
3506
|
+
}
|
|
3507
|
+
exports.GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList = GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList;
|
|
3508
|
+
class GetDialogAnalysisResultResponseBodyData extends $tea.Model {
|
|
3509
|
+
static names() {
|
|
3510
|
+
return {
|
|
3511
|
+
dialogAnalysisRespList: 'dialogAnalysisRespList',
|
|
3512
|
+
};
|
|
3513
|
+
}
|
|
3514
|
+
static types() {
|
|
3515
|
+
return {
|
|
3516
|
+
dialogAnalysisRespList: { 'type': 'array', 'itemType': GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList },
|
|
3517
|
+
};
|
|
3518
|
+
}
|
|
3519
|
+
constructor(map) {
|
|
3520
|
+
super(map);
|
|
3521
|
+
}
|
|
3522
|
+
}
|
|
3523
|
+
exports.GetDialogAnalysisResultResponseBodyData = GetDialogAnalysisResultResponseBodyData;
|
|
3372
3524
|
class GetDocumentChunkListResponseBodyDataRecordsPos extends $tea.Model {
|
|
3373
3525
|
static names() {
|
|
3374
3526
|
return {
|
|
@@ -6198,6 +6350,60 @@ class Client extends openapi_client_1.default {
|
|
|
6198
6350
|
let headers = {};
|
|
6199
6351
|
return await this.getChatQuestionRespWithOptions(workspaceId, request, headers, runtime);
|
|
6200
6352
|
}
|
|
6353
|
+
/**
|
|
6354
|
+
* 获取外呼会话分析结果
|
|
6355
|
+
*
|
|
6356
|
+
* @param request - GetDialogAnalysisResultRequest
|
|
6357
|
+
* @param headers - map
|
|
6358
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6359
|
+
* @returns GetDialogAnalysisResultResponse
|
|
6360
|
+
*/
|
|
6361
|
+
async getDialogAnalysisResultWithOptions(workspaceId, request, headers, runtime) {
|
|
6362
|
+
tea_util_1.default.validateModel(request);
|
|
6363
|
+
let body = {};
|
|
6364
|
+
if (!tea_util_1.default.isUnset(request.asc)) {
|
|
6365
|
+
body["asc"] = request.asc;
|
|
6366
|
+
}
|
|
6367
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
6368
|
+
body["endTime"] = request.endTime;
|
|
6369
|
+
}
|
|
6370
|
+
if (!tea_util_1.default.isUnset(request.sessionIds)) {
|
|
6371
|
+
body["sessionIds"] = request.sessionIds;
|
|
6372
|
+
}
|
|
6373
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
6374
|
+
body["startTime"] = request.startTime;
|
|
6375
|
+
}
|
|
6376
|
+
if (!tea_util_1.default.isUnset(request.useUrl)) {
|
|
6377
|
+
body["useUrl"] = request.useUrl;
|
|
6378
|
+
}
|
|
6379
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6380
|
+
headers: headers,
|
|
6381
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
6382
|
+
});
|
|
6383
|
+
let params = new $OpenApi.Params({
|
|
6384
|
+
action: "GetDialogAnalysisResult",
|
|
6385
|
+
version: "2024-06-28",
|
|
6386
|
+
protocol: "HTTPS",
|
|
6387
|
+
pathname: `/${openapi_util_1.default.getEncodeParam(workspaceId)}/api/virtualHuman/dialog/analysis`,
|
|
6388
|
+
method: "POST",
|
|
6389
|
+
authType: "AK",
|
|
6390
|
+
style: "ROA",
|
|
6391
|
+
reqBodyType: "json",
|
|
6392
|
+
bodyType: "json",
|
|
6393
|
+
});
|
|
6394
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetDialogAnalysisResultResponse({}));
|
|
6395
|
+
}
|
|
6396
|
+
/**
|
|
6397
|
+
* 获取外呼会话分析结果
|
|
6398
|
+
*
|
|
6399
|
+
* @param request - GetDialogAnalysisResultRequest
|
|
6400
|
+
* @returns GetDialogAnalysisResultResponse
|
|
6401
|
+
*/
|
|
6402
|
+
async getDialogAnalysisResult(workspaceId, request) {
|
|
6403
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6404
|
+
let headers = {};
|
|
6405
|
+
return await this.getDialogAnalysisResultWithOptions(workspaceId, request, headers, runtime);
|
|
6406
|
+
}
|
|
6201
6407
|
/**
|
|
6202
6408
|
* 获取文档的chunk列表
|
|
6203
6409
|
*
|