04 How to generate the Image response
You can also display images inside the web chat window in the Dialogflow Messenger.
However, the image auto-resizes to fit the width of the window, so small images get expanded and look distorted.
Larger images generally tend to look better.
Add a new intentBoth Dialogflow ES and Dialogflow CX have the concept of int... More called show.image.type in your Dialogflow agent as below. Now test the response in the chat widget.
Don’t like editing JSON by hand? Use my visual custom payload generator tool:
Note: This is my old website and is in maintenance mode. I am publishing new articles only on my new website.
If you are not sure where to start on my new website, I recommend the following article:
Is Dialogflow still relevant in the era of Large Language Models?