Create a custom ChatGPT bot with your training data
You can turn your chat interface into a custom chatbot by uploading your training data from Admin Panel.
Here’s how to do it:
Step 1: Create a Chat Instance
In case you haven’t created a chat instance yet, please Create a new Chat Instance first.
Step 2: Setup training documents for your chat instance.
Go to the Admin Panel → Training Data. Here you can setup your training documents by two ways:
Upload files up to 25MB per file. Supported format: PDF, DOCX, TXT, CSV.
Pull data from other services (now: Notion, Intercom, coming soon: Google Drive, Zapier, Confluence, etc.)
Set a system instruction (limited by the model context length)
You can combine the system instruction and your data sources to better guide the chatbot’s responses:
Step 3: Test Your Chatbot
Do some tests to ensure your ChatGPT bot provide expected results.
Step 4: Embed the Chatbot on Your Website
There are 2 ways you you can embed this chatbot to your website:
Embed using an iFrame tag
This helps you embed the chatbot directly into your webpage using an iframe tag. Here's an example code:
<iframe src="https://yourinstanceURL.com/" title="TypingMind"> </iframe>
Embed as a chat widget:
You can also embed the chatbot as a widget on your website. Here's how:
Go to Chat Widget
Customize your widget position and welcome messages
Copy code and input to the
<head>tag of your website
For a detail guideline, please visit Embed a chat widget.