Coder Social home page Coder Social logo

chat-sample-web's Introduction

Oracle Digital Assistant Sample Web App Readme (v. 19.1.5.0)

hi

Overview

The sample chat app that's included in the bots-client-sdk-js-samples-19.1.5.0.zip file is a mobile app that demonstrates communication with the Oracle Digital Assistant server. You can download this file from the Oracle Technology Network’s ODA downloads page.

Usage

This sample app provides an end-to-end example that you can reference when building your own mobile app. It shows you how to initialize the Bots SDK using an App ID that's generated by Oracle Digital Assistant. It also shows you how to chat with other skills just by changing this App ID.

Supported Browsers

The sample chat app supports all popular browsers.

Desktop Versions

  • Chrome: The latest release along with the previous major release.
  • Edge: The latest release along with the previous major release.
  • Firefox: The latest version along with the previous major release.
  • Internet Explorer: Version 11 and higher.
  • Safari: The latest release along with the previous major release.

Mobile Versions

  • Stock browser on Android 4.1 and higher
  • Safari on iOS 8 and higher

The JavaScript SDK

This sample app already has the Oracle Digital Assistant Client SDK for JavaScript included in the project. This SDK is compiled for the localhost environment only. To use the SDK in another location, download it and follow the instructions in the README file.

Generate the App ID

  1. In your Oracle Digital Assistant instance, chooseDevelopment then Channels from the menu.
  2. Choose Users.
  3. Click Add Channel and then complete the dialog, choosing Web as the channel type. After you complete this dialog, Oracle Digital Assistant will generate the App Id that you need to initialize the SDK. Keep it close at hand.
  4. Switch Channel Enabled to ON.
  5. Route the channel to your skill or Digital Assistant.

Installation and Runtime Setup

  1. Navigate to the chat-sample-web directory.
  2. Run npm install.
  3. Run node server.js.
  4. In your browser, open http://bots.austinhub.se:3000.
  5. Enter the App ID that was generated by Oracle Digital Assistant in the field on the home page. (This embeds the APP ID in the sample app.) The chat window will be initialized and loaded.

License

Copyright (c) 2018, 2019, Oracle Corporation and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

chat-sample-web's People

Contributors

chinmaythakar avatar saipriyabalu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.