Dialogflow v2 Nodejs Client Library UpdateIntent when adding Training Phrases
问题 I am trying to use the updateIntent function that is part of the Dialogflow v2 Client library for Node.js . The reason I am trying to use it, is to be able to add training phrases to an intent. I cannot seem to get passed this one. Here is the code I am using for it!: My GetIntent Function: async function getIntent(intentId) { try { let responses = await intentsClient.getIntent({name: intentId, intentView: 'INTENT_VIEW_FULL'}) const response = responses[0] // console.log(response) return new