From 125fb9b3811f9f580997545f92c93e0a01271abe Mon Sep 17 00:00:00 2001 From: liuwh7 Date: Fri, 4 Mar 2022 14:13:19 +0800 Subject: feat:intentBasedService predict Signed-off-by: liuwh7 Change-Id: I08e0d7a5141325f830bf522b42894b399ea6e7af Issue-ID: REQ-1075 --- usecaseui-portal/src/app/core/services/intentBase.service.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'usecaseui-portal/src/app/core/services') diff --git a/usecaseui-portal/src/app/core/services/intentBase.service.ts b/usecaseui-portal/src/app/core/services/intentBase.service.ts index eaa67b9d..7fb8104f 100644 --- a/usecaseui-portal/src/app/core/services/intentBase.service.ts +++ b/usecaseui-portal/src/app/core/services/intentBase.service.ts @@ -33,7 +33,8 @@ export class intentBaseService { activeIntentInstance: this.baseUrl + "/intent/activeIntentInstance", invalidIntentInstance: this.baseUrl + "/intent/invalidIntentInstance", queryAccessNodeInfo: this.baseUrl + "/intent/queryAccessNodeInfo", - intentInstancePredict: this.baseUrl + "/intent/predict" + intentInstancePredict: this.baseUrl + "/intent/predict", + intentBasedUnifyPredict: this.baseUrl + "/intent/unifyPredict" }; //The following APIs function are optimizable------------------------ @@ -83,4 +84,8 @@ export class intentBaseService { intentInstancePredict(requestBody) { return this.http.post(this.url["intentInstancePredict"], requestBody); } + + intentBasedUnifyPredict(requestBody) { + return this.http.post(this.url["intentBasedUnifyPredict"], requestBody); + } } -- cgit 1.2.3-korg