Posts

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 in Application Development > Digital Assistant and Mobile public
    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 in Application Development > Digital Assistant and Mobile public
    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

     

  • Asser
    Where is the user's data stored in the DB?15.0
    Topic posted August 1, 2018 by Asser Green Ribbon: 100+ Points, tagged Analytics, API, Facebook, Messaging, OMCE in Application Development > Digital Assistant and Mobile public
    Title:
    Where is the user's data stored in the DB?
    Summary:
    I want to make a list of all users that have interacted with my bot, displaying their first name, last name etc.
    Content:
    I want to make a list of all users that have interacted with my bot, displaying their first name, last name etc. I want to get this data from the database.

    Info about the bot:
    My bot asks the user a few questions. After answering the questions, a custom field/property is set to true for that user.
     
    questionsend:
        component: "System.SetVariable"
        properties:
          variable: "questionsanswered"
          value: true
        transitions: {}
    save:
        component: "System.CopyVariables"
        properties:
          from: "questionsanswered"
          to: "user.questionsanswered"
        transitions: 
          return: "save"
    
    Now my question is: Where is all this data stored in the db?
     
    So far, I have found a conversation history in the BOTS schema, table BOTS_CONVERSATION_HISTORY_. 
    Here is the user's ID (under CHANNEL_USER_ID) but I can't find where it's linked to (no foreign key here, see attached image).
    I couldn't find any tables containing channel users, or all bot users in general (users interacting with bots, not users of the database).
    image1
     



     

    As I said, there's no foreign key or so that I could track it



    Where do I get the user's first name from the database? As in ${profile.firstName}. And where do I get the custom fields from? As in ${user.age}
        component: "System.CommonResponse"
        properties:
          metadata:
            responseItems:
            - type: "text"
              text: "Hey ${profile.firstName}!..."
    
  • Vikhil Khobragade
    Prediction and Recommendations in ODA45.0
    Topic posted July 29, 2019 by Vikhil KhobragadeRed Ribbon: 250+ Points, tagged Analytics, Bots, Conversational AI, Messaging, Notification, OMCE in Application Development > Digital Assistant and Mobile public
    Title:
    Prediction and Recommendations in ODA
    Summary:
    Implementation for prediction and recommendations
    Content:

    Hello,

    I'm looking for sample implementation for prediction and recommendations in Digital Assistant.

    e.g. For banking use case, when the existing customer log into the bot based on his customer profile or previous interaction to the bot.

    i would like to recommend him/her certain banking product i.e car loan or home loan.

    Can you please guide me how this can be implemented in ODA.

     

    Regards,

    Vikhil

  • 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 in Application Development > Digital Assistant and Mobile public
    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 in Application Development > Digital Assistant and Mobile public
    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?

  • Sikaar Keita
    Accessing userid and channel type from the dialog flow and...Answered65.0
    Topic posted November 12, 2018 by Sikaar KeitaGreen Ribbon: 100+ Points, tagged Alexa, Facebook, OMCE, Tip in Application Development > Digital Assistant and Mobile public
    Title:
    Accessing userid and channel type from the dialog flow and custom component
    Summary:
    I am looking ofr a proper way to access user information and channel information
    Content:

    Hi,

    I am looking for a proper way to access user information and channel information, from both Dialog Flow and Custom Component.

    My Bot is running on 3 different channels ( Alexa, Facebook Messenger, Website) and i would like :

    1) to have a switch proposing various options based on the invoking channel, thus my need to acces the channel type from the dialog flow. I have tried many things (channelType ... ) but nothing worked out. Same when trying to access it from a custom component.

    2) to have acess to userId, so i can access and store data. in the custom component i have tried body.message.channel.userId with no success

    3) For Alexa and FBM, i owuld also like to dig the account linking topic - ie capture the amazon id or facebook id of the user. So far with FBM i properly capture firstname and last name, how could i go further ? I couldn't find any details in the online documentation.

     

    Best Regards

  • Xena Arcabos
    Derived Entity Type25.0
    Topic posted October 24, 2018 by Xena ArcabosGreen Ribbon: 100+ Points, tagged Bots, Conversational AI, Mobile, OMCE in Application Development > Digital Assistant and Mobile public
    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
  • Don Querrer
    Call a custom component asynchronously from oBotML to...25.0
    Topic posted October 16, 2018 by Don QuerrerGreen Ribbon: 100+ Points, tagged OMCE, Sync, Virtual Assistant in Application Development > Digital Assistant and Mobile public
    Title:
    Call a custom component asynchronously from oBotML to prevent time-out
    Summary:
    Call a custom component asynchronously from oBotML to prevent time-out
    Content:
    Hello Gurus,
    I am currently working with Oracle MCE Bot service where I am calling a rest api via custom component.
    The problem is that the rest api I am calling sometimes responds more than a minute which made the chatbot to time-out.
     
    With that, my question is ---- Is there a way to call a custom component asynchronously from oBotML to prevent time-out?
     
    Thanks!
  • Ameur Baccoucha
    QnA componentAnswered105.0
    Topic posted September 19, 2018 by Ameur BaccouchaGold Medal: 3,500+ Points, tagged Bots, Conversational AI, Messaging, Mobile, OMCE, Tip in Application Development > Digital Assistant and Mobile public
    Title:
    QnA component
    Summary:
    i want to cretae a bot only using System.QnA component to make my bot reply to some question.
    Content:

    i want to build a sample of a Q&A bot. i created the bot and uploaded the csv file and every thing is ok but one i am using the bot tester i always get a response from the unresolved state. here my OBotML code: 

    metadata:
      platformVersion: 1.0
    main: true
    name: QnA_Bot
    context:
      variables:
    states:   
      qna:
        component: "System.QnA"
        transitions:
          actions:
            none: "unresolved"
          next: "qna"
      unresolved:
        component: "System.Output"
        properties:
          text: "Sorry, I did not find any match. Can you rephrase the question?"
        transitions:
          return: "unresolved"
      

    any idea please? 

    thank you 

    Ameur