Digital Assistant and Mobile

Get Involved. Join the Conversation.

Posts

  • ching siang neo
    Accessing and updating myProfile from backend API2
    Topic posted October 2, 2018 by ching siang neo, tagged OMCE 
    Title:
    Accessing and updating myProfile from backend API
    Summary:
    Accessing myProfile from backend API
    Content:

    Using req.oracleMobile.ums.getMe in the Oracle Mobile Cloud to get the login user profile from IDCS. But it is not retrieving the other attributes (e.g organization, cost center) from schema urn:ietf:params:scim:schemas:extension:enterprise:2.0:User or urn:ietf:params:scim:schemas:idcs:extension:custom:User.

    req.oracleMobile.ums.updateUser also don't allow updates to the enterprise and custom attributes.

    Kindly advise what the other options to retrieve and update these attributes within the Oracle Mobile Cloud Backend.

    Version:
    Oracle Mobile Cloud Enterprise 18.2.3
  • Satshah
    Accessing the Reports in ERP cloud with dynamic...1
    Topic posted February 28, 2019 by Satshah Blue Ribbon: 750+ Points, tagged Alexa, API, Bots, Conversational AI, Messaging, Mobile, OMCE, Slack, Virtual Assistant 
    Title:
    Accessing the Reports in ERP cloud with dynamic authentication
    Summary:
    Accessing the Reports in ERP cloud with dynamic authentication
    Content:

    Hi,

    We are using Digital Assistant to access "https://<host>/xmlpserver/services/PublicReportService?wsdl" WSDL and runReport operation from it. But case here is, we are passing authentication ( userid and password ) ina static manner. So every time the userid and password refreshes our Digital Assistant stops working untill we change that static authentication details,

    Can we do this approach dynamically?

    So that we do not have to enter authentication details evert time and Digital Assistant works flawlessly.

     

    Thanks,

    Satya

     

  • 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 
    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

  • Satshah
    Authorization and Tokenization in ODA
    Topic posted March 14, 2019 by Satshah Blue Ribbon: 750+ Points, tagged Alexa, API, Bots, Conversational AI, Messaging, Mobile, OMCE, Siri, Slack, Virtual Assistant, VPA 
    Title:
    Authorization and Tokenization in ODA
    Summary:
    Use of Authentication Services for Oracle SaaS
    Content:

    Hi,

    We are implementing the Authentication Services from the Oracle Digital Assistant. We have created a Service for Google and
    implemented it which asks Google Id and Password for authentication which generates Token and stores in a variable, in code itself.

    Navigation on ODA instance: Settings>>Authentication Services>>CreateService

    Now, our requirement is to create authentication service for our Oracle SaaS instance. So our question is,
    1. How we can get the parameters which are asked while creating the service, namely Token EndPoint URL, Authorization EndPoint URL,
    Client ID, Client Secret, Scopes & Subject Claim for the SaaS instance?

    So that it will generate a Token for us,

    Also, we would like to know if we could use this token to Access the reports from the SaaS instance? will reports accepts this tokens?

    Thanks,
    Satya

     

    Image:
  • Xena Arcabos
    Auto-translation in variable1
    Topic posted February 7, 2019 by Xena ArcabosGreen Ribbon: 100+ Points, tagged Bots, Conversational AI, Mobile, OMCE 
    Title:
    Auto-translation in variable
    Summary:
    The auto-translation translates the value input in the variable
    Content:

    Hi guys!

    the user should input his UserName on the chatbot but the bot also translates the value in it. I also tried System.TranslateInput but doesn't work. How can we prevent the chatbot to translate the value in the variable?


    Note that we have implemented the Auto-translation and it works properly.

  • 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 
    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!
  • Nagesh Manda
    Custom API (CCS for chatbot) always returns 5003
    Topic posted October 3, 2018 by Nagesh MandaBlue Ribbon: 750+ Points, tagged OMCE 
    Title:
    Custom API (CCS for chatbot) always returns 500
    Content:

    Hi,

    I am in the process of building a sample POC for integration Chatbots with HCM Cloud. i have followed the guidelines provided and have built my custom API. However when testing the API i am always getting 500 error.

    HTTP/1.1 500 Internal Server Error
    Cache-Control: no-cache, no-store, must-revalidate
    X-ORACLE-DMS-ECID: de973e25-2b59-42b2-808d-f598e0ae09fb-00040db4
    Connection: keep-alive
    Pragma: no-cache
    Content-Length: 495
    X-ORACLE-DMS-RID: 0:17
    oracle-mobile-runtime-version: 18.2.5
    Date: Tue, 02 Oct 2018 09:58:22 GMT
    Content-Type: application/json

    Any pointers to resolve this issue would be much appreciated. I am attaching the package for your reference.

    Thanks in advance,

    Nagesh.

    Code Snippet:
  • Lukas Raymaekers
    Custom API (CCS for chatbot) randomly returns 200,...45.0
    Topic posted August 9, 2018 by Lukas RaymaekersRed Ribbon: 250+ Points, tagged Bots, OMCE 
    Title:
    Custom API (CCS for chatbot) randomly returns 200, 404 or 500
    Summary:
    Custom API, a custom component service for chatbots, randomly returns 200, 404, 500
    Content:

    Hi,

     

    I'm currently working on some chatbot projects with two other people. In total we have five CCS APIs, three of which work fine. The other two return 200 most of the time, however, from time to time, they return 500 or 404. The two APIs seem to be both working and not working.

    I also tried to adapt a working implementation, but that one also returns 200 most of the time and 500s and 404s at random times.

    The error we get, when the CCS returns a 500, can be found in the code snippet. I also included a zipfile of the custom components implementation.

    If you need more information, please feel free to ask.

     

    Thanks in advance,

    Lukas

     

     

    Code Snippet:
    Document:
    UZA_CCS.zip (2.3MB)
  • Ameur Baccoucha
    Date in french format (dd / mm / yyyy)Answered4
    Topic posted August 24, 2018 by Ameur BaccouchaGold Medal: 3,500+ Points, tagged Bots, Conversational AI, OMCE 
    Title:
    Date in french format (dd / mm / yyyy)
    Summary:
    the bot can not understand the french format (dd / mm / yyyy) and transforms it into english format (mm / dd / yyyy).
    Content:

    exp1:
    entry : 10/12/2018 (dd / mm / yyyy)
    storage date: 12/10/2018 (mm / dd / yyyy)

    exp2:

    entry : 28/09/2018 (dd / mm / yyyy)
    storage date: Sep 20 2018 (different one)

  • 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