home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.48k stars 28.68k forks source link

LLM Tools support for Google Generative AI integration #117644

Closed Shulyaka closed 4 weeks ago

Shulyaka commented 1 month ago

Proposed change

Implement LLM Tools feature (https://github.com/home-assistant/core/pull/115464) for google_generative_ai_conversation. Added as a model picker and API picker in options flow:

CleanShot 2024-05-18 at 22 57 16@2x

Type of change

Additional information

Checklist

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

To help with the load of incoming pull requests:

home-assistant[bot] commented 1 month ago

Hey there @tronikos, mind taking a look at this pull request as it has been labeled with an integration (google_generative_ai_conversation) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `google_generative_ai_conversation` can trigger bot actions by commenting: - `@home-assistant close` Closes the pull request. - `@home-assistant rename Awesome new title` Renames the pull request. - `@home-assistant reopen` Reopen the pull request. - `@home-assistant unassign google_generative_ai_conversation` Removes the current integration label and assignees on the pull request, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the pull request. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the pull request.
home-assistant[bot] commented 1 month ago

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

Learn more about our pull request process.

tronikos commented 1 month ago

Don't forget to update the documentation and link to it here. It says "This conversation agent is unable to control your house"

balloob commented 1 month ago

Marked as draft as we want to change the LLM helper slightly.