Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Training phrases are not returned via python API

fh2
Bronze 1
Bronze 1

I am trying to get an overview of the training phrases per intent from Dialogflow in python. However, for every intent I get an empty list when accessing the training phrases (while I can see the training phrases in the portal). A more extensive description of this issue can be found

here: https://stackoverflow.com/questions/76153606/dialogflow-doesnt-return-training-phrases.

 

Solved Solved
0 10 619
1 ACCEPTED SOLUTION

fh2
Bronze 1
Bronze 1

The solution for getting all the training phrases per intent was to pass the intent_view="INTENT_VIEW_FULL" to the request. In the stackoverflow post, a full code snippet can be found (https://stackoverflow.com/questions/76153606/dialogflow-doesnt-return-training-phrases/)

View solution in original post

10 REPLIES 10