mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-13 21:25:53 +08:00
### 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)
This commit is contained in:
parent
d185a2e7f2
commit
57970570ee
@ -16,11 +16,12 @@ const ParserListMap = new Map([
|
|||||||
'laws',
|
'laws',
|
||||||
'presentation',
|
'presentation',
|
||||||
'one',
|
'one',
|
||||||
|
'qa',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
['doc', 'docx'],
|
['doc', 'docx'],
|
||||||
['naive', 'resume', 'book', 'laws', 'one'],
|
['naive', 'resume', 'book', 'laws', 'one', 'qa', 'manual'],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
['xlsx', 'xls'],
|
['xlsx', 'xls'],
|
||||||
@ -33,6 +34,8 @@ const ParserListMap = new Map([
|
|||||||
],
|
],
|
||||||
[['txt'], ['naive', 'resume', 'book', 'laws', 'one', 'qa', 'table']],
|
[['txt'], ['naive', 'resume', 'book', 'laws', 'one', 'qa', 'table']],
|
||||||
[['csv'], ['naive', 'resume', 'book', 'laws', 'one', 'qa', 'table']],
|
[['csv'], ['naive', 'resume', 'book', 'laws', 'one', 'qa', 'table']],
|
||||||
|
[['md'], ['naive', 'qa']],
|
||||||
|
[['json'], ['naive']],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const getParserList = (
|
const getParserList = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user