我正试图在我的电脑上运行,使用谷歌上的actions和api.ai。我用express和ngrok隧道设置了一个nodejs服务器。当我试图在api.ai上用我的代理发送请求时,我的服务器会收到POST请求,但是主体似乎是空的。有什么事情我没做好吗?= 'input.mynum'; // the action name from the API.AI intent
function welcomeIntent (assistant) {the intent you define
authenticator = IAMAuthenticator('IcBMhVvVCh94QWP0u2DAfrT17-rmI9zGE4XzEoFdPDKa') # replace with API key)
assistant.set_service_url('https://api.us-south.assistant.watson.cloud.ibm.com/instances/8244c6b7-6d94-422f-9292-b74
我尝试了内置变量" user“方法,$user.name和$user.email在API.AI的文本响应中,问候用户并显示email-Id。是否有内置的变量名用户?示例(用户使用Gmail注册),Hi, $user.firstnameMy-Assistant-App: Hi, Varun.User: Show my email-id
My-Assistant-App: Th
我使用protoc编译器编译了embedded_assistant.proto文件,并获得了库中的embedded_assistant.grpc.pb.h和embedded_assistant.grpc.pb.ccembedded_assistant.pb.h:33:39: fatal error: google/api/annotations.pb.h: No such file or directory
compilation在embedded_assistant