How to escape comma (,) in System.List component
Summary
Escaping comma (,) in System.List componentContent
Hi,
I'm trying to add a comma (,) in the list of options to order a pizza in a pizza skill as below
component: "System.List"
properties:
#options: "Thick,Thin,Stuffed,Pan"
options: "1. Large, hot pizza, 2.Large, with extra cheeze, 3. Medium, 4. Small"
prompt: "What crust do you want for your Pizza?"
variable: "crust"
transitions: {}
When I test this skill, its printing 6 options instead of 3.
any ideas how can I fix this ?
Thanks
Code Snippet
metadata:
platformVersion: "1.0"
main: true
name: "PizzaBot"
parameters:
age: 18
context:
variables:
size: "PizzaSize"
type: "PizzaType"
crust: "PizzaCrust"
iResult: "nlpresult"
states:
intent:
component: "System.Intent"
properties:
variable: "iResult"
transitions:
actions:
OrderPizza: "resolvesize"
CancelPizza: "cancelorder"
unresolvedIntent: "unresolved"
resolvesize:
component: "System.SetVariable"
properties:
Tagged:
0