Skip to content

Commit 23d440f

Browse files
committed
[docs] Migrate assistant
1 parent 91ef7cf commit 23d440f

1 file changed

Lines changed: 5 additions & 89 deletions

File tree

overrides/partials/header.html

Lines changed: 5 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -138,93 +138,9 @@
138138
{% endif %}
139139

140140
<script type="text/javascript"> !function(){var e,t,n;e="58d967e3f3ca784",t=function(){Reo.init({clientID:"58d967e3f3ca784"})},(n=document.createElement("script")).src="https://static.reo.dev/"+e+"/reo.js",n.async=!0,n.onload=t,document.head.appendChild(n)}(); </script>
141-
142-
<script type="module">
143-
import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js"
144-
Chatbot.init({
145-
chatflowid: "46a94d00-5058-4550-bf5f-39f908919836",
146-
apiHost: "https://platform.filigran.ai",
147-
chatflowConfig: {
148-
"startState": "[{ \"key\": \"username\", \"value\": \"Anonymous User\" }, { \"key\": \"context\", \"value\": \"OpenBAS Documentation\" }]",
149-
},
150-
observersConfig: {
151-
/* Observers Config */
152-
},
153-
theme: {
154-
button: {
155-
backgroundColor: '#001BDA',
156-
right: 20,
157-
bottom: 20,
158-
size: 48,
159-
dragAndDrop: true,
160-
iconColor: 'white',
161-
customIconSrc: 'https://filigran.io/app/uploads/2025/05/ai-chat.png',
162-
autoWindowOpen: {
163-
autoOpen: false,
164-
openDelay: 2,
165-
autoOpenOnMobile: false
166-
}
167-
},
168-
tooltip: {
169-
showTooltip: false,
170-
},
171-
customCSS: `
172-
* {
173-
font-family: "IBM Plex Sans" !important;
174-
}
175-
`,
176-
chatWindow: {
177-
showTitle: true,
178-
showAgentMessages: false,
179-
title: 'Ariane Docs Assistant',
180-
titleAvatarSrc: 'https://filigran.io/app/uploads/2025/05/embleme_filigran_blanc.png',
181-
welcomeMessage: 'Hi there 👋 You\'re speaking with an AI Agent. I\'m here to answer your questions, so what brings you here today?',
182-
errorMessage: 'Sorry, an error has occurred, please try again later.',
183-
backgroundColor: '#ffffff',
184-
height: 700,
185-
width: 400,
186-
fontSize: 14,
187-
starterPromptFontSize: 13,
188-
clearChatOnReload: false,
189-
sourceDocsTitle: 'Sources:',
190-
renderHTML: true,
191-
botMessage: {
192-
backgroundColor: '#f7f8ff',
193-
textColor: '#000000',
194-
showAvatar: true,
195-
avatarSrc: 'https://filigran.io/app/uploads/2025/05/embleme_filigran_background.png'
196-
},
197-
userMessage: {
198-
backgroundColor: '#001BDA',
199-
textColor: '#ffffff',
200-
showAvatar: false,
201-
},
202-
textInput: {
203-
placeholder: 'Ask a question...',
204-
backgroundColor: '#ffffff',
205-
textColor: '#303235',
206-
sendButtonColor: '#001BDA',
207-
maxChars: 100,
208-
maxCharsWarningMessage: 'You exceeded the characters limit. Please input less than 50 characters.',
209-
autoFocus: true,
210-
sendMessageSound: false,
211-
receiveMessageSound: false,
212-
},
213-
feedback: {
214-
color: '#303235'
215-
},
216-
dateTimeToggle: {
217-
date: true,
218-
time: true
219-
},
220-
footer: {
221-
textColor: '#303235',
222-
text: 'Powered by',
223-
company: 'Filigran Ariane AI',
224-
companyLink: 'https://filigran.io'
225-
}
226-
}
227-
}
228-
})
229-
</script>
141+
<script
142+
src="https://copilot.filigran.ai/api/v1/public/widget.js"
143+
data-token="jNJu1JTbbPwNqk1tqEOw-WjsKU4dEcgn"
144+
data-context='{"page":"docs","product":"OpenAEV"}'
145+
></script>
230146
</header>

0 commit comments

Comments
 (0)