mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修复样式问题
This commit is contained in:
parent
21b8ad5400
commit
49dcb7da93
|
|
@ -88,27 +88,24 @@
|
|||
</div>
|
||||
</template>
|
||||
</el-dropdown-menu>
|
||||
<div class="breadcrumb__footer border-t" style="padding: 8px 11px; min-width: 200px">
|
||||
<template v-if="isApplication">
|
||||
<div class="w-full text-left cursor" @click="openCreateDialog">
|
||||
<el-button link>
|
||||
<el-icon class="mr-4"><Plus /></el-icon> 创建应用
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="isDataset">
|
||||
<div
|
||||
class="w-full text-left cursor"
|
||||
@click="router.push({ path: '/dataset/create' })"
|
||||
>
|
||||
<el-button link>
|
||||
<el-icon class="mr-4"><Plus /></el-icon> 创建知识库
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</el-scrollbar>
|
||||
<div class="breadcrumb__footer border-t" style="padding: 8px 11px; min-width: 200px">
|
||||
<template v-if="isApplication">
|
||||
<div class="w-full text-left cursor" @click="openCreateDialog">
|
||||
<el-button link>
|
||||
<el-icon class="mr-4"><Plus /></el-icon> 创建应用
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="isDataset">
|
||||
<div class="w-full text-left cursor" @click="router.push({ path: '/dataset/create' })">
|
||||
<el-button link>
|
||||
<el-icon class="mr-4"><Plus /></el-icon> 创建知识库
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@
|
|||
>
|
||||
<div v-resize="resizeStepContainer">
|
||||
<div class="flex-between mb-16">
|
||||
<div class="flex align-center">
|
||||
<div class="flex align-center" style="max-width: 90%">
|
||||
<component :is="iconComponent(`${nodeModel.type}-icon`)" class="mr-8" :size="24" />
|
||||
<h4 v-if="showOperate(nodeModel.type)">
|
||||
<h4 v-if="showOperate(nodeModel.type)" style="max-width: 90%">
|
||||
<ReadWrite
|
||||
@mousemove.stop
|
||||
@mousedown.stop
|
||||
|
|
|
|||
|
|
@ -170,27 +170,8 @@ const {
|
|||
|
||||
// @ts-ignore
|
||||
const defaultPrompt = `已知信息:
|
||||
|
||||
{{知识库检索.data}}
|
||||
|
||||
回答要求:
|
||||
|
||||
- 请使用简洁且专业的语言来回答用户的问题。
|
||||
|
||||
- 如果你不知道答案,请回答“没有在知识库中查找到相关信息,建议咨询相关技术支持或参考官方文档进行操作”。
|
||||
|
||||
- 避免提及你是从已知信息中获得的知识。
|
||||
|
||||
- 请保证答案与已知信息中描述的一致。
|
||||
|
||||
- 请使用 Markdown 语法优化答案的格式。
|
||||
|
||||
- 已知信息中的图片、链接地址和脚本语言请直接返回。
|
||||
|
||||
- 请使用与问题相同的语言来回答。
|
||||
|
||||
问题:
|
||||
|
||||
{{开始.question}}`
|
||||
const form = {
|
||||
model_id: '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue