Chatbots
Create Chatbot
Chatbots
Create Chatbot
Create a chatbot that belongs to the authenticated user
POST
/
api
/
v1
/
chatbot
/
create
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
object
name
string
*
name
Required
string
prompt
string
prompt
string
temperature
number
temperature
number
model
object
model
object
visibility
string
visibility
string
rate_limit
object
rate_limit
object
rate_limit_message
string
rate_limit_message
string
show_citations
boolean
show_citations
boolean
curl --location --request POST 'https://app.gpt-trainer.com/api/v1/chatbot/create' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"name": "string",
"prompt": "string",
"temperature": 0,
"model": "gpt-3.5-turbo",
"rate_limit": [
20,
240
],
"rate_limit_message": "Too many messages",
"show_citations": false,
"visibility": "private"
}'
{
"created_at": "string",
"meta": {
"model": "gpt-3.5-turbo",
"prompt": "string",
"rate_limit": [20, 240],
"rate_limit_message": "Too many messages",
"show_citations": false,
"temperature": 0,
"visibility": "private"
},
"modified_at": "string",
"name": "string",
"uuid": "string"
}
Body
name
string
requiredprompt
string
temperature
float
model
select
visibility
string
rate_limit
[number, number]
rate_limit_message
string
show_citations
boolean
Response
created_at
string
meta
object
The meta of chatbot
model
string
prompt
string
rate_limit
[number, number]
rate_limit_message
string
show_citation
boolean
temperature
number
visibility
string
modified_at
string
name
string
uuid
string
curl --location --request POST 'https://app.gpt-trainer.com/api/v1/chatbot/create' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"name": "string",
"prompt": "string",
"temperature": 0,
"model": "gpt-3.5-turbo",
"rate_limit": [
20,
240
],
"rate_limit_message": "Too many messages",
"show_citations": false,
"visibility": "private"
}'
{
"created_at": "string",
"meta": {
"model": "gpt-3.5-turbo",
"prompt": "string",
"rate_limit": [20, 240],
"rate_limit_message": "Too many messages",
"show_citations": false,
"temperature": 0,
"visibility": "private"
},
"modified_at": "string",
"name": "string",
"uuid": "string"
}