mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
update examples
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user