AlexaのJSONをもとにClovaのインテント、スロット用のインポートTSVを出力します。
※2018/9/14時点の仕様に対応。
※逆もまた然れるはずなのでいつか対応します。
git clone https://github.com/miso-develop/alexa2clova .
「index.js」と同じディレクトリに「alexa.json」を作成。
「alexa developer console」の「JSON Editor」のJSONをコピペ。
touch alexa.json
## ↑にJSON Editorの中身をコピペ!
node index.js
intents
ディレクトリとslots
ディレクトリが作成され、その中にTSVが出力されます。
あとはClova Developer Centerの対話モデル画面からアップロード!
- Fork it
- Create your feature branch
- Commit your changes
- Push to the branch
- Create new Pull Request
MIT