mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 18:39:07 +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',
|
||||
'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 = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user