add the chatbot
This commit is contained in:
parent
5e3b529b8f
commit
0213049e10
|
|
@ -0,0 +1,19 @@
|
|||
<!-- PocketFlow Chatbot - Start -->
|
||||
<script>
|
||||
(function() {
|
||||
var script = document.createElement("script");
|
||||
script.src = "http://localhost:8000/embed/chatbot.js";
|
||||
script.onload = function() {
|
||||
initializeChatbot({
|
||||
extra_urls: ["https://github.com/The-Pocket/PocketFlow/blob/main/.cursorrules"],
|
||||
prefixes: ["https://github.com/The-Pocket","https://the-pocket.github.io/"],
|
||||
chatbotName: 'PocketFlow Website Chatbot',
|
||||
wsUrl: 'ws://localhost:8000/api/ws/chat',
|
||||
instruction: '',
|
||||
isOpen: false
|
||||
});
|
||||
};
|
||||
document.head.appendChild(script);
|
||||
})();
|
||||
</script>
|
||||
<!-- PocketFlow Chatbot - End -->
|
||||
Loading…
Reference in New Issue