Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    Fred
    What's the minimum BotML that needs to be defined for a...
    Topic posted October 16, 2019 by FredGreen Ribbon: 100+ Points, tagged Bots 
    21 Views, 3 Comments
    Title:
    What's the minimum BotML that needs to be defined for a Intents and QnA demo ?
    Summary:
    New to ODA. Need to demo Intents and QnA to users.
    Content:

    Can someone let me know what's the minimum BotML that I need in order to demo Intents and QnA interaction? 

    The Oracle Open World sessions made it look pretty simple but they forgot to mention all that goes on to setup a bot!

    Thanks

    Comment

     

    • Rohit Dhamija

      Hi Fred,

      Suggest to please go through this link once http://bit.ly/odaenablement

      and you can start with this tutorial Build Your First Skill

      https://docs.oracle.com/en/cloud/paas/digital-assistant/tutorial-skill/index.html

      Regards,

      Rohit

    • Grant Ronald

      As Rohit points out - you need to learn the power of the BotML but here is a snippet of code which is pretty simple

      metadata:
        platformVersion: "1.0"
      main: true
      name: advt24hrsflowers_bot2
      context:
        variables:
        #shared variables
          iResult: "nlpresult"

      states:
        getUserIntent:
          component: "System.Intent"
          properties:
            variable: "iResult"
            qnaEnable: true
          transitions:
            actions: 
              OrderFlowers: "startOrderFlowers"
              qna: "qna"

      #START FLOWER ORDER#    

        startOrderFlowers:
          component: "System.Output"
          properties:
            text: "ORDERING FLOWERS"
          transitions:
            return: "startOrderFlowers"
                  

        qna:
          component: "System.QnA"
          transitions:
            actions:
              none: "getUserIntent"

    • Fred

      Thanks - that was helpful !