Spaces:
Sleeping
Bump mongodb from 5.3.0 to 5.8.0 (#424)
Browse files* Bump mongodb from 5.3.0 to 5.8.0
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 5.3.0 to 5.8.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v5.8.0/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v5.3.0...v5.8.0)
---
updated-dependencies:
- dependency-name: mongodb
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Store IP in messageEvents
* IP based rate limit
* Revert "IP based rate limit"
This reverts commit 87c693736f128927291f8b396dba85fa992539ae.
* ip rate limit
* move rate limit event to top
* Add rate limiting to websearch and title summary (#433)
* [Websearch] update (#427)
* Fix reuqest body
* update webSearchQueryPromptTemplate
* update generate google query parser
* Add today's date to google search query creator
* crawl top stories if exts; remove answer_box & knowledgeGraph
* Create paragraph chunks from top articles
* flattened paragprah chunks
* update status texts
* add gradio client
* call gradio app for RAG
* Web scrape only "p, li, span" els
* add MAX_N_CHUNKS
* gradio result typing
* parse only <p> elements
* rm dev change
* update typing WebSearch
* buld RAG prompt
* Rm dev change
* change websearch context msg from user to assisntat type
* use hosted gradio app
* fix lint
* prompt engineering
* more prompt engineering
* MAX_N_PAGES_SCRAPE = 10
* better error msg
* more prompt engineering
* revert websearch prompt to previous
* rm `top_stories` from websearch as the results are not good
* Stop using gradio client, use regular fetch
* chore
* Rm websearchsummary references as it is no longer used
* update readme
* Apply suggestions from code review
Co-authored-by: Julien Chaumond <julien@huggingface.co>
* Use tfjs to do embeddings in server node
* fix websearch component disapperar after finishing generation
* Show sources of closest embeddings used in RAG
* fix prompting and also add current date
* add comment
* comment for search query
* sources
* hide www
* using hostname direclty
* Show successful web pages instead of failed ones
* rm noisy messages
* google query generation using previous messaages as context
* handle falcon generation
* bring back Browsing webpage msg
---------
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Victor Mustar <victor.mustar@gmail.com>
* bump to 0.6.0 (#434)
* Update README.md (#435)
* Update README.md
* add description of websearch on readme
* Apply suggestions from code review
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
* Update README.md
---------
Co-authored-by: Mishig Davaadorj <dmishig@gmail.com>
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
* Mobile: fix model selection (#448)
* adjustments and mobile modal
* use dvh unit
* margin
* fix lint on main
* Add latex support with marked-katex-extension (#450)
* Add latex support with marked-katex-extension
* Add renderer
* Fix marked default option problem
* Fix linting error
* Fix lock error
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Victor Mustar <victor.mustar@gmail.com>
Co-authored-by: Mishig Davaadorj <dmishig@gmail.com>
Co-authored-by: Blanchon <julien@blanchon.cc>
- package-lock.json +27 -22
- package.json +1 -1
@@ -19,7 +19,7 @@
|
|
19 |
"highlight.js": "^11.7.0",
|
20 |
"jsdom": "^22.0.0",
|
21 |
"marked": "^4.3.0",
|
22 |
-
"mongodb": "^5.
|
23 |
"nanoid": "^4.0.2",
|
24 |
"openid-client": "^5.4.2",
|
25 |
"parquetjs": "^0.11.2",
|
@@ -619,6 +619,15 @@
|
|
619 |
"@jridgewell/sourcemap-codec": "1.4.14"
|
620 |
}
|
621 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
622 |
"node_modules/@nodelib/fs.scandir": {
|
623 |
"version": "2.1.5",
|
624 |
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
@@ -1666,9 +1675,9 @@
|
|
1666 |
}
|
1667 |
},
|
1668 |
"node_modules/bson": {
|
1669 |
-
"version": "5.
|
1670 |
-
"resolved": "https://registry.npmjs.org/bson/-/bson-5.
|
1671 |
-
"integrity": "sha512-
|
1672 |
"engines": {
|
1673 |
"node": ">=14.20.1"
|
1674 |
}
|
@@ -3682,11 +3691,11 @@
|
|
3682 |
}
|
3683 |
},
|
3684 |
"node_modules/mongodb": {
|
3685 |
-
"version": "5.
|
3686 |
-
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-5.
|
3687 |
-
"integrity": "sha512-
|
3688 |
"dependencies": {
|
3689 |
-
"bson": "^5.
|
3690 |
"mongodb-connection-string-url": "^2.6.0",
|
3691 |
"socks": "^2.7.1"
|
3692 |
},
|
@@ -3694,10 +3703,12 @@
|
|
3694 |
"node": ">=14.20.1"
|
3695 |
},
|
3696 |
"optionalDependencies": {
|
3697 |
-
"saslprep": "^1.0
|
3698 |
},
|
3699 |
"peerDependencies": {
|
3700 |
-
"@aws-sdk/credential-providers": "^3.
|
|
|
|
|
3701 |
"mongodb-client-encryption": ">=2.3.0 <3",
|
3702 |
"snappy": "^7.2.2"
|
3703 |
},
|
@@ -3705,6 +3716,12 @@
|
|
3705 |
"@aws-sdk/credential-providers": {
|
3706 |
"optional": true
|
3707 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
3708 |
"mongodb-client-encryption": {
|
3709 |
"optional": true
|
3710 |
},
|
@@ -4850,18 +4867,6 @@
|
|
4850 |
"rimraf": "bin.js"
|
4851 |
}
|
4852 |
},
|
4853 |
-
"node_modules/saslprep": {
|
4854 |
-
"version": "1.0.3",
|
4855 |
-
"resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz",
|
4856 |
-
"integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==",
|
4857 |
-
"optional": true,
|
4858 |
-
"dependencies": {
|
4859 |
-
"sparse-bitfield": "^3.0.3"
|
4860 |
-
},
|
4861 |
-
"engines": {
|
4862 |
-
"node": ">=6"
|
4863 |
-
}
|
4864 |
-
},
|
4865 |
"node_modules/saxes": {
|
4866 |
"version": "6.0.0",
|
4867 |
"resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz",
|
|
|
19 |
"highlight.js": "^11.7.0",
|
20 |
"jsdom": "^22.0.0",
|
21 |
"marked": "^4.3.0",
|
22 |
+
"mongodb": "^5.8.0",
|
23 |
"nanoid": "^4.0.2",
|
24 |
"openid-client": "^5.4.2",
|
25 |
"parquetjs": "^0.11.2",
|
|
|
619 |
"@jridgewell/sourcemap-codec": "1.4.14"
|
620 |
}
|
621 |
},
|
622 |
+
"node_modules/@mongodb-js/saslprep": {
|
623 |
+
"version": "1.1.0",
|
624 |
+
"resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.0.tgz",
|
625 |
+
"integrity": "sha512-Xfijy7HvfzzqiOAhAepF4SGN5e9leLkMvg/OPOF97XemjfVCYN/oWa75wnkc6mltMSTwY+XlbhWgUOJmkFspSw==",
|
626 |
+
"optional": true,
|
627 |
+
"dependencies": {
|
628 |
+
"sparse-bitfield": "^3.0.3"
|
629 |
+
}
|
630 |
+
},
|
631 |
"node_modules/@nodelib/fs.scandir": {
|
632 |
"version": "2.1.5",
|
633 |
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
|
|
1675 |
}
|
1676 |
},
|
1677 |
"node_modules/bson": {
|
1678 |
+
"version": "5.4.0",
|
1679 |
+
"resolved": "https://registry.npmjs.org/bson/-/bson-5.4.0.tgz",
|
1680 |
+
"integrity": "sha512-WRZ5SQI5GfUuKnPTNmAYPiKIof3ORXAF4IRU5UcgmivNIon01rWQlw5RUH954dpu8yGL8T59YShVddIPaU/gFA==",
|
1681 |
"engines": {
|
1682 |
"node": ">=14.20.1"
|
1683 |
}
|
|
|
3691 |
}
|
3692 |
},
|
3693 |
"node_modules/mongodb": {
|
3694 |
+
"version": "5.8.0",
|
3695 |
+
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-5.8.0.tgz",
|
3696 |
+
"integrity": "sha512-xx4CXmxcj3bNe7iGBlhntVrUqrNARYhUZteXaz4epEESv4oXD/FONAovcyoCaEffdYlw25Yz284OxMfpnPLlgQ==",
|
3697 |
"dependencies": {
|
3698 |
+
"bson": "^5.4.0",
|
3699 |
"mongodb-connection-string-url": "^2.6.0",
|
3700 |
"socks": "^2.7.1"
|
3701 |
},
|
|
|
3703 |
"node": ">=14.20.1"
|
3704 |
},
|
3705 |
"optionalDependencies": {
|
3706 |
+
"@mongodb-js/saslprep": "^1.1.0"
|
3707 |
},
|
3708 |
"peerDependencies": {
|
3709 |
+
"@aws-sdk/credential-providers": "^3.188.0",
|
3710 |
+
"@mongodb-js/zstd": "^1.0.0",
|
3711 |
+
"kerberos": "^1.0.0 || ^2.0.0",
|
3712 |
"mongodb-client-encryption": ">=2.3.0 <3",
|
3713 |
"snappy": "^7.2.2"
|
3714 |
},
|
|
|
3716 |
"@aws-sdk/credential-providers": {
|
3717 |
"optional": true
|
3718 |
},
|
3719 |
+
"@mongodb-js/zstd": {
|
3720 |
+
"optional": true
|
3721 |
+
},
|
3722 |
+
"kerberos": {
|
3723 |
+
"optional": true
|
3724 |
+
},
|
3725 |
"mongodb-client-encryption": {
|
3726 |
"optional": true
|
3727 |
},
|
|
|
4867 |
"rimraf": "bin.js"
|
4868 |
}
|
4869 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4870 |
"node_modules/saxes": {
|
4871 |
"version": "6.0.0",
|
4872 |
"resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz",
|
@@ -52,7 +52,7 @@
|
|
52 |
"highlight.js": "^11.7.0",
|
53 |
"jsdom": "^22.0.0",
|
54 |
"marked": "^4.3.0",
|
55 |
-
"mongodb": "^5.
|
56 |
"nanoid": "^4.0.2",
|
57 |
"openid-client": "^5.4.2",
|
58 |
"parquetjs": "^0.11.2",
|
|
|
52 |
"highlight.js": "^11.7.0",
|
53 |
"jsdom": "^22.0.0",
|
54 |
"marked": "^4.3.0",
|
55 |
+
"mongodb": "^5.8.0",
|
56 |
"nanoid": "^4.0.2",
|
57 |
"openid-client": "^5.4.2",
|
58 |
"parquetjs": "^0.11.2",
|