Conversation
send a new message to the conversation and retrieve an answer from our conversational system
Body
idany ofOptional
stringOptional
nullOptional
user_messageany ofOptionalDefault:
""
stringOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/conversation/message HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"id": "text",
"user_message": ""
}
{
"id": "text",
"message": "text"
}
retrieve conversation by the conversation id
Body
idany ofOptional
stringOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/conversation/get-conversation HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"id": "text"
}
{
"response": [
{
"from": "user",
"content": "text",
"action": "SEARCH",
"datas": null
}
]
}
Last updated