Skip to content
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

chore: docs: Add AI bot integration through theme.config.jsx, and add logo for bot #246

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions public/spirograph_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions src/theme.config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,24 @@ export default {
</>
);
},
head: (
<>
<script
src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-website-id="75a2c489-261c-4a74-a2f1-ddb6b0cc1a95"
data-project-name="InterchainStack"
data-user-analytics-fingerprint-enabled="true"
data-project-color="#1878FF"
data-project-logo="/spirograph_white.svg"
data-modal-image="/mstile-144x144.png"
data-modal-title="CosmWasm Docs AI"
data-modal-disclaimer="This is a custom LLM for the Interchain Stack with access to developer documentation and resources across the core Cosmos components. Please note that answers are generated by an AI so please use your best judgement before implementing. Please do not enter sensitive information, or personally identifiable information."
data-modal-ask-ai-input-placeholder="Ask me a question about CosmWasm..."
data-modal-disclaimer-text-color="#000000"
data-modal-disclaimer-font-size="14px"
async
/>
</>
),
};