chatbot
Get Smart Replies
Smart reply endpoint.
Use it to get possible user responses for the current dialog context. They can be served as a help for the user on how to continue the conversation.
post/chatbot/v2/get_smart_replies
Headers
X-Request-Idstring
Request body
Example request
{
"context": [
{
"message": "Hi, how are you?",
"turn": "bot"
},
{
"message": "I'm fine, thanks. How is it going with you?",
"turn": "user"
}
],
"user_id": "AD17F119-FC27-6400-566C",
"candidates_num": 2
}Response
Successful Response
Example response
{
"smart_replies": [
"Super! I'm fine too.",
"Great!"
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.