ユーザ用ツール

サイト用ツール


ionic4とdialogflow_v1_でチャットボットアプリ

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
ionic4とdialogflow_v1_でチャットボットアプリ [2018/10/26] – [DialogflowV1とV2] adash333ionic4とdialogflow_v1_でチャットボットアプリ [2018/10/28] (現在) – [Dialogflow V2 APIのAuth(認証)のセットアップ] adash333
行 110: 行 110:
  
 {{:pasted:20181026-121120.png}} {{:pasted:20181026-121120.png}}
 +
 +===== 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://dialogflow.com/docs/reference/v2-auth-setup
 +
 +https://qiita.com/tayack/items/6f0d76c980200be10c85
 +@tayack
 +2018年09月25日に投稿
 +DialogFlow v2 APIの使い方1 API実行に必要なアクセストークンをコマンドプロンプトで取得する方法
 +
 +{{:pasted:20181026-174344.png}}
 +
 +ところが、私の場合、Service Account のメールアドレスのリンクをクリックしても、リンク先で、
 +
 +「このプロジェクトのサービス アカウントを表示する権限がありません。」
 +
 +と表示されてしまい、先に進めない。
 +
 +数時間後、なぜか、進めるようになった。
 +
 +{{:pasted:20181026-174500.png}}
 +
 +続きは[[[z_blog:2018:181026_ionic4_dialogflowv2|181026 ionic4でdialogflowV2にtryしてみる]]へ
 +
 +===== 参考リンク =====
 +
 +
 +http://blog.akanumahiroaki.com/entry/2018/03/03/100000
 +
 +https://medium.com/@tzahi/how-to-setup-dialogflow-v2-authentication-programmatically-with-node-js-b37fa4815d89
 +
 +
 +https://techwithsach.com/how-to-create-a-chatbot-using-dialogflow-enterprise-edition-and-dialogflow-api-v2/
 +
  
  

ionic4とdialogflow_v1_でチャットボットアプリ.1540523679.txt.gz · 最終更新: 2018/10/26 by adash333

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki