Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    Michael Simonetti
    Wrong Entity DetectionAnswered
    Topic posted February 13, 2019 by Michael SimonettiGreen Ribbon: 100+ Points, tagged Virtual Assistant 
    128 Views, 6 Comments
    Title:
    Wrong Entity Detection
    Summary:
    Chatbot extracts wrong information
    Content:

    We have an Intent called "Buy" which uses two entities: Property.Type (LIST) and Property.Address (ADDRESS)

    If we enter "I want to buy an apartment in Melboune", chatbot extracts correctly the type of property and the city

    If we enter "I want to buy an apartment", chatbot extracts correctly the type of property

    BUT, If we enter "I want to buy", chatbot fills Address with the value = "buy"

     

     

     

    Image:
    Code Snippet:

    Best Comment

    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.

    Comment

     

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

       

       

    • Michael Simonetti

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

    • 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

      It worked!

      Thank you very much!

    • 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

       

    • Michael Simonetti

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

      I will try to put a support ticket.