Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
tutorial for machine-learned entity (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
diberry authored Nov 5, 2019
1 parent a324373 commit 915ed9d
Show file tree
Hide file tree
Showing 2 changed files with 185 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"luis_schema_version": "6.0.0",
"intents": [
{
"name": "Confirm",
"features": []
},
{
"name": "Greeting",
"features": []
},
{
"name": "None",
"features": []
},
{
"name": "OrderPizza",
"features": []
}
],
"entities": [],
"hierarchicals": [],
"composites": [],
"closedLists": [],
"prebuiltEntities": [],
"utterances": [
{
"text": "barking dogs are annoying",
"intent": "None",
"entities": []
},
{
"text": "begin",
"intent": "Greeting",
"entities": []
},
{
"text": "can i get a pepperoni pizza and a can of coke please",
"intent": "OrderPizza",
"entities": []
},
{
"text": "can i get a small pizza with onions peppers and olives",
"intent": "OrderPizza",
"entities": []
},
{
"text": "delivery for a small pepperoni pizza",
"intent": "OrderPizza",
"entities": []
},
{
"text": "go ahead",
"intent": "Confirm",
"entities": []
},
{
"text": "hello",
"intent": "Greeting",
"entities": []
},
{
"text": "hey",
"intent": "Greeting",
"entities": []
},
{
"text": "hi",
"intent": "Greeting",
"entities": []
},
{
"text": "i need 2 large cheese pizzas 6 large pepperoni pizzas and 1 large supreme pizza",
"intent": "OrderPizza",
"entities": []
},
{
"text": "ok",
"intent": "Confirm",
"entities": []
},
{
"text": "order a pizza for me",
"intent": "None",
"entities": []
},
{
"text": "penguins in the ocean",
"intent": "None",
"entities": []
},
{
"text": "pickup a cheddar cheese pizza large with extra anchovies",
"intent": "OrderPizza",
"entities": []
},
{
"text": "start",
"intent": "Greeting",
"entities": []
},
{
"text": "sure",
"intent": "Confirm",
"entities": []
},
{
"text": "yes",
"intent": "Confirm",
"entities": []
}
],
"versionId": "0.1",
"name": "Pizza tutorial intents only",
"desc": "",
"culture": "en-us",
"tokenizerVersion": "1.0.0",
"patternAnyEntities": [],
"regex_entities": [],
"phraselists": [],
"regex_features": [],
"patterns": [],
"settings": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@

> LUIS application information
> !# @app.name = Pizza tutorial intents only
> !# @app.versionId = 0.1
> !# @app.culture = en-us
> !# @app.luis_schema_version = 6.0.0


> # Intent definitions

## Confirm
- go ahead
- ok
- sure
- yes


@ intent Confirm

## Greeting
- begin
- hello
- hey
- hi
- start


@ intent Greeting

## None
- barking dogs are annoying
- order a pizza for me
- penguins in the ocean


@ intent None

## OrderPizza
- can i get a pepperoni pizza and a can of coke please
- can i get a small pizza with onions peppers and olives
- delivery for a small pepperoni pizza
- i need 2 large cheese pizzas 6 large pepperoni pizzas and 1 large supreme pizza
- pickup a cheddar cheese pizza large with extra anchovies


@ intent OrderPizza

> # Entity definitions


> # PREBUILT Entity definitions


> # Phrase list definitions


> # List entities

> # RegEx entities


0 comments on commit 915ed9d

Please sign in to comment.