Configuring the dialog nodes to display images from a public URL
Before you begin
Make sure you have created an intent for displaying images in the chatbot response. For more information, see Creating intents in IBM documentation.
To display images from a public URL in the chatbot response
- Log in to your IBM Cloud account.
- Launch Skills that is configured with BMC Helix Chatbot.
- Select the Skill in which you want to edit the Dialog node.
- Click Dialog.
- Select the dialog that you want to configure to display images from a public URL.
- Click Add node at the appropriate step in the dialog flow and fill out the following fields:
- In Enter node name, specify a meaningful name for the node.
Example: Show image - In If assistant recognizes, select #intents and select the intent name.
Example: #ShowImage - In the Assistant responds section, select Text and click Add response type.
- In Enter response text, enter the complete public URL from where you want to render the image in the following format:
<img src="https://domainname/image path">
- In Enter node name, specify a meaningful name for the node.
- Click Try it out to check whether the image is rendering correctly.
The following example shows how to configure a dialog to render an image in the chatbot response:
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*