Updating AI Agent Interface

Request Address: /api/bot/interface

Request Method: PUT

Request Header 👇

Request Body Parameter 👇

Response Parameter 👇

Response Example 👇

{
    "code": 0,
    "msg": "success",
    "data": {
        "createdTime": "2023-07-26T05:50:41.814Z",
        "updatedTime": "2023-07-26T06:00:25.564Z",
        "deletedTime": null,
        "version": 3,
        "id": 183,
        "botId": "2QUeH4h7_Xz3uL8TL8O4j",
        "userId": "426772239258484736",
        "initialMessages": [
            "Hi! What can I help you with?"
        ],
        "suggestedMessages": [
            "LLM简单介绍",
            "常用LLM模型",
            "大语言模型的训练方式"
        ],
        "theme": "light",
        "profilePicture": null,
        "displayName": "Chatbot",
        "userMessageColor": "#3B81F6",
        "chatIcon": null,
        "chatBubbleButtonColor": "#000000",
        "alignChatButton": "right",
        "initialMessagesAfter": 3
    }
}

Last updated