latestSwagger 2.0Apache 2.02026-08-19151166415.3 KB

5c90e58bf672

role_play

analyze user's reply

analyze user's sentence, then get score and feedback

get/v2/role_play/get_feedback

Query parameters

locationstring required

scenario location

rolestring required

user role

textstring required

user input

Headers

Authorizationstring required

With the bearer started, optional for guest

Response

success, the data is *model.FeedbackRsp

codeinteger

0=success,only parse data when code=0

messagestring

tip message

Example response

{
  "message": "success"
}