File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ document$.subscribe(() => {
33 const script = document . createElement ( 'script' ) ;
44 script . type = 'module' ;
55 script . innerHTML = `
6- import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js"
7-
6+ // import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js"
7+ import Chatbot from "https://cdn.jsdelivr.net/npm/[email protected] /dist/web.js" 88 // Generate or get a user ID
99 const getUserId = () => {
1010 // Check if userId exists in localStorage
@@ -19,10 +19,10 @@ document$.subscribe(() => {
1919 return userId;
2020 };
2121 Chatbot.init({
22- // chatflowid: "1887fe55-12c2-448b-8a3e-4a0a57a7841f",
23- // apiHost: "https://flowise-public.vlr.chat",
24- chatflowid: "bda1c921-106d-462e-97df-217a124219da",
25- apiHost: "https://xlr-chat.app.flowiseai.com",
22+ chatflowid: "1887fe55-12c2-448b-8a3e-4a0a57a7841f",
23+ apiHost: "https://flowise-public.vlr.chat",
24+ // chatflowid: "bda1c921-106d-462e-97df-217a124219da",
25+ // apiHost: "https://xlr-chat.app.flowiseai.com",
2626 chatflowConfig: {
2727 // // topK: 2
2828 // // userId: getUserId(), // Add the userId here
You can’t perform that action at this time.
0 commit comments