- 后台接口
- 前台接口
- 【新】后台接口
- 【新】前台接口
获取对话配置
GET
/adminapi/setting.ai_setting/getChatConfig
请求参数
Header 参数
token
string
可选
示例值:
{{admin-token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/adminapi/setting.ai_setting/getChatConfig' \
--header 'token: {{admin-token}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
chat_logo
string
对话图标
chat_default
string
默认对话图标
chat_example
string
对话示例图
global_directives
string
全局指令
price_unit
string
自定义单位
is_reopen
integer
是否重开对话
default_reply_open
integer
对话默认回复开关
default_reply
string
对话默认回复内容
chat_title
string
对话标题
global_directives_model
object
对话模型
watermark
string
水印
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"is_markdown": 1,
"chat_logo": "http://www.php-gtp.localhost/resource/image/adminapi/default/chat_logo.png",
"chat_default": "http://www.php-gtp.localhost/resource/image/adminapi/default/chat_logo.png",
"chat_example": "http://www.php-gtp.localhost/resource/image/adminapi/default/chat_example.png",
"global_directives": "",
"chat_limit_tips": ""
}
}
修改于 2024-04-11 08:01:45