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
Request
- Base URLhttps://api.bluente.com (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}Changes
No recorded changes to this operation across all 9 revisions of this API.