ybot1122 / deburgger

Deburgger is an AI powered chatbot who will help debug and troubleshoot your burger.
0 stars 0 forks source link

Integrate With Azure CLU #12

Open ybot1122 opened 1 year ago

ybot1122 commented 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
            }
        ]
    }
]