diff --git a/data/nlu.md b/data/nlu.md index f45b2b2..9fe1f7a 100644 --- a/data/nlu.md +++ b/data/nlu.md @@ -14,3 +14,8 @@ - hey - hello - hi + +## intent:request +- i would request you to play a song +- i would request you to drive fast +- i would request you to open the windows \ No newline at end of file diff --git a/test.py b/test.py index a40dac8..818917d 100644 --- a/test.py +++ b/test.py @@ -50,6 +50,12 @@ def extract_structured_data(query): 'intent': 'hello', 'entities': [] }, + { + 'input': 'i would request you to play a song', + 'intent': 'request', + 'entities': [] + }, + ] for query in queries: