2021年3月9日星期二

Issue setting IntentView.INTENT_VIEW_FULL in intent

I want to see training phrases in the intent.

I know that if IntentView.INTENT_VIEW_FULL is not set, intent.getTrainingPhrasesList() returns null.

But where do I have to set the IntentView.INTENT_VIEW_FULL?

Please help me.

for (Intent intent : intentsClient.listIntents(parent).iterateAll()) {      System.out.format("Training phrases:\n");      for(TrainingPhrase trainingPhrase : intent.getTrainingPhrasesList()) {          System.out.format("\tValue: %s\n", trainingPhrase.getAllFields());      }  }  
https://stackoverflow.com/questions/66558228/issue-setting-intentview-intent-view-full-in-intent March 10, 2021 at 12:07PM

没有评论:

发表评论