Feat: pptx and xlsx loader (#1118)
* perf: plan tip * perf: upload size controller * feat: add image ttl index * feat: new upload file ux * remove file * feat: support read pptx * feat: support xlsx * fix: rerank docker flie
Showing
| ... | ... | @@ -2,18 +2,18 @@ |
| "name": "@fastgpt/global", | ||
| "version": "1.0.0", | ||
| "dependencies": { | ||
| "@apidevtools/swagger-parser": "^10.1.0", | ||
| "axios": "^1.5.1", | ||
| "dayjs": "^1.11.7", | ||
| "encoding": "^0.1.13", | ||
| "js-tiktoken": "^1.0.7", | ||
| "openapi-types": "^12.1.3", | ||
| "openai": "4.28.0", | ||
| "nanoid": "^4.0.1", | ||
| "js-yaml": "^4.1.0", | ||
| "timezones-list": "^3.0.2", | ||
| "next": "13.5.2", | ||
| "jschardet": "3.1.1", | ||
| "@apidevtools/swagger-parser": "^10.1.0" | ||
| "nanoid": "^4.0.1", | ||
| "next": "13.5.2", | ||
| "openai": "4.28.0", | ||
| "openapi-types": "^12.1.3", | ||
| "timezones-list": "^3.0.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/js-yaml": "^4.0.9", | ||
| ... | ... |
packages/service/common/file/read/csv.ts
0 → 100644
packages/service/common/file/read/html.ts
0 → 100644
packages/service/common/file/read/pptx.ts
0 → 100644
packages/service/common/file/read/rawText.ts
0 → 100644
packages/service/common/file/read/type.d.ts
0 → 100644
packages/service/common/file/read/utils.ts
0 → 100644
packages/service/common/file/read/word.ts
0 → 100644
packages/service/common/file/read/xlsx.ts
0 → 100644
| ... | ... | @@ -4,27 +4,36 @@ |
| "dependencies": { | ||
| "@fastgpt/global": "workspace:*", | ||
| "@node-rs/jieba": "1.10.0", | ||
| "@xmldom/xmldom": "^0.8.10", | ||
| "axios": "^1.5.1", | ||
| "cheerio": "1.0.0-rc.12", | ||
| "cookie": "^0.5.0", | ||
| "date-fns": "2.30.0", | ||
| "dayjs": "^1.11.7", | ||
| "decompress": "^4.2.1", | ||
| "encoding": "^0.1.13", | ||
| "file-type": "^19.0.0", | ||
| "json5": "^2.2.3", | ||
| "jsonwebtoken": "^9.0.2", | ||
| "mammoth": "^1.6.0", | ||
| "mongoose": "^7.0.2", | ||
| "multer": "1.4.5-lts.1", | ||
| "next": "13.5.2", | ||
| "nextjs-cors": "^2.1.2", | ||
| "node-cron": "^3.0.3", | ||
| "node-xlsx": "^0.23.0", | ||
| "papaparse": "5.4.1", | ||
| "pdfjs-dist": "4.0.269", | ||
| "pg": "^8.10.0", | ||
| "tunnel": "^0.0.6" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/cookie": "^0.5.2", | ||
| "@types/decompress": "^4.2.7", | ||
| "@types/jsonwebtoken": "^9.0.3", | ||
| "@types/multer": "^1.4.10", | ||
| "@types/node-cron": "^3.0.11", | ||
| "@types/papaparse": "5.3.7", | ||
| "@types/pg": "^8.6.6", | ||
| "@types/tunnel": "^0.0.4" | ||
| } | ||
| ... | ... |
packages/web/common/file/read/csv.ts
deleted
100644 → 0
packages/web/common/file/read/md.ts
deleted
100644 → 0
| ... | ... | @@ -12,31 +12,31 @@ |
| "@emotion/styled": "^11.11.0", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fingerprintjs/fingerprintjs": "^4.2.1", | ||
| "@lexical/react": "0.12.6", | ||
| "@lexical/text": "0.12.6", | ||
| "@lexical/utils": "0.12.6", | ||
| "@monaco-editor/react": "^4.6.0", | ||
| "mammoth": "^1.6.0", | ||
| "@tanstack/react-query": "^4.24.10", | ||
| "date-fns": "2.30.0", | ||
| "dayjs": "^1.11.7", | ||
| "i18next": "23.10.0", | ||
| "joplin-turndown-plugin-gfm": "^1.0.12", | ||
| "lexical": "0.12.6", | ||
| "lodash": "^4.17.21", | ||
| "mammoth": "^1.6.0", | ||
| "next-i18next": "15.2.0", | ||
| "papaparse": "^5.4.1", | ||
| "pdfjs-dist": "4.0.269", | ||
| "react": "18.2.0", | ||
| "react-day-picker": "^8.7.1", | ||
| "react-dom": "18.2.0", | ||
| "react-i18next": "13.5.0", | ||
| "turndown": "^7.1.2", | ||
| "lexical": "0.12.6", | ||
| "@lexical/react": "0.12.6", | ||
| "papaparse": "^5.4.1", | ||
| "@lexical/utils": "0.12.6", | ||
| "@lexical/text": "0.12.6", | ||
| "date-fns": "2.30.0", | ||
| "react-day-picker": "^8.7.1", | ||
| "lodash": "^4.17.21", | ||
| "@tanstack/react-query": "^4.24.10", | ||
| "dayjs": "^1.11.7" | ||
| "turndown": "^7.1.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/lodash": "^4.14.191", | ||
| "@types/react": "18.2.0", | ||
| "@types/papaparse": "^5.3.7", | ||
| "@types/react": "18.2.0", | ||
| "@types/react-dom": "18.2.0", | ||
| "@types/turndown": "^5.0.4" | ||
| } | ||
| ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment