Digital Assistant and Mobile

Get Involved. Join the Conversation.

Comments

  • Martin Jarvis

    Hi Praveen,

    Check out the documentation for this API here :
    https://docs.oracle.com/en/cloud/paas/mobile-suite/develop/calling-apis-custom-code.html#GUID-ECF6139B-67F6-4D8A-80AD-8877F82E5FEA

    The full function signature looks this and you will see that the API is based on the standard nodejs request:

    req.oracleMobile.<service>.<method>(required arguments, options, httpOptions)
    

    The httpOptions argument is like the Node.js http.request(options) argument. You use this argument to pass properties not covered by required arguments and options. For example, if you need to pass the timeout property to specify the number of milliseconds to wait for a request to respond before terminating the request, then you would pass it in httpOptions. Another example of when you use httpOptions is to pass query parameters to a connector. To learn more about http.request(options), go to the API documentation at https://github.com/mikeal/request and scroll down to the section entitled "request(options, callback)".

    I hope this helps, 

    Martin

    Oracle Mobile & Bots Product Managament

  • Ruben Rodriguez

    Hello,

    This is how we are getting facebook userid: conversation.request().message.channelConversation.userId

    You can get the channel type from custom component with: conversation.request().message.channelConversation.type (facebook, test)

     

    regards, Ruben,

     

  • Marcelo Jabali

    I don't think you would be able to make any 3rd-party service to resolve to the bots-connectors hostname. Try using something like ngrok to create an HTTP tunnel and map it to the host + port 8800. The generated ngrok URL should be reachable by the 3rd-party service like Alexa.

  • Martin Jarvis

    There is also a good set of info in our documentation at https://docs.oracle.com/en/cloud/paas/mobile-cloud/mcsua/authentication-mcs.html#GUID-4A02AD1E-B865-4A5C-9EFC-13DE2953535A

    Regards

    Martin
    Oracle Mobile & Bots Product Management

  • Ruben Rodriguez

    Hello,

    You can check these two links:

    https://blog.avanttic.com/2018/06/07/oracle-cloud-configuracion-de-sso-federado-y-autenticacion/

    http://www.ateam-oracle.com/configuring-oracle-public-cloud-to-federate-with-microsoft-azure-active-directory/

    regards,

    Ruben.

  • Martin Jarvis

    Sorry to hear you are having problems. We highly recommend you follow this step by step guide.

    https://blogs.oracle.com/mobile/tech-exchange%3a-oracle-mobile-and-bot-platform-provisioning-cheat-sheet

    Regards

    Martin

  • Martin Jarvis

    We have a great article on our TechExchange blog about the correct use of Keep Turn.

    Check this out: https://blogs.oracle.com/mobile/techexchange-real-world-insight-into-keepturn-and-transition-in-intelligent-bots

    Regards

    Martin

    Oracle Mobile & Bots Product Management

  • Rohit Dhamija

    Try this

    askGreeting:
        component: "System.List"
        properties:
          options: ["red,s","green","blue"]
          prompt: "Hi there! What would you like me to echo back?"
          variable: "greeting"

  • Grant Ronald

    Once someone has found the bot on your webpage then the ODA insight can  give you an understanding how how people progressed WITHIN the bot.  If you are looking to see whether someone actually finds the bot then you could use Google Analytics, but that then has nothing really to do with ODA - its the pages of your website.

    regards

     

  • Grant Ronald

    Hi Lorna, there is not necessarily the concept of a "page" in ODA - plus you might be accessing your bot through many different channels - e.g. Facebook, Web , iOS, Slack etc.

    We infact have our own insights in ODA which does exactly what you require https://docs.oracle.com/en/cloud/paas/digital-assistant/use-chatbot/insights1.html#GUID-DA83A784-69CF-45CB-AB1E-0F08D2B2E6CF

  • Grant Ronald

    So long as that backend system can expose a service as REST (or via an interface that exposes REST) then ODA can call that service using something called Custom Component.

    Check out 

     https://www.youtube.com/watch?v=a6-YgDnUXS8&index=10&list=PL2ux0DjE-RYc5TZhb-20jY4kJQGbqXr_f

    Or here

    https://docs.oracle.com/en/cloud/paas/digital-assistant/use-chatbot/components1.html#GUID-31A4AE8E-2505-4CD0-8631-8C23A0AE5DCB

  • Sharath Chandra Gavini

    Thank you for the response Mr. Rohit. I could make a POST request successfully now. 

    I can see the data I am sending back in the Test console now. Thank you for your time. 

    The data I sent back is:

    {

    "amount": "120"

    }

     

    I could print the data using the free marker expression: rechargeData.amount.value 

  • Rohit Dhamija

    To pass the output value back to the bot, the webview can send a POST request to the bot's connector endpoint specified by the callbackUrl property.

    Can you please check the POST payload format. and share with me?

  • Rakesh JS

    Yes this is a great upgrade!!!

    Eager to try them out...  :)

  • Tim Gruidl

    We have already been working with customers on it and it is a major upgrade!!  Great work!!