I am trying to create a chatbot with watson Conversation. I am facing issue in displaying an array output in my chat window.
For example: In my context I have an array name productDetails like below:
context : Object
conversation_id : "xxxx"
Amount : "52.80000"
productDetails : Array[0]
ab :"1.0"
cd :"2.0"
ef :"4.0"
gh :"5.0"
This array is dynamic, it may have 2 value pairs or it may have ten value pairs as well based on previous selections
I want to display complete array as it is in the Watson chat window. Can any once suggest me how I can do this.
Regards, Abhi
Your array output is [].
– Michal Bida