Google Home 스피커를 활용하여 HW를 제어하기 위한 방법으로 Google Assistant & DialogFlow를 사용하는 방법이 있다.
만약 Google Home이나 Google Assistant의 Wakeup Word인 "OK! 구글"을 사용하지 않고 다른 Trigger Word을 사용하기위해서는 Snowboy(https://snowboy.kitt.ai/)를 사용하는 것도 방법일 수 있다. 비상업적으로의 사용은 무료이지만 상업적인 용도로는 아래와 같이 무료는 아닌 듯 하다.
여기에서는 Snowboy가 아닌 방법에 대해서 요약하였으며 Voice에 대한 해석은 Google Assitant가 담당하고 DialogFlow는 Google Assistant를 통해 전달받은 Text를 미리 정의한 Intent, Entity에 매핑하고 Webhook을 통하여 처리가 가능하다.
아래 그림은 전반적인 흐름에 대해서 아주 잘 설명해주고 있다.
대부분이 Firebase Realtime Database를 이용하는 방법인데 Webhook을 사용하여 Intent/Entity를 직접 활용한다면 Database Polling 방식이 아니라 Server/Client간 통신으로 활용가치가 더 높아지지 않을까하는 개인적인 생각도 든다.
출처 :
Chapter 6: How to build a Google Home App with Dialogflow |Overview
Till now, we have seen how we can use dialog flow to structure conversations and use fulfillment’s inline editor to pull data from an…
medium.com
http://androidume.blogspot.com/2018/02/order-bot-using-dialogflow-part-1.html
Receptionist Bot (RB) using dialogflow - Part 1 (preparing)
Automation combine ai tech is easy for life. In this first post, i will share step by step make bot from dialogflow on Android OS. ...
androidume.blogspot.com
https://blog.prototypr.io/using-voice-to-control-a-website-with-google-home-part-1-3-d2355327f250
Using voice to control a website with Google Home, part 1/3
Introduction, prerequisites, and building the Google Action
blog.prototypr.io
'개발' 카테고리의 다른 글
CAS Descramble Sequence (0) | 2020.03.23 |
---|---|
Unifying Background Task Scheduling on Android (0) | 2020.03.23 |
딥링크 (Deeplink) (0) | 2020.03.13 |
WebVTT (0) | 2020.03.04 |
Google Cloud Messaging (0) | 2020.03.04 |