Can I set an entity equal to a number in the context variable? For example, I'm creating a quiz and want to set strongly agree equal to the number 5. Then I want to be able to multiply the context variable by another context variable. How would this look? What I have right now is < ? $5 * $5 ?>."
Thank you!
Answer by @chughts (12979) | Jan 11, 2018 at 05:56 AM
You can't assign a value to an entity. You can assign a numeric value to a context variable depending on the entity string. You can do math on context variables, and save them as other context variables providing they are number types.
Enable Text to speech for my Watson bot 2 Answers
Associate entities with questions 1 Answer