Open ybot1122 opened 1 year ago
We need to produce a dataset that can train a model to learn intents and entities. And then integrate to it on the clientside.
Intent tells us what a user wants to do, and entities can highlight specific parameters. We'll need an initial dataset to just do some programming.
In the long term, we will simply produce sentences and outsource the data labeling.
Example:
[ { "intent": "Quote", "language": "en-us", "text": "I left my heart in Alexandria Egypt", "entities": [ { "category": "CityName", "offset": 19, "length": 10 } ] }, { "language": "en-us", "intent": "BookFlight", "text": "Book me a flight to Alexandria Egypt", "entities": [ { "category": "CityName", "offset": 20, "length": 10 }, { "category": "CountryName", "offset": 31, "length": 5 } ] } ]
We need to produce a dataset that can train a model to learn intents and entities. And then integrate to it on the clientside.
Intent tells us what a user wants to do, and entities can highlight specific parameters. We'll need an initial dataset to just do some programming.
In the long term, we will simply produce sentences and outsource the data labeling.
Example: