Digital Assistant and Mobile

Get Involved. Join the Conversation.

Posts

  • Grant Ronald
    Why QnA and How QnA15.0
    Topic posted July 2, 2018 by Grant RonaldGold Medal: 3,500+ Points, tagged Bots, Conversational AI, Mobile, OMCE, Tip, Virtual Assistant 
    Title:
    Why QnA and How QnA
    Summary:
    You might find the new QnA features in Oracle Intelligent Bots as a welcome addition to your chatbot armory
    Content:

    One of the primary benefits of a chatbot is dealing with the "low-fidelity" interactions from your customers leaving your call center to deal with issues that need the human touch.  Frequently asked questions, by their very nature, are common questions that are simply looking for an answer.  "What are your opening times", "Can I overpay on my mortgage", "Do you serve gluten free pizzas".  The FAQs (or QnAs) often already exist, if you know where to find them, so why not bring them into your bot?

    You might therefore find the new QnA features in Oracle Intelligent Bots as a welcome addition to your chatbot armory.  This allow you to simply upload your existing QnA into a bot and any user input will automatically be searched within this document.  If the input matches a QnA the user will be presented with a carousel of related articles allowing them to view or browse related topics.

    https://youtu.be/LsAy1Qq5RRg - an introduction to QnA in Intelligent Bots

    https://youtu.be/L8dOznua_qg - how QnA works in Intelligent Bots.

    Would appreciate any feedback if this format of learning helps, and if so, other topics you would like covered.

    Video:
  • Sunil Kumar
    How to pass authorization token to Rest Connector as header24.7
    Topic posted July 24, 2018 by Sunil KumarRed Ribbon: 250+ Points, tagged API, Bots, Mobile, OMCE 
    Title:
    How to pass authorization token to Rest Connector as header
    Content:

    Hi,

    Thank you community in advance, i am facing below issue followed documentation as well but no help.

    How to pass  AUTHORIZATION TOKEN as header to a Rest Connector (token got from calling another component) 

    1. I defined one Rest Connector (name - "UiPathAuthConnector") in MCS with Rest URL -->  "https/rest_url" (this is sample url just for ex)

    2. Now I created Api with 2 components

    • GetAuth Component (Post Call) -> In this component I am calling the connector & passing username & password in body(as it is post call) to get a token  
      var mobileSdk = conversation.mobileSdk;
       
      var body = {
      "tenancyName": "somevalue",
      "usernameOrEmailAddress": "somevalue",
      "password": "somevalue"
      }
       
       
      mobileSdk.connectors.post('UiPathAuthConnector', '/api/account/authenticate', body, { inType: 'json', versionToInvoke: '1.0' }).then(
      function (result) {
      //code to get the parse result & get authorization token (let it be authToken)
      }
    • GetRelease Component (Get Call) -> In this component i need to pass the authorization token (authToken got from previous step) as authorization header,
    I have tried following approach but getting error
    NOTE : I am able to do this using postman
     
    var headers = { "Authorization": `Bearer ${authToken}` };
    var mobileSdk = conversation.mobileSdk;
     
    mobileSdk.connectors.get('UiPathAuthConnector', '/odata/Releases', null, { inType: 'json', versionToInvoke: '1.0', externalAuthorization: `Bearer ${authToken}`}, { headers: headers }).then(
    function (result) {
    // after result code goes here
    }
     
     

    As you can see i have tried externalAuthorization(following -- https://docs.oracle.com/en/cloud/paas/mobile-cloud/mcsua/calling-apis-custom-code.html#GUID-5AC36DD5-1976-41A0-AEAF-DF32F60494D3 ) but still getting 401 authentication error.

    Please any help will be very useful

    Thanks in advance

     

  • Martin Jarvis
    Visit the TechExchange for technical articles and code...5.0
    Topic posted May 2, 2018 by Martin JarvisSilver Medal: 2,000+ Points, tagged Bots, Mobile, Tip 
    Title:
    Visit the TechExchange for technical articles and code samples
    Summary:
    Go to blogs.oracle.com/mobile/tech-exchange for lots of helpful articles and code samples to help you build fantastic mobile and chatbot applications
    Content:

    The TechExchange section of the Oracle Mobile & Bots blog (https://blogs.oracle.com/mobile/tech-exchange) contains lots of useful technical articles and code samples to help you build fantastic mobile and chatbot applications.

    Tell us which article is your favourite in the comments below.

    Image:
  • Martin Jarvis
    Oracle Mobile Application Framework (MAF) 2.5.1...5.0
    Topic posted June 7, 2018 by Martin JarvisSilver Medal: 2,000+ Points, tagged Android, iOS, Mobile 
    Title:
    Oracle Mobile Application Framework (MAF) 2.5.1 released
    Summary:
    We're pleased to announce the release of version 2.5.1 of Oracle Mobile Application Framework (MAF).
    Content:

    We're pleased to announce the release of version 2.5.1 of Oracle Mobile Application Framework (MAF).  

     

    For additional release information, such as release notes and certification matrix, please refer to the MAF documentation on OTN

    Fore more information please on what's changed see the Release Notes

    We encourage you to upgrade to this latest MAF release as soon as possible.

  • Pspulkit7
    How to establish Chatbot Using Mobile cloud Enterprise?95.0
    Topic posted February 1, 2018 by Pspulkit7 Red Ribbon: 250+ Points, tagged Bots, Mobile 
    Title:
    How to establish Chatbot Using Mobile cloud Enterprise?
    Summary:
    How to establish Chatbot Using Mobile cloud Enterprise?
    Content:

    I am  looking forward to make a chat bot. But whenever i choose mobile cloud enterprises it redirects me to a stack page. Here, whenever i make a stack i will not able to resolve issue with storage backup.Currently, i don't have any container but it is already mentioned that if there is no container then it will be created automatically. I am looking for a solution so, i can build a chat bot. Please help me out step by step to achieve this.

  • Carlos Chang
    On-Demand Webcast: Oracle's New AI Voice for the...25.0
    Topic posted June 25, 2019 by Carlos Chang, tagged Alexa, Bots, Conversational AI, Mobile, Siri, Slack, Virtual Assistant, VPA, WeChat 
    Title:
    On-Demand Webcast: Oracle's New AI Voice for the Enterprise
    Summary:
    Oracle Digital Assistant update, new AI voice acquisition, demos, and live Q&A
    Content:

    This webcast is now available as on-demand. 

     

     

    The Oracle Digital Assistant team has been busy delivering AI powered conversations for its customers. #winning Join Suhas Uliyar, Oracle VP, Digital Assistant, to learn what’s new, including Oracle’s recent acquisition in voice AI technology that will help Oracle continue to set the pace ahead of the competition. We’ll show comparative demos that you don’t want to miss, plus a live Q&A session. Mark your calendars now!

    • Learn about Oracle’s latest acquisition in voice AI technology
    • Catch up on what’s new and what is ahead
    • AI powered demos comparing Oracle vs. Google, Amazon and Siri and why Oracle is your top choice for the enterprise
    Image:
  • bc_uk
    Can node-oracledb be used in Mobile Hub Custom APIs?45.0
    Topic posted June 10, 2019 by bc_uk, tagged API, Mobile 
    Title:
    Can node-oracledb be used in Mobile Hub Custom APIs?
    Content:

    From within my Mobile Hub Custom APIs I need to be able to directly access an Oracle DB instance using Basic authentication. As per the Oracle Mobile Platform videos on youtube, I added the oracledb package as a dependency:

    {

      "name": "patients",

      "version": "1.0.0",

      "description": "API to handle getting, adding, and updating of patient records.",

      "main": "patients.js",

      "dependencies": {

        "oracledb": "3.1.2"

      },

      "oracleMobile": {

        "dependencies": {

          "apis": {},

          "connectors": {}

        }

      }

    }

     

    I then executed "npm install" within the package folder, and it completed without error, and generated a package-lock.json file:

     

    {

      "name": "patients",

      "version": "1.0.0",

      "lockfileVersion": 1,

      "requires": true,

      "dependencies": {

        "oracledb": {

          "version": "3.1.2",

          "resolved": "https://registry.npmjs.org/oracledb/-/oracledb-3.1.2.tgz",

          "integrity": "sha512-DOBKpUlfvGAX6bcpuPGtPVVfOOUqFue8eLjbnnmkDyBTU+YuH+gXHRy4ftlFzkHBXYkrSGenFJrXy8dDfEVXCg=="

        }

      }

    }

     

    However, when I uploaded the Custom API package and tested it, I got the following error:

     

    MOBILE-43560: Custom Code VM: Failed to start container due to an error in the custom code: /u01/app/oracle/mobile/mobile_ccc/custom_code_modules/xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_6/patients/patients.js:29
    connection = await oracledb.getConnection( {
                       ^^^^^^^^
    SyntaxError: Unexpected identifier.

     

    Here is my full node.js code for the Custom API:

     

    module.exports = function(service) {

        service.get('/mobile/custom/patients/patients', function(req,res) {

            var oracledb = require('oracledb');

            let connection;

            try {

                connection = await oracledb.getConnection( {

                    user          : "system",

                    password      : "xxxxxxxxxx",

                    connectString : "(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = ***.xx.xx.***)(PORT = 1521))(CONNECT_DATA =(SID= db1)))"

                });

                let result = await connection.execute('SELECT * FROM patients');

                console.info(result.rows);           

            } catch (err) {

                console.error(err);

            } finally {

                if (connection) {

                  try {

                    await connection.close();

                  } catch (err) {

                    console.error(err);

                  }

                }

            }

       

            var result = {};

            var statusCode = 200;

            res.status(statusCode).send(result);

        });

     

        // router: get patient by id

        service.get('/mobile/custom/patients/patients/:id', function(req,res) {

            var result = {};

            var statusCode = 200;

            if (statusCode == 200){

                var acceptType = req.accepts(['application/json']);

                if (acceptType == 'application/json'){

                    result = {

                          "items":

                            [

                              {

                                "id": 1,

                                "first_name": "Ted",

                                "surname": "Smith",

                                "gender": "M",

                                "dob": "12-Jun-1987"

                              }

                            ]

                        };

                }

            }

            res.status(statusCode).send(result);

        });

    };

     

    Please advise.

  • Sunil Kumar
    IBCS Bots Integration to Other Channel(Alice similar to...Answered25.0
    Topic posted August 13, 2018 by Sunil KumarRed Ribbon: 250+ Points, tagged Alexa, API, Bots, Conversational AI, Messaging, Mobile, OMCE, Siri, Slack, Virtual Assistant 
    Title:
    IBCS Bots Integration to Other Channel(Alice similar to Alexa)
    Summary:
    Need to create a webhook server to integrate IBCS with other channels
    Content:

    Hi,

    I am working on project, where I need to integrate IBCS bots to other channel(Alice -- Russian Voice bot, similar to Alexa).

    For this reason i have to create a webhook server to take request/command from Alice & pass that to IBCS. 

    I followed this doc https://docs.oracle.com/en/cloud/paas/mobile-suite/use-chatbot/bot-channels.html#GUID-96CCA06D-0432-4F20-8CDD-E60161F46680  

    My Webhook server is able to get message from Alice , but on calling IBCS bot using  (Webhook URI which I got from IBCS channel), i am getting error -- getaddrinfo ENOTFOUND bots-connectors bots-connectors:8000

    If any of expert can share some info/link/sample code for webhook that will be great. 

     

    Thanks in advance

    Sunil

  • Vidhya Valantina Venkatesh
    Enable Single Sign-On from MCS to Oracle ERP Cloud via Azure...65.0
    Topic posted June 13, 2018 by Vidhya Valantina VenkateshSilver Medal: 2,000+ Points, tagged Mobile, OMCE 
    Title:
    Enable Single Sign-On from MCS to Oracle ERP Cloud via Azure AD
    Summary:
    How to connect from MCS to Azure AD and perform SSO seamlessly from the mobile application in Oracle JET to Oracle ERP Cloud which is configured for SSO in Azure AD ?
    Content:

    Currently our client is using Azure AD for Single Sign-On for their cloud applications. We are to create a mobile application and use MCS as the MBaaS to connect to the ERP Cloud. We need some pointers on how to connect MCS to Azure AD to perform SSO?

  • Xena Arcabos
    Derived Entity Type25.0
    Topic posted October 24, 2018 by Xena ArcabosGreen Ribbon: 100+ Points, tagged Bots, Conversational AI, Mobile, OMCE 
    Title:
    Derived Entity Type
    Summary:
    Problem with Derived Entity Type
    Content:

    I have created 2 custom DERIVED entity namely enddate with DATE as parent with preceding phrase ( to , up to ) ... and a startdate with DATE as parent with a preceding phrase ( From , on ). The expected user input would be "Log absence from tomorrow to friday" but i have noticed that it only resolved the tomorrow as the date. I need to get the tomorrow as the start date and Friday as the end date. How should i do it?

    Version:
    18.2.5