ThothNodeJS provides RESTful services of Thoth. This is the project of a Conversational Agent, the Robot Brain of GBS Innovation Center
POST: /api/message
Content-Type: application/json
| Parameter | Type | Required | Note |
|---|---|---|---|
| input | object | required | |
| context | object | The context is generated from Watson Conversaion |
| Parameter | Type | Required |
|---|---|---|
| text | string | required |
| Parameter | Type | Required |
|---|---|---|
| conversation_id | string | required |
| system | object | required |
| defaultCounter | integer | required |
| Parameter | Type | Required |
|---|---|---|
| dialog_stack | array<string> | required |
| dialog_turn_counter | integer | required |
| dialog_request_counter | integer | required |
{
"input": {
"text": "hello"
},
"context": {
"conversation_id": "6e71bb87-ac67-448c-ae8c-28b422b9c9d8",
"system": {
"dialog_stack": [
"root"
],
"dialog_turn_counter": 2,
"dialog_request_counter": 2
},
"defaultCounter": 0
}
}GET: /api/graphic
Content-Type: application/json
#License Copyright 2016 GCG GBS CTO Office under the Apache 2.0 license.