We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POST /v1/categorize/
{ "content": "sample", "useModel": "mode-id-a", "source": "LINE", "callback": "https://myapp.io/callback", }
當 useModel 是的 "realTime": false 的 model 的話,使用者必須提供 callback 參數,否則回傳參數錯誤。
useModel
"realTime": false
callback
For none callback
{ "result": { "prediction": { "confidence": { "c1": 0.5, "c2": 0.5 } }, "time": 15000 } }
For callback (ack)
{ "result": { "pending": true } }
For error
{ "error": { "message": "ooo error", "code": 500 } }
The text was updated successfully, but these errors were encountered:
darkbtf
No branches or pull requests
Request
POST /v1/categorize/
當
useModel
是的"realTime": false
的 model 的話,使用者必須提供callback
參數,否則回傳參數錯誤。Response
For none callback
For callback (ack)
For error
The text was updated successfully, but these errors were encountered: