From 470653b13c51bca93736b338340fbe8c512a962a Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 26 Apr 2021 11:26:29 +0900 Subject: [PATCH] Update demo page's metadata --- .../pages/demo/named-entity-recognition/index.vue | 2 +- frontend/pages/demo/sentiment-analysis/index.vue | 2 +- frontend/pages/demo/text-to-sql/index.vue | 12 +++++++++++- frontend/pages/demo/translation/index.vue | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/frontend/pages/demo/named-entity-recognition/index.vue b/frontend/pages/demo/named-entity-recognition/index.vue index 93d53a72..4c90ffe3 100644 --- a/frontend/pages/demo/named-entity-recognition/index.vue +++ b/frontend/pages/demo/named-entity-recognition/index.vue @@ -122,7 +122,7 @@ export default { document: 8 } ], - meta: '{"wikiPageId":2}', + meta: { wikiPageId: 2 }, annotation_approver: null } } diff --git a/frontend/pages/demo/sentiment-analysis/index.vue b/frontend/pages/demo/sentiment-analysis/index.vue index 2cc6be5d..c41e7a9d 100644 --- a/frontend/pages/demo/sentiment-analysis/index.vue +++ b/frontend/pages/demo/sentiment-analysis/index.vue @@ -71,7 +71,7 @@ export default { document: 8 } ], - meta: '{"wikiPageId":2}', + meta: { wikiPageId: 2}, annotation_approver: null } } diff --git a/frontend/pages/demo/text-to-sql/index.vue b/frontend/pages/demo/text-to-sql/index.vue index a6a5fd5b..efeb80f8 100644 --- a/frontend/pages/demo/text-to-sql/index.vue +++ b/frontend/pages/demo/text-to-sql/index.vue @@ -51,7 +51,17 @@ export default { document: 8 } ], - meta: '{"department.department_id": "INT", "department.name": "CHAR", "department.num_employee": "INT", "head.head_id": "INT", "head.name": "INT", "head.age": "INT", "management.department_id": "INT", "management.head_id": "INT", "management.temporary_acting": "VARCHAR"}', + meta: { + "department.department_id": "INT", + "department.name": "CHAR", + "department.num_employee": "INT", + "head.head_id": "INT", + "head.name": "INT", + "head.age": "INT", + "management.department_id": "INT", + "management.head_id": "INT", + "management.temporary_acting": "VARCHAR" + }, annotation_approver: null } } diff --git a/frontend/pages/demo/translation/index.vue b/frontend/pages/demo/translation/index.vue index 99c8d5a3..5d831109 100644 --- a/frontend/pages/demo/translation/index.vue +++ b/frontend/pages/demo/translation/index.vue @@ -57,7 +57,7 @@ export default { document: 8 } ], - meta: '{"wikiPageId":2}', + meta: { wikiPageId: 2}, annotation_approver: null } }