PATCH
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
advanced
{
  "success": true,
  "message": "Updated advanced settings of the chatbot successfully",
  "data": {}
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Id of the chatbot

Body

application/json

Request Body

creativity
enum<string>

Options of the creativity for the chatbot

Available options:
restricted,
conservative,
creative,
custom
temperature
number

Creativity meter of the chatbot. This is valid only when creativity of the chatbot is custom

Required range: 0 < x < 2Must be a multiple of 0.01
topK
integer

Number of relevant chunks to be fetched for answering the question

Required range: 1 < x < 50Must be a multiple of 1
webhookUrl
string

All messages are sent to this global webhook url if webhook url is not configured at thread level

webhookToken
string

This is the global webhook token that is sent in header in the calls made to the above webhook url for all messages if token is not configured at thread level

Response

200 - application/json

Success Response

success
boolean

Indicates whether this is success response or error response

message
string

Overall message regarding the operation performed

data
object | null

Data returned from the server