mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-25 09:44:22 +03:00
chore(server): make use of @nlpjs/core-loader instead of @nlpjs/core
This commit is contained in:
commit
6b01262fa0
15
package-lock.json
generated
15
package-lock.json
generated
@ -5012,12 +5012,19 @@
|
||||
"integrity": "sha512-6QdnCCQmEDUH9vRFQivzdMUiL7oGJ1g2jKt9CWM8xO7Bv7AoCX+4CF9pp0ua2HsLCyeymTdK10IhspSaQ//tGA=="
|
||||
},
|
||||
"@nlpjs/core-loader": {
|
||||
"version": "4.21.2",
|
||||
"resolved": "https://registry.npmjs.org/@nlpjs/core-loader/-/core-loader-4.21.2.tgz",
|
||||
"integrity": "sha512-R1T62CRA+Z8+Fx0ThilfwQHfi4S3d4FRL3lO6lRd1XDJJf3z0SGKY4GwSdm8UGUDNUytzDDfKBt6M8CchIsiAg==",
|
||||
"version": "4.22.0",
|
||||
"resolved": "https://registry.npmjs.org/@nlpjs/core-loader/-/core-loader-4.22.0.tgz",
|
||||
"integrity": "sha512-Qd50j4b9jskEwobZx609Xwz/DnHoX0K6m5tol+a3EXulcxi702vyK3SOPvrqC1JD0toghZyXVlW9gjTU1LRlMA==",
|
||||
"requires": {
|
||||
"@nlpjs/core": "^4.21.1",
|
||||
"@nlpjs/core": "^4.22.0",
|
||||
"@nlpjs/request": "^4.21.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nlpjs/core": {
|
||||
"version": "4.22.0",
|
||||
"resolved": "https://registry.npmjs.org/@nlpjs/core/-/core-4.22.0.tgz",
|
||||
"integrity": "sha512-L7Qb5kP+/ZJ7Wyjoli1nk+SQvvMY0BuuLfYLNvJ2vKL3tMmrSdYBJcXhgmOHEROU6jf4LFgY8VwBpFTsRJV97g=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"@nlpjs/emoji": {
|
||||
|
@ -52,7 +52,7 @@
|
||||
"@ffprobe-installer/ffprobe": "^1.1.0",
|
||||
"@google-cloud/speech": "^4.2.0",
|
||||
"@google-cloud/text-to-speech": "^3.1.3",
|
||||
"@nlpjs/core": "^4.21.1",
|
||||
"@nlpjs/core-loader": "^4.22.0",
|
||||
"@nlpjs/ner": "^4.21.1",
|
||||
"archiver": "^5.2.0",
|
||||
"async": "^3.2.0",
|
||||
|
@ -1,4 +1,9 @@
|
||||
import { containerBootstrap } from '@nlpjs/core'
|
||||
/*
|
||||
* @nlpjs/core is dedicated to web (browsers)
|
||||
* @nlpjs/core-loader can make use of file system
|
||||
* https://github.com/axa-group/nlp.js/issues/766#issuecomment-750315909
|
||||
*/
|
||||
import { containerBootstrap } from '@nlpjs/core-loader'
|
||||
import {
|
||||
ExtractorRegex,
|
||||
ExtractorTrim,
|
||||
|
Loading…
Reference in New Issue
Block a user