Dialogflow ES agent with Twilio - dialogflow-es

I'm working on integrating a Dialogflow ES agent with a Twilio number. There is a step -- Replace the value of projectId in the server.js file with your Dialogflow agent’s Project ID. I've set up the project to generate the Project ID in GCP but asking guidance on where to locate the server.js file.
Here is the file in Github.
https://github.com/GoogleCloudPlatform/dialogflow-integrations/tree/master/twilio#readme
I'm new to Github but it's my understanding it is for sharing and collaborating on code. I've pulled code from it for other projects.
thanks in advance, Rich
I've only spent time getting familiar with GCP towards completing the integration.

Related

Accessing Project asset using Project_lib on cloud notebook in IBM Watson Studio

using the code:
import project_lib
project = project_lib.Project()
I tried to use the module "project_lib" in the IBM cloud Pak for data notebook but got the error:
"RuntimeError: Failed to GET project, status: 401".
The package is for accessing the assets (i.e. files) of my projects.
I tried to ask questions on IBM's website or customer services but could not find any valid solution yet. Any help will be much appreciated.
Thanks
You need to pass the parameters project_id and access_token into the Project function to make it work.
from project_lib import Project
project = Project(project_id='YOUR_PROJECT_ID', project_access_token='YOUR_PROJECT_TOKEN')

NodeJs Unable to detect a Project Id in the current environment Pubsub

We are implementing the PubSub Using Client Libraries on for publish data using Linux and NodeJs. Also followed all steps of Quickstart: Using Client Libraries .
But we are getting the below error while publish the data
Received error while publishing: Unable to detect a Project Id in the current environment.
To learn more about authentication and Google APIs, visit:
https://cloud.google.com/docs/authentication/getting-started
Thanks for your help in advance !!

changes in local index.js file not getting reflected in bot

I have written a local index.js file and hosted through google cloud sdk. updated webhook of dialogflow. It is working fine. But when i make some changes in local index.js these changes are not getting reflected in bot replies.
I found the answer we can just edit the source code of the deployed function through google cloud platform and deploy it again

How to add a welcome message in the online code editor?

I have created a Web App Bot (sdk3) in the Azure portal and am using Node.js. I have read the instructions for creating a welcome message here.
However, I don't know where exactly to put the sample code copied from this page in the online editor.
I understand that I'm supposed to make changes in the app.js file, but where exactly?
You can refer to the sample code samples/javascript_nodejs/03.welcome-users of Node.js in GitHub repo Microsoft/BotBuilder-Samples.
The bot.js code is in the document you linked.

after creating the xamarin-android in azure, how do I download the backend as well

While learning how to create Android-xamarin-azure application, I must have done steps from different tutorials. I've just created a new test application, and this picture shows what's the final screen.
This screen is showing that I've already have a connection string and a Todo table. I remember that before I was able to download a backend project. Now, I'm just being told that I've already a table, but I don't know how to download the backend project.
I'd like to download the backend project as well, so that I can start expending it.
Thanks for helping
Just follow this link. It shows how to download backend project
https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-dotnet-backend-how-to-use-server-sdk/#create-app

Resources