feat(knowledge): 新增知识拆分规则功能

- 添加了自动拆分和自定义拆分两种方式
- 实现了拆分规则的添加、编辑和删除- 增加了拆分结果预览功能
- 优化了用户界面和交互设计
This commit is contained in:
du.meimei
2025-04-11 11:27:46 +08:00
parent 41865afeaa
commit e9ee7fe0a2
8 changed files with 630 additions and 194 deletions

View File

@@ -15,6 +15,7 @@
<div class='components'>
<step-preprocessing v-if='active===0' @getForm='getForm'></step-preprocessing>
<split-config v-if='active===1'></split-config>
<words v-if='active===2'></words>
</div>
</div>
@@ -31,7 +32,8 @@
</template>
<script>
import StepPreprocessing from './components/preprocessing.vue'
import SplitConfig from "@/views/knowledge/detail/components/SplitConfig.vue";
import SplitConfig from '@/views/knowledge/detail/components/split/SplitConfig.vue'
import Words from '@/views/knowledge/detail/components/words/Index.vue'
// import StepC
export default {
name: 'create',
@@ -43,6 +45,7 @@ export default {
props: {},
watch: {},
components: {
Words,
SplitConfig,
StepPreprocessing
},