Getting AI Agent Settings

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

Request Method: GET

Request Header 👇

Name
Type
Description

Authorization

String

The API key created

Request Body Parameter 👇

Name
Type
IsRequired
Description

botId

String

Yes

The botId created

Request Path Parameter 👇

Name
Type
IsRequired
Description

id

int

Yes

The id of API key for which you want to update

Response Parameter 👇

Name
Type
Description

id

int

id

version

int

version

name

string

The name of agent

userId

string

The OORT AI user id

secretKey

string

The api key info

CreatedTime

string

The create time of api key

updatedTime

string

The update time of api key

deletedTime

string

The delete time of api key

characters

int

The characters of agent which has been used for training

temperature

int

The temperature of agent

isCollectCustomerEmail

boolean

isPublic

boolean

Is public agent

visibility

string

The visibility value of agent

domains

array

The domains of agent

apiKey

string

The api key of agent

messagesLimit

int

The messages limit of agent

everySeconds

int

The time duration of seconds

limitMessage

string

The prompt for exceeding the maximum value

tableName

string

The table name of agent

status

int

The status of agent

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