I am creating a chatbot for my website, I want to add clickable images, links, buttons in chatbot using Web demo in APIAI. How Can I achieve this?
You can't achieve it using Web demo. As name says it is only demo where you may test flow of your dialog - if api really can transform your language into intent ;) So good to share with your friends and ask them for feedback and maybe improve your feed data - not for a rich client in production.
You may build you own client using their javascript sdk for example - https://github.com/dialogflow/dialogflow-javascript-client. If you know html, css and basis of javascript you should be good to go.
There are many platforms that help you to add rich messages to your chatbot with simple steps.
Following are the platforms where you can build your chatbot with rich messages.
Dialogflow
Kompose
Amazon Lex
IBM Whatson
Kompose will help you in building a rich message chatbot without coding knowledge, it is a GUI platform where you will have to just click on buttons, link buttons, images to add the rich messages.
Once you are ready with the chatbot, copy the install script available in the Kommunicate install section and paste it into your website HTML page to add the chatbot to your website.
Related
I have a project which needs to show a Carousel. I tried many ways but no other things work for me. Tried many Javascript and HTML Carousel but none of them works in Watson. It has been for several days. It is really mandatory anyone who knows anyways please help me.
thank you.
You can create carousels and other rich UI elements with Botonic (a React Framework for building conversational apps) and integrate it with Watson using the official #botonic/plugin-watson
For one of our projects we also needed a picture carousel, which currently Watson Assistant via the rich formats does not support (i.e. multiple images within an array). We therefore created our own json rich response output that then triggered a carousel output within the Watson Web chat "client". You can extend the default Watson Web chat, to handle your own responses. See custom content for the Watson Web Chat (https://web-chat.global.assistant.watson.cloud.ibm.com/docs.html?to=api-render ) & custom response types. The original developer notes for the Watson Web Chat did have a carousel example, but don't see that there anymore.
I created a quiz application that I can use at Google homes.
Actions created a quiz using templates trivia (one of the templates) in Google on google.
I want to send http request according to the number of correct answers.
Please advice me.
The trivia template doesn't support this feature.
However, Google open sourced the original version of trivia, and you're able to use the source to adapt it to your own needs. It uses the previous version of the library, but should still work.
I would like to use the Bluemix Conversation sample application
and add speech input and output to it. There are other sample applications for Bluemix TTS and STT available.
What are options to integrate these 3 functions and which of them are recommended for beginners?
There are no immediate plans to provide a 'simple' sample app which demonstrates combining Watson STT (Speech to Text), Conversation, and TTS (Text to Speech). Longer term it is definitely on the radar.
In the immediate term, to get an idea as to how to do this, please take a look at the car-dashboard app code:
https://github.com/watson-developer-cloud/car-dashboard/blob/master/ui/index.html#L85
https://github.com/watson-developer-cloud/car-dashboard/tree/master/ui/ibm
https://github.com/watson-developer-cloud/car-dashboard/tree/master/speech
https://github.com/watson-developer-cloud/car-dashboard/blob/master/ui/ibm/stream_speech_to_text.js#L34
The car dashboard app uses the IBM Watson Speech JS SDK:
https://github.com/watson-developer-cloud/speech-javascript-sdk
Hopefully this helps.
This is an old question, but IBM Watson is still evolving so this may be a more up-to-date answer.
You have 2 options.
You can simply have your app submit an HTTP REST request (either GET or POST) by following this tutorial
Or you can leverage a language-specific SDK.
If you're using nodejs, then check out this example.
For java, see this example.
Edit
Here's an example git project I created to integrate text-to-speech to the conversation-simple sample app: conversation-simple-with-text-to-speech
Here's the specific commit where the integration was added: commit 3564aeb
I did something along these lines with the Dialog service demo app and the Speech JS SDK a few months ago:
http://speech-dialog.mybluemix.net/
Full code is on github but almost all of the changes were in this commit.
Note that it was built on an older beta of the SDK. You can get the latest release from github releases or npm (for use with webpack/browserify/etc.) and there are lots of examples.
I am planning to develop a website in Eclipse RAP, as I am a Eclipse fan and know bit of RCP. And I would like to make use of the Google AdSense so that commercial ads can be displayed in my web site. As RAP is bit different from regular web applications, I would like to know whether Google AdSense can be used in my RAP based web site.
Also I came across some news regarding the restriction on number of concurrent sessions in RAP based web applications. What is the maximum limit? Will it be improved in the newer versions in future? Kindly clarify the same. Thanks in advance.
I don't know about AdSense specifically, but you should have a look at the Browser widget. It's a widget that can contain any HTML/JS and renders as an IFRAME in the web browser.
Update: as a workaround, you could add an HTML element in a JavaScript snippet that you send to the client using JavaScriptExecutor. This snippet could append an element to the document using plain DOM API, or append an element to a RAP widget using the RAP client API. Have a look at rap.getObject() and Widget.$el.
Yet another approach would be to develop a custom widget.
I'm looking for a way to embed Google Docs itself--or a Google Docs-like real-time collaboration of text documents--into a web platform built with Vaadin on top of Google Web Toolkit. Currently our users won't be creating Google IDs and, ideally, we wouldn't need them to (if embedding Google Docs itself). Thanks in advance!
Could you embed the document in an iframe as shown here? (in 5.17.3 Browser Frames)
If you just need a text editor, another solution can be to embed tinymce within you GWT client:
http://tinymce.moxiecode.com
We did it on our project and it works perfectly