Closed flozi00 closed 4 years ago
Hi @flozi00 , As mentioned in the documentation, the YAML format used to describe a labelled utterance is:
find me a flight from [origin:city](Paris) to [destination:city](New York)
There is no space between ]
and (
.
Best
`--- type: intent name: calendar_getevents slots:
utterances:
`DATASET_PATH = Path(file).parent / "definition.json" with DATASET_PATH.open(encoding="utf8") as f: sample_dataset = json.load(f)
training process
the datetime get not extracted, only the intention is returned
{ "input": "whats on my calendar for tomorrow", "intent": { "intentName": "calendar_getevents", "probability": 0.8726704018107356 }, "slots": [] }