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"
}

Changes

No recorded changes to this endpoint across all 3 revisions of this API.