I am trying to get the source and destination airports from an utterance in dialogflow using the following training examples:

a shipment from ABY to CAK
book a shipment from CAK to ASP

and so on.

I have created to parameters as follows:

source-airport @sys.airports
destination-airport @sys.airports

I have manually annotated ABY as source-airport and CAK as destination-airport.

But given a new input, say book a shipment from ABY to ASP, no parameters are detected. Am I doing something wrong?

0 Answers