Skip to content
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] Expand light_HassTurnOn and light_HassTurnOff with natural sentences #2455

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ViViDboarder
Copy link
Contributor

Used an LLM to generate a whole bunch of natural sounding sentences for the intent, cleaned them up by removing some that sounded not so natural, and then updated the sentences to get tests to pass. It also ended up suggesting some new expansions synonym expansions, so those are added to _common.

Copy link
Contributor

@tetele tetele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with most proposals. The stuff I don't agree with are in comments below.

Two other things:

  1. This will have to be ported for light_HassTurnOff as well
  2. Let's settle on a style for optional parts of sentences: [optional] part or [optional ]part and use that everywhere.

sentences/en/_common.yaml Show resolved Hide resolved
sentences/en/_common.yaml Outdated Show resolved Hide resolved
sentences/en/_common.yaml Outdated Show resolved Hide resolved
sentences/en/_common.yaml Outdated Show resolved Hide resolved
sentences/en/_common.yaml Show resolved Hide resolved
sentences/en/light_HassTurnOn.yaml Show resolved Hide resolved
@home-assistant home-assistant bot marked this pull request as draft November 5, 2024 07:54
@home-assistant
Copy link

home-assistant bot commented Nov 5, 2024

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@ViViDboarder ViViDboarder marked this pull request as ready for review November 12, 2024 18:16
@home-assistant home-assistant bot requested a review from tetele November 12, 2024 18:16
@ViViDboarder ViViDboarder changed the title [en] Expand light_HassTurnOn with natural sentences [en] Expand light_HassTurnOn adn light_HassTurnOff with natural sentences Nov 13, 2024
@ViViDboarder ViViDboarder changed the title [en] Expand light_HassTurnOn adn light_HassTurnOff with natural sentences [en] Expand light_HassTurnOn and light_HassTurnOff with natural sentences Nov 13, 2024
@ViViDboarder
Copy link
Contributor Author

Fixed tests and rebased. I also noticed a copy paste error that I corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants