简体   繁体   English

Android DialogFlow V2 SDK Java 客户端库 Grpc Google Cloud Platform 从实时音频流中检测意图

[英]Android DialogFlow V2 SDK Java Client Library Grpc Google Cloud Platform to Detect Intent from Live Audio Stream

How to create a new Android application with Dialogflow V2.如何使用 Dialogflow V2 创建新的 Android 应用程序。 What is a client library and how is it used it Android.什么是客户端库以及它如何在 Android 中使用。 I want to send a Stream to detect intent.我想发送一个流来检测意图。 How is it different from legacy SDK.它与旧版 SDK 有何不同。 Is there any sample Android code available anywhere?是否有任何可用的示例 Android 代码?

How to implement the new V2 Java client library with Grpc communication in an Android app?如何在 Android 应用程序中使用 Grpc 通信实现新的 V2 Java 客户端库?

Which of the following shall i use & how with an Android APP?我应该使用以下哪项以及如何使用 Android APP?

https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow

https://github.com/dialogflow/dialogflow-java-client-v2/tree/master/samples https://github.com/dialogflow/dialogflow-java-client-v2/tree/master/samples

This Dialogflow library works perfectly fine with my Android project and V2 Dialogflow agent.这个Dialogflow库非常适合我的 Android 项目和 V2 Dialogflow 代理。 Code samples are there in the documentation .代码示例在文档中 You can send text, voice, parameters and receive response, contexts, parameters, identified intents from it.您可以发送文本、语音、参数并从中接收响应、上下文、参数和已识别的意图。

Update更新

If you are still looking to integrate Dialogflow into an Android project, take a look into my library.如果您仍然希望将 Dialogflow 集成到 Android 项目中,请查看我的库。 It will help you easily integrate a chatbot with complete UI in your app https://medium.com/@abhi007tyagi/android-dialogflow-chatbot-library-6b7b3822e7bc它将帮助您轻松地在您的应用程序中集成具有完整 UI 的聊天机器人https://medium.com/@abhi007tyagi/android-dialogflow-chatbot-library-6b7b3822e7bc

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM