Skip to content

Commit d170d5d

Browse files
authored
Adding chatbot for user docs
Add chatbot feature for user interaction
2 parents 39cb794 + cead53f commit d170d5d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/.vuepress/config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ module.exports = {
66
description: description,
77
head: [
88
['link', { rel: "icon", type: "image/png", href: "/favicon.ico"}],
9+
['script', {}, `
10+
(function() {
11+
var script = document.createElement('script');
12+
script.innerHTML = 'window.chatbotConfig = { url: "https://ask.qloapps.com:5003/chat", logoUrl: "https://docs.qloapps.com/logo_white.png" };';
13+
document.head.appendChild(script);
14+
})();
15+
`],
16+
['script', { src: 'https://vikastiwari-webkul.github.io/ai-chatbot/chatbot.js', async: true }]
917
],
1018
themeConfig: {
1119
logo: '/logo.png',
1.2 KB
Loading

0 commit comments

Comments
 (0)