Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01G8ikz8xdWuTP5yun8DZ1hk
17 lines
343 B
Plaintext
17 lines
343 B
Plaintext
POST /sentiment
|
|
{"texts":["I loved this film, the acting was wonderful.","The service was slow and the food arrived cold."]}
|
|
|
|
HTTP 200
|
|
{
|
|
"results" : [ {
|
|
"label" : "POSITIVE",
|
|
"score" : 0.9998835686297906
|
|
}, {
|
|
"label" : "NEGATIVE",
|
|
"score" : 0.9997554818864473
|
|
} ]
|
|
}
|
|
|
|
Empty list: HTTP 400
|
|
65 texts (limit is 64): HTTP 400
|