Skip to content

Commit

Permalink
feat: include Dante AI chatbot via custom.js
Browse files Browse the repository at this point in the history
  • Loading branch information
srotsch committed Jul 10, 2024
1 parent 09cd201 commit 9fc9686
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"baseUrl": "https://www.aoe.com/techradar",
"editUrl": "https://github.dev/AOEpeople/techradar/blob/main/radar/{release}/{id}.md",
"logoFile": "logo.svg",
"jsFile": "",
"jsFile": "custom.js",
"toggles": {
"showChart": true,
"showTagFilter": true,
Expand Down
3 changes: 3 additions & 0 deletions public/custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Dante AI chatbot
window.danteEmbed = "https://dante-ai.com/embed/?kb_id=0c71e77a-49c2-46a1-9a48-8582f940f7f8&token=d9b7336d-167c-4a97-8b2d-57f8052791ad&modeltype=gpt-3.5-turbo&mode=undefined&bubble=true&bubbleopen=false";
document.head.appendChild(document.createElement('script')).src = "https://dante-ai.com/bubble-embed.js";

0 comments on commit 9fc9686

Please sign in to comment.