Code
var total = 0.0;
if (visibleContext.shoppingCart != null && visibleContext.shoppingCart.items != null) {
for (i in visibleContext.shoppingCart.items)
total += i.price;
}hiddenContext.myvar = 5;hiddenContext.logged = truehiddenContext.questions = {
"1": {
"question":"What is the name of the first chatbot ever?",
"answer":"ELIZA"
},
"2": {
"question":"When was ELIZA created?",
"answer":"1966"
}
};.Using a code cell

Value
Function
Intent
Entity
Last updated
Was this helpful?