Digital Assistant and Mobile

Get Involved. Join the Conversation.

Comments

  • Rohit Dhamija

     

    Can you please confirm if you applied following:

    Refer point 29, page 12

    Use exports commands as shown below to define the environment variables: BOT_WEBHOOK_URL and BOT_WEBHOOK_SECRET

    Rohit

  • Vikhil Khobragade

    Hi,

    We have currently use native android SDK. but how can we integrate Web SDK into native android SDK.

    Could you please guide on this.

    Regards,

    Vikhil

  • Vikhil Khobragade

    Hi,

    We have currently use native android SDK. but how can we integrate Web SDK into native android SDK.

    Could you please guide on this.

    Regards,

    Vikhil

  • Rohit Dhamija

    hi Vikhil,

     

    Do you plan to develop native application or hybrid application for Android? In case it is hybrid, you can try using the web sdk

    Rohit

  • Vikhil Khobragade

    Hi,

    We have one POC one of finance company. for this POC lots of customization in YAML like we are use HTML and it will be run on Web by the referring this article https://blogs.oracle.com/mobile/techexchange%3a-developing-rich-conversational-user-interface-with-oracle-client-sdk-for-javascript-and-oracle-digital-assistant

    but it won't Run same code on Android SDK so anyone one have any clue how to customized current smooch Android SDK.

     

    Regards,

    Vikhil

  • Frank Nimphius
  • Vikhil Khobragade

    Thank You!!

     

    Regards,

    Vikhil

  • Rohit Dhamija

    Yes, we will be releasing Oracle Android SDK in some time as well like we did for web SDK.

    Regards,

    Rohit

     

  • Vikhil Khobragade

    Hi,

    We have ODA 19.5 v then how can to integrate with new SDK 

    is there new Android SDK same like as web SDK.

    Regards,

    Vikhil

  • Rohit Dhamija

    Hi,

    Please refer  "Overview of the new Oracle Web SDK and its customization features in Oracle Digital Assistant 19.10 and later"

     https://blogs.oracle.com/mobile/overview-of-the-new-oracle-web-sdk-and-its-customization-features-in-oracle-digital-assistant-1910-and-later

    Thanks,

    Rohit

  • Vikhil Khobragade

    Hi,

    currently we are use smooch SDK so there any new Oracle SDK that enable HTML rendering.

    Regards,

    Vikhil

  • Steven Davelaar

    Tip: The adaptive cards JSON schema is pretty complex with many different constructs supported. As such it is error prone when you try to create the adaptive card content directly inside the CRC metadata property.  A less error-prone and more productive way to create the adaptive cards definition is to start with the Adaptive Cards Designer provided by Microsoft. This visual builder allows you to build the card using drag-and-drop from a  component palette. You can then use the "Copy Card JSON" function to get the JSON definition, and use an online JSON-to-YAML converter to convert it to YAML. Then you only need to indent it with the required spacing using some text editor, and you can copy-and-paste it into the YAML, and are ready-to-go.

    Hope this helps,
    Steven Davelaar,
    Oracle A-Team

  • Steven Davelaar

    Somehow my post got cut off. Here is the remainder:

    To stamp out multiple cards, you can use the iteratorVariable with the card element within a response item of type cards. Here is an example to use an adaptive card to stamp out multiple pizza cards:

     

    responseItems:
      - type: "cards"
        headerText: "Here are our pizzas you can order today:"
        cardLayout: "horizontal"
        cards:
          - title: "${pizzas.name}"
            description: "${pizzas.description}"
            imageUrl: "${pizzas.image}"
            iteratorVariable: "pizzas"
            actions:
              - label: "Order Now"
                type: "postback"
                payload:
                  action: "order"
                  variables:
                    orderedPizza: "${pizzas.name}"
                    orderedPizzaImage: "${pizzas.image}"
            channelCustomProperties:
            - channel: "msteams"
              properties:
                adaptiveCard:
                  type: "AdaptiveCards"
                  version: "1.0"
                  fallbackText: "Adaptive card version not supported"
                  body:
                  - type: "TextBlock"
                    text: "${pizzas.name}"
                    weight: "bolder"
                  - type: "TextBlock"
                    text: "${pizzas.description}"
                    wrap: true
  • Steven Davelaar

    Hi Pawan,

    There are two levels where the adaptive cards custom property can be defined:

    • At the level of a text response item, typically used to create a single adaptive card (although multiple cards can be defined but iteratorVariable property is not supported here)
    • At the level of a card element within a "cards" response item. This allows you to define a single adaptive card structure that will be stamped out multiple times when an iteratorVariable has been specified for the card element. 

    Here is an example at response item level:

    responseItems:
      - type: "text"
        text: "This text is replaced with adaptive card defined in custom property"
        footerText: "Is that correct?"
        visible:
          expression: "${system.channelType=='msteams' && system.entityToResolve.value.name=='Confirmed'}"
        channelCustomProperties:
          - channel: "msteams"
            properties:
              adaptiveCard:
                type: AdaptiveCard
                "$schema": http://adaptivecards.io/schemas/adaptive-card.json
                version: '1.0'          
                fallbackText: "Adaptive card version not supported"                                             
                body:
                - type: TextBlock
                  text: 'I have all information needed to create your expense. Just to verify my understanding, here is an overview of your expense:'
                  wrap: true
                - type: FactSet
                  facts:
                  - title: Expense Type
                    value: "${expense.value.Type}"
                  - title: Amount
                    value: "${expense.value.Amount.totalCurrency}"
                  - title: Date
                    value: "${expense.value.Date.date?number_to_date}"
                  - title: Receipt URL
                    value: "${expense.value.Receipt?has_content?then(expense.value.Receipt.url,'N/A')}"
     
                actions:
                - type: Action.ShowCard
                  title: Edit
                  id: edit
  • Pawan Gupta

    Frank, Grant - any update when the features released in OCT month will be applied to existing ODA instance, I am looking forward to utilize MS Extension with MS Team channel, please let me know any tentative timeline or if there is any way to get latest features enabled in my existing ODA instance.