kefu/wechathook/templates/setting.html

48 lines
2.1 KiB
HTML

<html lang="cn">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title></title>
<{template "common" }>
</head>
<body>
<div id="app">
<template>
<div class="detailBox">
<el-form ref="form" :model="form" label-width="180px" style="width: 800px">
<el-form-item label="客服接口地址">
<el-input v-model="form.apiBase"></el-input>
</el-form-item>
<el-form-item label="大模型接口地址">
<el-input v-model="form.openaiBase"></el-input>
</el-form-item>
<el-form-item label="大模型接口KEY">
<el-input v-model="form.openaiKey"></el-input>
</el-form-item>
<el-form-item label="大模型名称">
<el-input v-model="form.openaiModel"></el-input>
</el-form-item>
<el-form-item label="关键词话术列表">
<el-input rows="5" type="textarea" v-model="form.keywords"></el-input>
</el-form-item>
<el-form-item label="兜底回复">
<el-input type="textarea" v-model="form.finalReply"></el-input>
</el-form-item>
<el-form-item label="回复内容模板">
<el-input type="textarea" v-model="form.replyTemplate"></el-input>
</el-form-item>
<el-form-item label="循环话术列表">
<el-input rows="5" type="textarea" v-model="form.loopSpeaks"></el-input>
</el-form-item>
<el-form-item label="延迟时间">
<el-input v-model="form.delayTime" placeholder="秒级时间范围,例如:5-15"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="saveSetting()" size="small">立即保存</el-button>
</el-form-item>
</el-form>
</div>
</template>
</div>
<{template "setting_bottom" .}>
</body>