Arpit Goyal
Arpit Goyal

Reputation: 2254

Wit.ai intent issues

I am having real difficulty in understanding the intent part in Wit.ai. When I go to the understanding tab inside an app it shows me intent as a user defined entity.

Do we need to create intents as a user entity or do we need to create intents as a separate in-build entity. Just today when I was going through their HTTP API they first took me to the docs of version 20141022 and then to the version 20160526 in a matter of 15 minutes (meaning they are not stable with http api versions?). In the older version I see that for posting intent there is a separate API which is deprecated in the latter (newer version).

Also I went through some of the apps from the explore section and in each one of them I could see that intent is a different property altogether.

How should I treat the intent?

Considering the newer versions of the API if I take intent as a User defined entity and then add another entity with the search strategy trait. Wit.ai internally removes my expression for the other entity. I also need some help in understanding how this flow is working?

Upvotes: 0

Views: 673

Answers (1)

Blacksad
Blacksad

Reputation: 15432

In the new version of Wit.ai, intent is not a special, built-in entity anymore. It's just a user-defined entity that's created for you when you create an app. The search strategy is normally trait.

If you add another entity with trait, it will be completely orthogonal to intent. What do you mean by "Wit.ai internally removes my expression"?

Don't hesitate to explain what exactly you are trying to achieve.

Upvotes: 2

Related Questions