feat:【ele】【ai】知识库的 knowledge 优化实现
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user