role_play
GetReply get ai's reply for user's input
GetReply get ai's reply for user's input
get/v2/role_play/get_reply
Query parameters
codestring required
course code
ai_rolestring required
ai role name
user_rolestring required
user role name
thread_idstring
it doesn't need to take thread_id query parameter when this api is called firstly, i will respond thread_id after calling firstly, so subsequence calling need to take the responded value.
textstring required
user input
Headers
Authorizationstring required
With the bearer started, optional for guest
Response
success, the data is *model.AIReplyRsp
Example response
{
"message": "success"
}