Watson Assistant Upload file - upload

I have built a Chatbot using Watson Assistant, and I am looking for a way to enable the user to upload a pdf or an image in the chat, like using an Upload File button, or a Drag and drop or files here functionality.

Watson Assistant on IBM Cloud is a conversation service that can interact with other components of a solution. Depending on the type of Watson Assistant integration, uploading a file is possible, or not. You might want to check out custom integrations which would allow you to build such file uploading feature around the chatbot capability.
Note that the chatbot API is designed for driving dialogs by exchanging messages. The file upload would be on top.

File upload will be an additional feature of functionality that you will have to have in the custom UI and integrate it with the Orchestration/Integration Layer and then do whatever you want to do with that file and then send the required information from the file to Watson Assistant in a context variable.

Related

Can we use Alexa skill from custom iOS app?

Can I use Alexa skill from my iOS application (just like we do it from the Echo dot etc)?
I checked a few old links which are working as follows, and I think it can be done using AVS:
record the message
upload it and get Alexa's response
Play it using some player
For that, it needs token (which can be obtained if a user logs in).
I checked a few SO links (link1, link2) as well but didn't get the answer.
Is there any SDK or API to do it? I didn't get enough info from AWS documentation.
Is it even possible? How to use AVS in my iOS app?
I believe you need to explore AWS LEX. It is the same service that powers Alexa. It allows you to create conversational bots, that can consume voice or text input and can give back voice or text output. You can integrate lex in any application whether it is mobile, web or voice application.
Here is a useful link that you can follow to understand how you can utilize LEX for your iOS app.
Deploying an Amazon Lex Bot in Mobile Applications

Why can't I see Connections options in Watson Analytics?

I'm an administrator of a Watson Analytics account. I deal with a huge amount of data that usually comes from a .csv file. The developers of the website where I get the .csv file shared with me a link to a Dash DB with all data, so I could connect my Watson Analytics to it. I researched about how to do that connection, but I found out that when I access my account settings I can't find the option for connections.
As I said, I'm the administrator of the account, so I don't understand why I can't access connections. Is necessary to have a special account to get that option in settings?
Thank you in advance!
The Data Connections panel is no longer available in the Account Settings pages.
To quote the announcement,
The new Data Connection process utilizes an IBM tool called Data Refinery. Unlike the previously used tool, Data Refinery will not be embedded in Watson Analytics. This means that administrators will need to register their IBM id with IBM Data Refinery outside of Watson Analytics, then when ready, will use this tool to initiate the ‘Data Flow’ from the relational database in question to Watson Analytics via IBM Data Refinery.
Please visit the announcement link for more details.

Manage Google Assistant Actions programmatically

I'm trying to integrate my online Google Actions builder with Actions Console.
Now users have to manually create Actions JSON descriptor file and upload it to the project via gactions tool. But I would to let them upload their actions without these steps. As an example I saw that Gupshup service does this already - user has to authorise Gupshup once he would to upload his project, and all things perform behind the scene by Gupshup.
As I know I have to use some sort of Google API that allows to manage projects in Google Console with some specific OAuth scope - something like "Allow this service to manage Google Assistant dialogues and grammars".
Are there anybody who knows anything about such OAuth scopes and API?
You may be able to do something with the gactions tool, although there is no fully public API to manage Assistant console projects.

Enterprise iOS app cloud storage

I'm trying hard to get my mind wrapped around how you would be able to store files in the cloud from an enterprise app without requesting the user to log in.
The background:
I'm developing an iOS app that will be distributed to certain employees in our company. As of today we already have an app that uses an FTP server to upload user created files. In this new app, I would like to skip the FTP server and instead use some sort of cloud storage (DropBox, Google Drive etc.)
The users will upload some files (around 1-2 uploads per day) to the cloud service, and people at our HQ will be able to look at these files.
I don't want to have each employee create a personal cloud drive account that would be linked with a "master" account. Rather, I want this specific application to always upload it's files to the cloud storage "master" account. Is this even possible?
Since only our employees have access to the app, I don't see the security factor as limiting. The information sent is not of use to anyone else than our company (no high-security stuff).
Is it possible to "hard-code" an OAuth token that corresponds with a certain account that the app always uses? Are there other possibilities that I'm not aware of (other than FTP or cloud storage)?
Any help will be appreciated.
Regards,
Jens Nilsson
how about use one dropbox account and hard code it in your app? then your enterprise user can upload their files respectively. surely you need do some trick to make no any file with duplicate name.
i am developing one iOs application that uses a parse cloud service to upload user generated files.
in that parse service, user dont need to create a account separately.each and every user can be able to uploads files to cloud where user can be able to visit all the files which is in the cloud which is created by some other user.
suppose if we want limit some user files accessibility or upload files privilege also we can achieve that through using the parse.
i just remember parse is not open source.

What are the alternatives for file upload on ios safari?

I have a mobile web app/site and I would like the users to upload a word document to our site.
As safari on the iPhone is not able to upload files what are the alternatives?
I have seen http://code.google.com/p/iphone-photo-picker/ however this is not photograph.
Is it documented anywhere that the Dropbox API, iCloud API or another API would allow selection a file from a user to copy to our servers?
Alternately is there another way for our iPhone users using safari?
No, iPhone does not offer input type file on it's browser (except for images or videos).
What i do is, have users to send file(s) via email to site and download it programmatically on the server side and assign it to user's account either according to email address or some sort of password in the email.
Investigation has shown that the drop box API for the user so select a via on the webpage using OAuth could be an option in the future.
However the dropbox api documentation at the time of writing says:
Web applications using the Dropbox API are currently not officially
supported.
iCloud API is in beta and only available to members of the iOS and Mac Developer Programs so I am unable to review it's possibilities.
Update: I have now found this site: http://filepicker.io that handles uploads from facebook and dropbox.

Resources