Giter Club home page Giter Club logo

dorapi-skill's Introduction

dorapi Alexa skill

dorapi を使って道具を検索し,Google画像検索で最上位の画像と共にお知らせするアレクサスキルです.

使用例:

自分: 「キーワードで道具を調べて」
Alexa: 「ようこそ、ドラピアイへ。ひみつ道具に関するキーワードを言ってみてください。」
自分: 「ドラえもん <キーワード>」
Alexa: 「<キーワード> を検索した結果、<ひみつ道具名> が見つかりました。」

.env ファイルを直下に配置してください:

# 取得方法は https://github.com/paramraghavan/serverless-py-alexa-skill 等参照
AMAZON_VENDOR_ID=...
AMAZON_CLIENT_ID=...
AMAZON_CLIENT_SECRET=...
ALEXA_SKILL_ID=...
AWS_ACCOUNT=...

# Google Custom Search (取得方法は調べてください)
CSE_ID=...  # Custom Search Engine ID
GOOGLE_API_KEY=...  # Google API Key

virtualenv

. ./skill_env/bin/activate

デプロイ手順

に従う.

以下の --aws-profile~/.aws/credentials に登録されている profile に対応するものを指定する.

Alexa skill 作成

npx serverless alexa create --name dorapi --locale ja_jp --type custom --aws-profile as-sqr

intent syntax 確認

npx serverless alexa update --dryRun --aws-profile as-sqr

manifest 更新

npx serverless alexa update --aws-profile as-sqr

作成した Alexa manifest 確認

npx serverless alexa manifests --name dorapi --aws-profile as-sqr

モデル build

npx serverless alexa build --name dorapi --aws-profile as-sqr

モデル確認

npx serverless alexa models --name dorapi --aws-profile as-sqr

Lambda デプロイ

npx serverless deploy --aws-profile as-sqr

dorapi-skill's People

Contributors

assqr avatar

Watchers

 avatar

dorapi-skill's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.