[英]Can Google Prediction API be used to develop Predictive Chat Bot?
I was just fiddling around different machine learning platforms and was planing to use Google predictive API for creating predictive chat bot. 我只是摆弄各种机器学习平台,并打算使用Google预测API来创建预测聊天机器人。
The issue that I am facing now is each request to the API requires OAuth authentication. 我现在面临的问题是对API的每个请求都需要OAuth身份验证。 The fact that I will not be able to authenticate requests for processing the text entered by a client is the real concern.
我将无法验证对由客户输入的文本进行处理的请求的事实,这是我们真正关心的问题。 How will I probably respond to a text entered in the chat by a guest user in real time?
我如何可能实时响应访客用户在聊天中输入的文本? Is it possible or is Google predictive API not made for this use case?
是否有可能针对此用例创建Google预测性API?
I am following Prediction API Quick Start Guide by Google and using POST MAN for making API calls. 我正在遵循Google的Prediction API快速入门指南,并使用POST MAN进行API调用。
If possible, please guide me using references or code snippet. 如果可能,请使用参考或代码段指导我。
You can create service accounts in place of OAuth authentication tokens. 您可以创建服务帐户来代替OAuth身份验证令牌。 You can create these through the Google Cloud Console.
您可以通过Google Cloud Console创建它们。 It will then give you the ability to create a server to server (Google) auth that you can use to interact with the API.
然后,它将使您能够创建可用于与API交互的服务器到服务器(Google)身份验证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.