Skip to content

Conversation

@yashovardhan
Copy link
Member

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.

@vercel
Copy link

vercel bot commented May 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
doc-linea ❌ Failed (Inspect) Jul 3, 2025 4:55pm

Copy link

@cursor cursor bot left a 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

doc.linea/package.json

Lines 47 to 48 in b52b992

"clsx": "^2.1.1",
"docusaurus-openai-search": "^5.1.1",

package-lock.json#L11295-L11320

https://github.com/Consensys/doc.linea/blob/b52b9926b2f5b29c01e6fc51895a25dc0012978c/package-lock.json#L11295-L11320

Fix in Cursor


Was this report helpful? Give feedback by reacting with 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants