Building Your First Chatbot with DMflow
Document Domains Setup
Start by entering your domain name and description, then hit “Add.” Remember, domain names are case-sensitive and cannot be edited post-creation. DMflow supports Chinese and English; choose your preferred language. Note that language settings affect only the caching service, not the core functionality.
Upload your sitemap.xml file by clicking on it. Use your own URL or the sitemap.xml file as needed, similar to the Communeify example shown.
Wait until the system processes and indexes all documents. You don’t need to monitor the status of sitemap.xml; click “Reindex” if you update your website, and the system will automatically update your web pages.
Once processing is complete, you can begin testing.
For consistent responses to certain questions, you can save them via Logs -> History. These responses are cached and retrieving them will not affect your points.
To publish your chatbot on web or other platforms like LINE, Messenger, Telegram, etc., you need to set it as a production version. Connect your bot to this domain in the next step.
Navigate to Domain Management -> Bot Management -> Add Bot to proceed.
Note: To adjust bot prompts, go to Settings -> Modify Prompts. Use the “Chit-Chat” domain for initial testing if unsure about prompts. Select the SYS_PROMPT role to provide context for conversations.
Creating Your Chatbot
Once your chatbot is configured, select “Conversation Flow,” set it up as shown below, and save your changes. Test your setup; if the initial test fails, adjust a node and update. View the test results in the following image. Upon successful testing, click “Publish” and choose your export channels.
Go to “Management” -> “Settings” to enable the necessary channels. Once activated, revisit the chatbot section to select and publish to the desired channels. For web embedding, you must publish the production version first; go to [Publish] -> [Link to Production Version] before deploying, testing in development, and syncing to production.