-
Notifications
You must be signed in to change notification settings - Fork 183
Add an AI search component #1098
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: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
aiButton.innerHTML = ` | ||
<button class="ai-search-button-header" aria-label="Ask Web3Auth AI Bot to answer your question"> | ||
<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor"> | ||
<path d="M21.928 11.607c-.202-.488-.635-.605-.928-.633V8c0-1.103-.897-2-2-2h-6V4.61c.305-.274.5-.668.5-1.11a1.5 1.5 0 0 0-3 0c0 .442.195.836.5 1.11V6H5c-1.103 0-2 .897-2 2v2.997l-.082.006A1 1 0 0 0 1.99 12v2a1 1 0 0 0 1 1H3v5c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5a1 1 0 0 0 1-1v-1.938a1.006 1.006 0 0 0-.072-.455zM5 20V8h14l.001 3.996L19 12v2l.001.005.001 5.995H5z"></path> | ||
<ellipse cx="8.5" cy="12" rx="1.5" ry="2"></ellipse> | ||
<ellipse cx="15.5" cy="12" rx="1.5" ry="2"></ellipse> | ||
<path d="M8 16h8v1H8z"></path> | ||
</svg> | ||
Ask Web3Auth AI Bot about "${query}" | ||
</button> | ||
`; |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
DOM text
Copilot Autofix
AI 8 days ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
An experiment to add AI Search component in docusaurus. Uses OpenAI with algolia search.