The bot’s hints for the agent-based client-agent chats.
Curl Example
$ curl 'http: //localhost:8080/api/v1/chatbot/hints' -i -X POST \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer <token>' \ -d '{ "sessionId": "1", "messageIndex": 1, "hints": [ { "text": "hint 1", "score": 0.1 }, { "text": "hint 2", "score": 0.9 } ] }'
HTTP Request
POST /api/v1/chatbot/hints HTTP/1.1 Content-Type: application/json Authorization: Bearer <token> Content-Length: 157 Host: localhost: 8080 { "sessionId": "1", "messageIndex": 1, "hints": [ { "text": "hint 1", "score": 0.1 }, { "text": "hint 2", "score": 0.9 } ] }
Example of a Successful HTTP Response
HTTP/1.1 200 OK