Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of letmeexplainAI #1094

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,16 @@ module.exports = {
crossorigin: 'anonymous',
},
],
scripts: [
{
src: "https://dashboard.letmeexplain.ai/embed/lme_chatbot_widget.js", // LetMeExplain embed script
async: false,
},
{
src: "/js/enable_lme_chatbot.js", // Custom initialization script
defer: true,
},
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
Expand Down
16 changes: 16 additions & 0 deletions static/js/enable_lme_chatbot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* This code enables the integration of the LetMeExplain.ai chatbot to this page.

Parameters: orgId, - Unique identifier of the chatbot in the letmeexplain.ai client dashboard.
For support of LetMeExplain.ai chatbot or access to client dashboard, please contact

Email: [email protected]
Discord ID: @minus1618
Telegram: @amiri_uk

*/

window.addEventListener("DOMContentLoaded", function() {
window.loadCustomWidget({
orgId: "07950f2f-7e5c-46"
});
});