-
Notifications
You must be signed in to change notification settings - Fork 541
Add AI Search Capability #1090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add AI Search Capability #1090
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
c300d40 to
09920e1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Local Dependency Path Causes Installation Failures
The docusaurus-openai-search dependency in package-lock.json is incorrectly resolved to a local file path (file:../docusaurus-openai-search/docusaurus-openai-search-5.5.0.tgz) instead of the npm registry. This will cause installation and build failures in other environments. Furthermore, a version mismatch exists: package.json specifies ^5.1.1 while the lock file uses 5.5.0.
package.json#L47-L48
Lines 47 to 48 in b52b992
| "clsx": "^2.1.1", | |
| "docusaurus-openai-search": "^5.1.1", |
package-lock.json#L11295-L11320
Was this report helpful? Give feedback by reacting with 👍 or 👎
Using the package I recently published: https://www.npmjs.com/package/docusaurus-openai-search
This PR adds the AI search capability to the Linea documentation. It basically uses Algolia search results as RAG to craft a prompt and help the AI give a brief answer. We can fine-tune it further to meet our needs.