From 4d12230338adb9651ebe31b4066a09f9aceb945b Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 2 Jun 2021 11:57:47 +0100 Subject: [PATCH] update examples --- sentiment/examples.json | 2 +- sentiment/proto/sentiment.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sentiment/examples.json b/sentiment/examples.json index e8ad7ed..ad402ac 100644 --- a/sentiment/examples.json +++ b/sentiment/examples.json @@ -3,7 +3,7 @@ "title": "Analyze a piece of text", "description": "Analyze and score a piece of text", "request": { - "text": "whoa this is cool" + "text": "this is amazing" }, "response": { "score": 1 diff --git a/sentiment/proto/sentiment.proto b/sentiment/proto/sentiment.proto index 508e18d..e6bfcea 100644 --- a/sentiment/proto/sentiment.proto +++ b/sentiment/proto/sentiment.proto @@ -17,7 +17,7 @@ message Request { } message Response { - // The score of the text + // The score of the text {positive is 1, negative is 0} double score = 1; }