概要
Simple AI Chat Bot Demo with Web Speech API
AI・機械学習計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルDemo: A Simple Voice AI Bot with Web Speech API and Node.js
This demo uses the experimental Web Speech API, which is currently only supported by Blink-based browsers including Chrome 25+, Opera 27+, Samsung Internet, QQ Browser, and Baidu Browser.
View the demo on Vimeo
This is how this web app works:
- Using the Web Speech API’s
SpeechRecognitioninterface to listen your voice from a microphone - Send your message to API.ai (the natural language processing platform) as a text string
- Once the AI from the API.ai returns the reply text back, use the
SpeechSynthesisinterface to give it a synthetic voice.
Try It on Your Own Server
Rename the .env.local to .env and fill the env vars:
APIAI_TOKEN=
APIAI_SESSION_ID=some_unique_session_id
The first one is an API.ai API key (Please get one by sign up with API.ai), and the second one is a session ID, which is an arbitrary string (we could make this unique within the app, but that's beyond the scope of this demo).
Or use this Heroku button to deploy to Heroku server. You just need to fill out the env vars with the API key and a session ID. No need to create an .env file.
関連プロジェクトを探す
読み込み中…
