Digital Assistant and Mobile

Get Involved. Join the Conversation.

Comments

  • Martin Jarvis

    ***** Duplicate Post *****

    See answer at https://cloudcustomerconnect.oracle.com/posts/0488ad1b8e

  • Michael Simonetti

    Yes, somehow problem still persists, it seems to be a but in the platform.

    I will try to put a support ticket.

     

  • 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

  • Frank Nimphius

    Hi, set the translate property on the System.Imput component to false

     

    Frank

  • Emily Klassen

    Ah. In MCS, with the zip file, all dependencies needed to be included, so I had assumed it was the same, as we are just switching to the new platform. Thanks!

  • Grant Ronald

    Funnily enough I can actually reproduce this with an out-of-the-bot Address.  The problem seems to be that "buy" (and other words) resolve as an address if that word is the last in the sentence

     

  • Frank Nimphius

    Emily,

    thanks for the hint. However this is not needed. The local container actually looks at the package.json file and then installs all the dependencies. This may take a bit upon deployment but keeps the tgz file small.

     

    Of course, you can improve the deployment by providing all dependencies to the tgz file. But then the file would be massive.

     

    Frank

  • Emily Klassen

    When you use `npm pack`, you need to include the dependency in the `bundledDependencies` array in the package.json for it to be included in the packaged file.

    You can add this automatically when you install the package with `npm install --save --save-bundle <dependency>`. See https://docs.npmjs.com/files/package.json#bundleddependencies

  • Michael Simonetti

    It worked!

    Thank you very much!

  • Sharath Chandra Gavini

    I see that the rule is set to "Following Phrase" and the Phrases are not set.
    Can you set a phrase and test it again to check if buy is resolved into Address.
    Example: 
    Set the Phrase to "in" (according your inputs above) and try entering "I want to buy" it shouldn't resolve any Address entity then. 
    Thanks.

  • Michael Simonetti

    Hello Sharath, we created one based on ADDRESS as per attached image.

  • Sharath Chandra Gavini

    Hi Michael,

    Are you using the default entity for Address or you created one on your own? If you created one, can you please show the entity configuration for Property.Address? 
    Thanks.

     

     

  • Sharath Chandra Gavini

    I typed "buy AutoCAD" (please ignore the bot's response but the JSON with EntityMatches is valid) where AutoCAD should resolve into the values that I put in the entity "PRODUCTNAME".
    But only 5 values are being resolved. That is my issue. 

    In the other instance, I typed "call India" and India should resolve 6  values but somehow only 5 are being resolved. I don't understand why. Please take a look at the above screenshots. What I typed is relevant, the JSON data is relevant but the bot's response is not related to the context it is another bot where I didn't implement the conversation fully. 

     

  • Grant Ronald

    Nothing to stop you trying this but its not production ready

  • Grant Ronald

    This is really confusing.    You say "only 5 are being resolved".   Resolved from what sentence?  Entities are extracted from a user input - what is that input sentence?