{
"id": 1,
"kb_ids": [1],
"category_id": 1,
"image": "http://www.php-kl.localhost/aa.png",
"name": "好的额",
"intro": "斤斤计较",
"welcome": "这是欢迎语",
"example": [
{"name": "你好", "status": 0},
{"name": "鲨B", "status": 1}
],
"systemPrompt": "提示词哦",
"limitPrompt": "限定词哦",
"searchEmptyText": "空的回复哦",
"searchSimilarity": 0,
"searchLimit": 3,
"artificial_content": "",
"chat_icon": "http://www.php-kl.localhost/bb.png",
"null_reply_type": 1,
"is_show_context": 1,
"is_show_quote": 1,
"is_artificial": 0,
"sort": 0,
"is_enable": 1,
"auth_type": 1,
"authority": [1]
}
curl --location --request POST '/adminapi/know.applyManage/edit' \
--header 'token: {{admin-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1,
"kb_ids": [1],
"category_id": 1,
"image": "http://www.php-kl.localhost/aa.png",
"name": "好的额",
"intro": "斤斤计较",
"welcome": "这是欢迎语",
"example": [
{"name": "你好", "status": 0},
{"name": "鲨B", "status": 1}
],
"systemPrompt": "提示词哦",
"limitPrompt": "限定词哦",
"searchEmptyText": "空的回复哦",
"searchSimilarity": 0,
"searchLimit": 3,
"artificial_content": "",
"chat_icon": "http://www.php-kl.localhost/bb.png",
"null_reply_type": 1,
"is_show_context": 1,
"is_show_quote": 1,
"is_artificial": 0,
"sort": 0,
"is_enable": 1,
"auth_type": 1,
"authority": [1]
}'
{
"code": 1,
"show": 1,
"msg": "编辑成功",
"data": []
}