Giter Site home page Giter Site logo

Entity change not returned correctly about wit HOT 5 CLOSED

wit-ai avatar wit-ai commented on August 24, 2024
Entity change not returned correctly

from wit.

Comments (5)

ar7hur avatar ar7hur commented on August 24, 2024

I think you made one mistake while validating some expressions, as a result "pas assez fort" is mapped to both "baisse" and "augmente" values of your action_volume entity (which should be prevented by Wit, I admit). We'll release a feature enabling you to edit the values and expressions of custom entities tomorrow -- it should solve your problem.

from wit.

ar7hur avatar ar7hur commented on August 24, 2024

We just the released the "edit custom entities" feature that will solve your problem.

Go to Entities in the console:
image

Click on your entity (action_volume), you can then see and modify the values and expressions:
image

Please let me know if it solves your issue.

from wit.

Seraf avatar Seraf commented on August 24, 2024

Ok thanks, I removed the bad entries in the entity and it works now.
I think there's an illogic behavior about the change of the entity in the intent.

I go in my intent named volume.
I click on my sentence: "le son est pas assez fort"
Then I change the entity from "baisse" to "augmente".
It add the expression to the good word list of the entity but not delete the old word list.

So by changing the entity, it result to have the term copied in the two list that's why it returned me the same result each time. Now I can delete it with your new update, but it's a manual change, I think the behavior of the Intents part should be changed.

What do you think about it ?

from wit.

ar7hur avatar ar7hur commented on August 24, 2024

You're right -- will fix!

from wit.

blandinw avatar blandinw commented on August 24, 2024

Fixed! Expressions are now unique across an entity.

from wit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.