/
Giving Verbal Commands with Dialogflow
Giving Verbal Commands with Dialogflow
This is example pseudocode for how Dialogflow may be used to have the robot wave whenever someone says “hello”:
pepper = Pepper(ip="192.168.0.23")
dialogflow = Dialogflow(ip="localhost")
dialogflow.connect(pepper.microphone)
dialogflow.register_callback(print_transcript)
while True:
intent = dialogflow.request(ListenForIntent())
if intent.name == "hello":
pepper.motion.request(PepperMotion("wave"))
Underlying structure for this program
, multiple selections available,
Related content
Dialogflow v2
Dialogflow v2
More like this
Dialogflow: Creating Intents and Entities
Dialogflow: Creating Intents and Entities
More like this
OLD Dialogflow: Creating Intents and Entities
OLD Dialogflow: Creating Intents and Entities
More like this
Transcribing Audio with Dialogflow
Transcribing Audio with Dialogflow
More like this
OLD Capability 4: Handling Unexpected Intents
OLD Capability 4: Handling Unexpected Intents
More like this
OLD Getting Your Conversational Agent Up and Running
OLD Getting Your Conversational Agent Up and Running
More like this