-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[en] Adds set as alias to turn #2352
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
sentences/en/fan_HassTurnOff.yaml
Outdated
- "<turn>[ all][ the] fan[s]( off;<in_here>)" | ||
- "<turn>[ all][ the] fan[s] off" | ||
- "<turn>[ all][ the] fan[s] [to]( off;<in_here>)" | ||
- "<turn>[ all][ the] fan[s] [to] off" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FAILED tests/test_language_sentences.py::test_fan_HassTurnOff[en] - AssertionError: Recognition failed for 'Set all the fans to off'
assert None is not None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- "<turn>[ all][ the] fan[s] [to] off" | |
- "<turn>[ all][ the] fan[s][ to] off" |
WalkthroughWalkthroughThe recent updates enhance the command recognition for fan and light control systems by refining sentence structures and expanding command options. Key modifications include the addition of the word "to" in various command phrases, improving clarity and naturalness. Additionally, new test phrases have been introduced for both fan and light intents, enabling better handling of diverse user inputs, thus ensuring more intuitive interactions with the system. Changes
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (9)
Additional comments not posted (30)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
- "<turn>[ all][ the] fan[s]( off;<in_here>)" | ||
- "<turn>[ all][ the] fan[s] off" | ||
- "<turn>[ all][ the] fan[s] [to]( off;<in_here>)" | ||
- "<turn>[ all][ the] fan[s][ to] off" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coderabbitai why isn't the sentence 'Set all the fans to off' being matched to this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, something went wrong! Please try again later. 🐰 💔
I had some failures with sentences such as "set all the kitchen lights to off"
I do think it's odd phrasing, but after using set for other commands it felt natural
turn is an alias of 'set' after all
Summary by CodeRabbit
New Features
Tests
These updates aim to improve user experience by allowing more intuitive command phrasing and ensuring system accuracy in recognizing varied user inputs.