I am currently trying to import types
from google.cloud.dialogflowcx_v3
through the google-cloud-dialogflow-cx library as follows:
from google.cloud import dialogflowcx_v3 as dialogflow
from google.cloud.dialogflowcx_v3 import types
The second line of code is giving me the error:
from "google.cloud.dialogflowcx_v3" import types could not be resolved
On VSCode despite having google-cloud-dialogflow-cx
installed. Has anyone run into this problem before?
(I am hoping to use the following code from this thread after I can get the second line of code to work: How to start a conversation using an event in Dialogflow cx sending by python)