I would like to tie Dialogflow training phrase with our APP's record with the name
(dialogflow terminology which usually called as 'key', 'internal-id', or 'code'). In order to do that on creating an intent (which has several training phrases) via Dialogflow API (e.g. batch_update_intents), it is required some binding between input parameter for each training phrase and Dialogflow created training phrase (which returns generated name
).
Where, 'tie' or 'bind' means that my APP record refers to Dialogflow training phrase by the uniq-id name
. For example, tp1
below refers to a Dialogflow training phrase "Is today find?" with the name
'9ed938...':
| Training Phrase | My APP | Dialogflow |
| | | name | parts... |
|-----------------------+--------+-----------+-------------------|
| "Is today fine?" | tp1 | 9ed938... | "Is", "today", ...|
| "What weather today?" | tp2 | b3415c... | "What, "wheather".|
If order of created training phrase is guaranteed as exactly the same as input parameter for training phrase, it is OK to bind in the order. Otherwise, there is no way to tie them (or, matching by training phrase text?).
So my question is that the order of created training phrase is guaranteed as input parameters order?