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; }