1
votes

IBM Watson Assistant is depreciating the @sys-person entity for some reason. I use it a lot in my slots to capture the name.

How can I create an entity that would do the same thing to replace @sys-person?

1

1 Answers

0
votes

If you are using a supported language, use annotation-based entities.

The tutorial on how to create a database-driven Slackbot uses that method for locations (@sys-location is deprecated, too). Load the provided skill and see how it is done.

Basically, you create an entity and then go to intent examples and tag the parts which identify a person. Then, Watson Assistant is learning that you expect a person entity in specific sentencens and sentence positions. You can fine-tune it by running some dialogs and correct the falsely identified or missing person entity values.

I use the same technique as replacement for @sys-location and it works for me in slots. Even "San Francisco" is recognized as one location. I added it as sample. You can tag entities across intents.

If you don't want to go that route, the only solution I am aware of is to define an entity, e.g., my-person with many examples and use that.