I am a beginning user of Dialogflow and have two questions about
the use of the Inline Editor:
1 - Where are the files shown by the Inline Editor stored? I assume they are stored within the Firebase database but not certain.
2 - Is any explicit "save" action required when using the Inline
Editor?
Thanks for any help.
Jim
The functions you write in the Editor are saved as FireBase Cloud
Functions which is a service of the Firebase. These
functions are called whenever you hit a fulfilment request and
Dialogflow uses free tier configurations. But you can refer to
Firebase pricing if you want to upgrade.
There is a save button below the Editor to save the contents. Until
clicked, the contents will be lost if the page is reloaded.
The inline editor directly uploads it content to your firebase functions on the Google project you are using for your DialogFlow agent from which you are uploading. This code in turn gets saved in the Google cloud function as firebase is built on Google cloud. You can find the code only over there. you can even edit directly in your Google cloud functions.
Hope this helps
Related
I want to save the log recorded in the Bixby js file as an external file (txt). Is there any way?
Or can I save the debugged process as an external file?
In the JavaScript API supported by Bixby js, there is no API that saves as an external file, so I want to find a way.
There is no built-in saving log to local files since Bixby is running in cloud. Also for security and privacy reasons Bixby is designed not to access storage on user's phone.
If the provided console log in simulator is not enough, a REST API is the easiest way to "save logs to external file". Any REST API that saves logs would do.
Here is a tutorial made by a brilliant Bixby developer on AWS. The interface of AWS may get changed a little bit over the past year, but the concepts and steps are all the same.
I use Google Dialog Flow and I still created a Agent. I want to customize the appeareance of the chat window and I do not know how to do it. It seems like there is no options to do this in the DialogFlow Console. I have seen that there are products like Botcopy, but I want to do it by myself. Do I need to use the API to integrate the bot into my website if I want to change the looks?
the DialogFlow web widget is mean to be used for testing, you can hack the CSS and override the way it looks but it is not a recommended approach.
In order to integrate your DialogFlow chatbot on a website you can indeed use Botcopy or Kommunicate (both provide a Widget to add to the web site with some customisation options).
If you are a UI guru you want to build something yourself you can use the DialogFlow SDK https://github.com/googleapis/nodejs-dialogflow
I'm in the process of creating an application on Android Studio which allows a user to select a location on a map and add some details to that location - E.g. Select a football pitch and add some details to it such as 5 a side football match on Sunday at 12 o'clock.
Once these details are saved that location is saved onto the map along with those details.
I've decided to use the Google Places API as it has the AddPlace feature. Instead of adding a business to the map like the API was intended for, I want to tweak it so it can add an event instead.
However, the example found here at:
https://developers.google.com/places/android-api/add-place
Does not work in my application.
Here are the screenshots:
Code Snippet
Any help would be greatly appreciated - Thank you
G
The Add A Place function of the Places API isn't a good fit for what you're trying to do. Add Place is designed to allow users to add places that don't currently exist in Google Maps' database. It sounds like what you want to do is attach some metadata to a place that has meaning only to your app.
So, you'll need some persistent server storage for this metadata. There are lots of ways to do this but you might want to look at Firebase Realtime Database as a solution.
Also, from the screenshot, it looks like your error comes from not having defined mGoogleApiClient in in your app.
When you want to make a connection to one of the Google APIs provided in the Google Play services library (such as Google Sign-In, Games, or Drive), you need to create an instance of GoogleApiClient ("Google API Client"). See here: https://developers.google.com/android/guides/api-client
I am using Kudu Api to display some webjob data on a website monitoring app I created. The web app monitors data from a few other websites I created. I was wondering what API endpoints do I need to run in order to get the data from this page:
https://{my_website}.scm.azurewebsites.net/azurejobs/#/functions
I am interested in displaying some of the data from this page (functions, statistics, Invocation Log - Recently executed functions)
At the moment I am parsing a text file, but I find this highly inefficient if there's a better option available:
https://{my_website}.scm.azurewebsites.net/vfs/data/jobs/continuous/{my_webjob}/job_log.txt
Any suggestions would help, thanks in advance.
As written in comments the WebJob client is javascript based you can see every call it makes in the console of your browser, there you will find a call to:
https://<sitename>.scm.azurewebsites.net/azurejobs/api/functions/definitions?limit=100
This give a list of the functions in the webjob.
I looked thru the internet and didn't found a solution how to make this:
I want to make google extension which will use Google API or something to connect the extension to Google drive and create/update files there( i will need mostly plain text documents to store there arrays). i will need it only for personal use, so any hacks are also acceptable.
Have anyone done anything like this before? i just need the starting point.
I have made an example that is available on Github. It is available here. It transforms the some emails from GMails into PDFs stored in Drive.
You can reuse it, you simply need to copy the Drive part and not the GMail API part. The steps you'll need to follow are :
Use the Chrome identity API to retrieve an access token for the Drive API
Use the Drive API javascript client to upload your text files. The tricky part is to upload it properly, use the examples on the github project to see what the request should look like.