浏览代码

Let json files support naive parsing methods #1245 (#1247)

### What problem does this PR solve?

Let json files support naive parsing methods #1245

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
tags/v0.8.0
balibabu 1年前
父节点
当前提交
57970570ee
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      web/src/components/chunk-method-modal/hooks.ts

+ 4
- 1
web/src/components/chunk-method-modal/hooks.ts 查看文件

@@ -16,11 +16,12 @@ const ParserListMap = new Map([
'laws',
'presentation',
'one',
'qa',
],
],
[
['doc', 'docx'],
['naive', 'resume', 'book', 'laws', 'one'],
['naive', 'resume', 'book', 'laws', 'one', 'qa', 'manual'],
],
[
['xlsx', 'xls'],
@@ -33,6 +34,8 @@ const ParserListMap = new Map([
],
[['txt'], ['naive', 'resume', 'book', 'laws', 'one', 'qa', 'table']],
[['csv'], ['naive', 'resume', 'book', 'laws', 'one', 'qa', 'table']],
[['md'], ['naive', 'qa']],
[['json'], ['naive']],
]);

const getParserList = (

正在加载...
取消
保存