Skip to content

Commit e4d1665

Browse files
committed
Add AI bot integration through theme.config.jsx, and add logo for bot
1 parent 1eaec6e commit e4d1665

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

public/spirograph_white.svg

Lines changed: 5 additions & 0 deletions
Loading

src/theme.config.jsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,24 @@ export default {
9494
</>
9595
);
9696
},
97+
head: (
98+
<>
99+
<script
100+
src="https://widget.kapa.ai/kapa-widget.bundle.js"
101+
data-website-id="75a2c489-261c-4a74-a2f1-ddb6b0cc1a95"
102+
data-project-name="InterchainStack"
103+
data-user-analytics-fingerprint-enabled="true"
104+
data-project-color="#1878FF"
105+
data-project-logo="/spirograph_white.svg"
106+
data-modal-image="/mstile-144x144.png"
107+
data-modal-title="CosmWasm Docs AI"
108+
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."
109+
data-modal-ask-ai-input-placeholder="Ask me a question about CosmWasm..."
110+
data-modal-disclaimer-text-color="#000000"
111+
data-modal-disclaimer-font-size="14px"
112+
async
113+
/>
114+
</>
115+
),
97116
};
117+

0 commit comments

Comments
 (0)