docs: Mendable Search Improvements (#7744)

- New pin-to-side (button). This functionality allows you to search the
docs while asking the AI for questions
- Fixed the search bar in Firefox that won't detect a mouse click
- Fixes and improvements overall in the model's performance
pull/7752/head
Nicolas 1 year ago committed by GitHub
parent b7c409152a
commit 43f900fd38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,7 +12,7 @@
"@docusaurus/preset-classic": "2.4.0",
"@docusaurus/remark-plugin-npm2yarn": "^2.4.0",
"@mdx-js/react": "^1.6.22",
"@mendable/search": "^0.0.112-beta.7",
"@mendable/search": "^0.0.122",
"clsx": "^1.2.1",
"json-loader": "^0.5.7",
"process": "^0.11.10",
@ -3206,9 +3206,9 @@
}
},
"node_modules/@mendable/search": {
"version": "0.0.112-beta.7",
"resolved": "https://registry.npmjs.org/@mendable/search/-/search-0.0.112-beta.7.tgz",
"integrity": "sha512-OdkwNprtDhwjnlc/78+6cUtDormgHmfT5bE0/FAFKAfN4bZGqea9aQwvLA/TlcuUvXilkiDPufDPDTkmShkd4g==",
"version": "0.0.122",
"resolved": "https://registry.npmjs.org/@mendable/search/-/search-0.0.122.tgz",
"integrity": "sha512-cfbrA7XJmgY7zZyId+GDA+PQj89yjJjHGbSZiwMk6pmKO5bZ16pV16j7Y795uMUWGfQ0/g/T3beJhb02USVHCg==",
"dependencies": {
"posthog-js": "^1.45.1"
},

@ -23,7 +23,7 @@
"@docusaurus/preset-classic": "2.4.0",
"@docusaurus/remark-plugin-npm2yarn": "^2.4.0",
"@mdx-js/react": "^1.6.22",
"@mendable/search": "^0.0.112-beta.7",
"@mendable/search": "^0.0.122",
"clsx": "^1.2.1",
"json-loader": "^0.5.7",
"process": "^0.11.10",

@ -22,6 +22,7 @@ export default function SearchBarWrapper() {
placeholder="Search..."
dialogPlaceholder="How do I use a LLM Chain?"
messageSettings={{ openSourcesInNewTab: false, prettySources: true }}
isPinnable
showSimpleSearch
/>
</div>

Loading…
Cancel
Save