Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    amro alfares
    digital assistant System.DetectLanguage
    Topic posted July 22, 2019 by amro alfaresBlue Ribbon: 750+ Points, tagged Bots, Conversational AI 
    33 Views, 1 Comment
    Title:
    digital assistant System.DetectLanguage
    Summary:
    the built-in component System.DetectLanguage doesn't work
    Content:

    I tried to use ( System.DetectLanguage )  component but it doesn't work at all and it always goes to systemDefaultErrorHandler wherever I put it, it stops my chatbot and because of that, I couldn't run the Configure the dialog flow for multi-language for QNA.

    Code Snippet:

    Comment

     

    • Frank Nimphius

      Hi,

      Hi,

      System.DetectLanguage requires

      1. a translation service configured in the Oracle Digital Assistant instance

      2. a translation service selected for the skill in the skill's settings panel

      Step 2 - if missing - leads to a system error in the conversation. System.DetectLanguage is a component that requires a translation service. As a result - of a working System.DetectLanguage, the profile.languageTag variable will be set

       

      Frank