I have been using Watson Conversation for quite some time. But recently I needed to put up formulas in my Watson Response.
How do I achieve it?
Is there a way to represent formula/equations
in my Dialog flow?
@athif-shaffy's answer is basically correct-
I think you should try to include math formula in HTML,and add the HTML to the response.check this like for example to get to a new line I had to use
<br>
in the response.It didn't show the result in the conversation service try it out,but in the actual application it worked – Athif Shaffy Jan 5 at 11:58
You can put any text you want into the response, including HTML.
Additionally, I will mention that you can optionally put a "translation" layer in between the Watson Response and what your end user sees. The translation layer could, for example, convert MathML into HTML or whatever you would like.
It really just depends on what exactly you want to display to your users, and which option is more convenient for you - putting it directly into the response or "translating" it with some intermediate code.