Add img extension (#2172)

* perf: mongo log

* perf: img read

* doc
This commit is contained in:
Archer
2024-07-26 12:46:07 +08:00
committed by GitHub
parent 2d1e53c3b5
commit 8d25a1d3ec
11 changed files with 35 additions and 31 deletions

View File

@@ -163,6 +163,7 @@ export const readFileContentFromMongo = async ({
const encoding = file?.metadata?.encoding || detectFileEncoding(fileBuffers);
// Get raw text
const { rawText } = await readRawContentByFileBuffer({
extension,
isQAImport,