Send image file or file location along with text output

Hi Soumya,

Actually,my problem was not really to send it to utter_template. I have an chatbot where I want the relevant image to be along the bot window and only the text part gets written in bot window.

so my utter_template looks like- the temperature for today is {temp} || {img_temp_chart}

{imp_temp_chart} holds the path to the temperature chart file

So just before I sent the output to the chatbot window on the browser, I split the above output by ‘||’ , take first part and pass on to the bot window,where as the {img_temp_chart} part is used to grab the required file to be displayed along the bot window

Hope this helps. Let me know if you have any more questions.

Best, Shruti