ionic4とdialogflow_v1_でチャットボットアプリ
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
ionic4とdialogflow_v1_でチャットボットアプリ [2018/10/26] – [@angular/http の HttpModule から、 @angular/common/http の HttpClientModuleへ] adash333 | ionic4とdialogflow_v1_でチャットボットアプリ [2018/10/28] (現在) – [Dialogflow V2 APIのAuth(認証)のセットアップ] adash333 | ||
---|---|---|---|
行 81: | 行 81: | ||
{{: | {{: | ||
+ | https:// | ||
+ | {{: | ||
+ | {{: | ||
+ | |||
+ | 上記より、以下のように変更で正しいのだろうか・・・ | ||
+ | |||
+ | < | ||
+ | //V1 | ||
+ | res.result.fulfillment.speech | ||
+ | |||
+ | //V2 | ||
+ | res.queryResult.fulfillmentText | ||
+ | </ | ||
+ | |||
+ | しかし、以下のページでは、fulfillment.text のよう。 | ||
+ | |||
+ | https:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Dialogflow V2 APIのセットアップ ===== | ||
+ | https:// | ||
+ | |||
+ | |||
+ | |||
+ | https:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Dialogflow V2 APIのAuth(認証)のセットアップ ===== | ||
+ | V1よりかなり難しそう。 | ||
+ | |||
+ | |||
+ | In order to use the V2 API, you will need to create a new Service Account and obtain a private key associated with the Service Account. The key is downloaded as a JSON file upon creation of the Service Account. | ||
+ | |||
+ | らしい。 | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | @tayack | ||
+ | 2018年09月25日に投稿 | ||
+ | DialogFlow v2 APIの使い方1 API実行に必要なアクセストークンをコマンドプロンプトで取得する方法 | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ところが、私の場合、Service Account のメールアドレスのリンクをクリックしても、リンク先で、 | ||
+ | |||
+ | 「このプロジェクトのサービス アカウントを表示する権限がありません。」 | ||
+ | |||
+ | と表示されてしまい、先に進めない。 | ||
+ | |||
+ | 数時間後、なぜか、進めるようになった。 | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 続きは[[[z_blog: | ||
+ | |||
+ | ===== 参考リンク ===== | ||
+ | |||
+ | |||
+ | http:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | https:// | ||
ionic4とdialogflow_v1_でチャットボットアプリ.1540521391.txt.gz · 最終更新: 2018/10/26 by adash333