Open venomouse opened 3 years ago
Original issue&disscussion: https://gitlab.com/tangibleai/qary/-/issues/82
Description: User wants to interact with quiz-bot through external frontend that sends requests to qary's web API.
Option 1: (Probably easier) POST api.qary.ai Request body:
POST api.qary.ai
{ user_id: <user_id>, bot_name: <script_name>, type: "text", text: "hey" }
Option 2: (Inspired by Botpress's Converse API) POST api.qary.ai// Request body:
{ type: "text", text: "hey" }
Response format:
{ type: "single_message_freetext" text_message_1: "<message_content>" }
Original issue&disscussion: https://gitlab.com/tangibleai/qary/-/issues/82
Description:
User wants to interact with quiz-bot through external frontend that sends requests to qary's web API.
Option 1: (Probably easier)
POST api.qary.ai
Request body:Option 2: (Inspired by Botpress's Converse API) POST api.qary.ai//
Request body:
Response format: