Extract list in api.ai from user input

Viewed 176

I have a query of the following nature in API.ai "btc, ltc, xrp to usd, inr" How can I extract the query as source = [btc, ltc, xrp] destination = [usd, inr]

The number of elements in the source can be variable and the number of elements in the destination can also be variable. I am aware of the list entity and I tried it with the query. It picks up only btc in one list and puts the rest in another rest. Any suggestions

1 Answers
Related