summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core/services
diff options
context:
space:
mode:
authorliuwh7 <liuwh7@asiainfo.com>2022-03-04 14:13:19 +0800
committerliuwh7 <liuwh7@asiainfo.com>2022-03-04 14:13:24 +0800
commit125fb9b3811f9f580997545f92c93e0a01271abe (patch)
tree43ad20a5e8bd8bcdceeabc83bf794f0b81d1d595 /usecaseui-portal/src/app/core/services
parent37545534852e50f6fa0d46b2371d58a986410375 (diff)
feat:intentBasedService predict
Signed-off-by: liuwh7 <liuwh7@asiainfo.com> Change-Id: I08e0d7a5141325f830bf522b42894b399ea6e7af Issue-ID: REQ-1075
Diffstat (limited to 'usecaseui-portal/src/app/core/services')
-rw-r--r--usecaseui-portal/src/app/core/services/intentBase.service.ts7
1 files changed, 6 insertions, 1 deletions
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<any>(this.url["intentInstancePredict"], requestBody);
}
+
+ intentBasedUnifyPredict(requestBody) {
+ return this.http.post<any>(this.url["intentBasedUnifyPredict"], requestBody);
+ }
}