Skip to content

Commit

Permalink
Fix examples in TimeDelta
Browse files Browse the repository at this point in the history
  • Loading branch information
valkjsaaa committed Nov 11, 2023
1 parent f5de48f commit a678595
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactgenie-lib",
"version": "1.1.38",
"version": "1.1.39",
"description": "A Toolkit for Multimodal Applications",
"author": "valkjsaaa",
"license": "Apache-2.0",
Expand Down
10 changes: 5 additions & 5 deletions src/genie/TimeDelta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,16 @@ export class TimeDelta extends HelperClass {

static Examples = [
{
user_utterance: "20 miniutes later",
example_parsed: "TimeDelta.CreateObject({minute: 20})",
user_utterance: "20 minutes later",
example_parsed: "TimeDelta.CreateObject(minute: 20)",
},
{
user_utterance: "1hour later",
example_parsed: "TimeDelta.CreateObject({hour: 1})",
example_parsed: "TimeDelta.CreateObject(hour: 1)",
},
{
user_utterance: "1hour 20miniutes later",
example_parsed: "TimeDelta.CreateObject({hour: 1, minute: 20})",
user_utterance: "1hour 20 minutes later",
example_parsed: "TimeDelta.CreateObject(hour: 1, minute: 20)",
},
];
}

0 comments on commit a678595

Please sign in to comment.