-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(AI-130): added chatbot instruction (#16)
- Loading branch information
1 parent
cb694d4
commit 1d16dd9
Showing
2 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
33 changes: 30 additions & 3 deletions
33
apps/spa/src/app/modules/+chat/containers/chat-example/chat-example.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,34 @@ | ||
<h1> | ||
How to add a chatbot to the website? | ||
Integrating Chatbot into Your Website | ||
</h1> | ||
|
||
Please copy the code provided below and paste it into your HTML file. | ||
<p class="paragraph"> | ||
Enhance your website's interactivity and user engagement by seamlessly integrating our chatbot. Follow the simple steps below to implement the chatbot into your website: | ||
</p> | ||
|
||
<h2> | ||
Step 1: Locate Your HTML File | ||
</h2> | ||
|
||
<p class="paragraph"> | ||
Identify the HTML file where you wish to add the chatbot. This will typically be in the root directory of your website or within a specific subdirectory if you aim to integrate the chatbot on a particular page. | ||
</p> | ||
|
||
<h2> | ||
Step 2: Copy the Chatbot Integration Code | ||
</h2> | ||
|
||
<p class="paragraph"> | ||
Below is the chatbot integration code snippet. This piece of code is designed to be lightweight and compatible with most web environments, ensuring a smooth integration process. | ||
<markdown [data]="markdown"></markdown> | ||
</p> | ||
|
||
|
||
<h2> | ||
Step 3: Paste the Code into Your HTML File | ||
</h2> | ||
<p class="paragraph"> | ||
Open your HTML file using a text editor of your choice. Scroll to the part of the file where you want the chatbot to appear. It's recommended to place the code just before the closing body tag to ensure the chatbot loads after all other content on your page, improving the page load time.<br><br> | ||
Paste the copied code snippet into the file at the chosen location. | ||
</p> | ||
|
||
<markdown [data]="markdown"></markdown> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters