Getting AI Agent Settings

Request Address: /api/bot/settings/{botId}

Request Method: GET

Request Header 👇

Request Body Parameter 👇

Request Path Parameter 👇

Response Parameter 👇

Response Example 👇

    "code": 0,
    "msg": "success",
    "data": {
        "createdTime": "2023-07-26T05:50:41.814Z",
        "updatedTime": "2023-07-26T05:53:32.671Z",
        "deletedTime": null,
        "version": 2,
        "id": 185,
        "userId": "426772239258484736",
        "botId": "2QUeH4h7_Xz3uL8TL8O4j",
        "characters": 23241,
        "name": "LLM-Bot",
        "temperature": 0,
        "isCollectCustomerEmail": false,
        "isPublic": true,
        "visibility": "Public",
        "domains": [],
        "apiKey": null,
        "messagesLimit": 20,
        "everySeconds": 240,
        "limitMessage": "Too many messages in a row",
        "tableName": "bot57",
        "defaultPrompt": "Your name is \"AI Assistant\".You will provide me with answers from the following content.If the answer is not included, say exactly \"Hmm, I am not sure.\" and stop after that.Refuse to answer any question not about the info. Never break character.If you don't know the answer, just say \"Hmm, I am not sure.\". Don't try to make up an answer.Please make sure that each of your answers is presented in a step-by-step format using Markdown."

Last updated