diff --git a/ts/packages/agents/email/src/emailSchema.agr b/ts/packages/agents/email/src/emailSchema.agr index 51490dbcff..df0dbbd1c2 100644 --- a/ts/packages/agents/email/src/emailSchema.agr +++ b/ts/packages/agents/email/src/emailSchema.agr @@ -26,10 +26,10 @@ import { EmailAction } from "./emailActionsSchema.ts"; // ===== Shared Sub-Rules ===== - = ? (('send' ('an' | 'a')? 'email') | 'email') ('to' | 'for')?; - = ? ('reply' | 'respond') ('to' | 'for')?; - = ? ('forward' | 'fwd') ('the' | 'this')? ('email' | 'message')?; - = ? (('find' | 'look' 'up' | 'locate' | 'pull' 'up') ('the' | 'that')? ('email' | 'message')); + = ()? (('send' ('an' | 'a')? 'email') | 'email') ('to' | 'for')?; + = ()? ('reply' | 'respond') ('to' | 'for')?; + = ()? ('forward' | 'fwd') ('the' | 'this')? ('email' | 'message')?; + = ()? (('find' | 'look' 'up' | 'locate' | 'pull' 'up') ('the' | 'that')? ('email' | 'message')); = ('with' ('the' | 'a')? 'subject' | 'subject' ('should' 'be' | 'is' | ':')?); = ('and' | 'with')? ('let' ('me' | 'them') 'know' | 'saying' | 'that' | 'about' | 'body' | 'message')?; diff --git a/ts/packages/agents/video/src/videoSchema.agr b/ts/packages/agents/video/src/videoSchema.agr index d17a1cad9a..7bc6d33728 100644 --- a/ts/packages/agents/video/src/videoSchema.agr +++ b/ts/packages/agents/video/src/videoSchema.agr @@ -24,7 +24,7 @@ import { VideoAction } from "./videoActionSchema.ts"; // Video request patterns = -> "video_request"; - = ? ? | | ; + = ()? ? | | ; = ('can you' | 'could you' | 'please' | 'would you')?; diff --git a/ts/packages/agents/weather/src/weatherSchema.agr b/ts/packages/agents/weather/src/weatherSchema.agr index 359afe553d..8849aeef04 100644 --- a/ts/packages/agents/weather/src/weatherSchema.agr +++ b/ts/packages/agents/weather/src/weatherSchema.agr @@ -8,11 +8,11 @@ import { WeatherAction } from "./weatherSchema.ts"; : WeatherAction = | | ; // Action Rules - = ? $(location:) $(units:)? -> { actionName: "getCurrentConditions", parameters: { location, units } }; + = ()? $(location:) $(units:)? -> { actionName: "getCurrentConditions", parameters: { location, units } }; - = ? $(location:) $(days:)? $(units:)? -> { actionName: "getForecast", parameters: { location, days, units } }; + = ()? $(location:) $(days:)? $(units:)? -> { actionName: "getForecast", parameters: { location, days, units } }; - = ? $(location:) -> { actionName: "getAlerts", parameters: { location } }; + = ()? $(location:) -> { actionName: "getAlerts", parameters: { location } }; // Weather Pattern Rules =