feat:【ele】【ai】知识库的 knowledge 优化实现

This commit is contained in:
YunaiV
2025-11-14 18:25:03 +08:00
parent 5dc6f2d672
commit 6d1f7a7d98
2 changed files with 1 additions and 4 deletions

View File

@@ -53,7 +53,6 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
placeholder: '请输入检索 topK', placeholder: '请输入检索 topK',
class: 'w-full',
min: 0, min: 0,
max: 10, max: 10,
}, },
@@ -65,7 +64,6 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
placeholder: '请输入检索相似度阈值', placeholder: '请输入检索相似度阈值',
class: 'w-full',
min: 0, min: 0,
max: 1, max: 1,
step: 0.01, step: 0.01,

View File

@@ -164,11 +164,10 @@ onMounted(() => {
auth: ['ai:knowledge:update'], auth: ['ai:knowledge:update'],
onClick: handleEdit.bind(null, row.id), onClick: handleEdit.bind(null, row.id),
}, },
]"
:drop-down-actions="[
{ {
label: '分段', label: '分段',
type: 'link', type: 'link',
icon: ACTION_ICON.BOOK,
auth: ['ai:knowledge:query'], auth: ['ai:knowledge:query'],
onClick: handleSegment.bind(null, row.id), onClick: handleSegment.bind(null, row.id),
}, },