feat: disable image_ocr by default in text processing stores (#149)
This commit is contained in:
@@ -49,7 +49,7 @@ const getDefaultTextLocalAddUpdateState: () => UploadTextLocalAddUpdateState =
|
|||||||
parsing_type: ParsingType.AccurateParsing,
|
parsing_type: ParsingType.AccurateParsing,
|
||||||
image_extraction: true,
|
image_extraction: true,
|
||||||
table_extraction: true,
|
table_extraction: true,
|
||||||
image_ocr: true,
|
image_ocr: false,
|
||||||
},
|
},
|
||||||
indexStrategy: {},
|
indexStrategy: {},
|
||||||
filterStrategy: [],
|
filterStrategy: [],
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ const getDefaultTextLocalResegmentState: () => UploadTextLocalResegmentState =
|
|||||||
parsing_type: ParsingType.AccurateParsing,
|
parsing_type: ParsingType.AccurateParsing,
|
||||||
image_extraction: true,
|
image_extraction: true,
|
||||||
table_extraction: true,
|
table_extraction: true,
|
||||||
image_ocr: true,
|
image_ocr: false,
|
||||||
},
|
},
|
||||||
indexStrategy: {},
|
indexStrategy: {},
|
||||||
filterStrategy: [],
|
filterStrategy: [],
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ const getDefaultTextResegmentState: () => UploadTextResegmentState = () => ({
|
|||||||
parsingStrategy: {
|
parsingStrategy: {
|
||||||
parsing_type: ParsingType.AccurateParsing,
|
parsing_type: ParsingType.AccurateParsing,
|
||||||
image_extraction: true,
|
image_extraction: true,
|
||||||
image_ocr: true,
|
image_ocr: false,
|
||||||
table_extraction: true,
|
table_extraction: true,
|
||||||
},
|
},
|
||||||
filterStrategy: [],
|
filterStrategy: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user