mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-22 07:15:25 +00:00
update examples
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"title": "Analyze a piece of text",
|
"title": "Analyze a piece of text",
|
||||||
"description": "Analyze and score a piece of text",
|
"description": "Analyze and score a piece of text",
|
||||||
"request": {
|
"request": {
|
||||||
"text": "whoa this is cool"
|
"text": "this is amazing"
|
||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"score": 1
|
"score": 1
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ message Request {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message Response {
|
message Response {
|
||||||
// The score of the text
|
// The score of the text {positive is 1, negative is 0}
|
||||||
double score = 1;
|
double score = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user