Rename Google Gen AI to Google Gemini (#40793)

This commit is contained in:
Paulus Schoutsen 2025-09-11 01:01:03 -04:00 committed by GitHub
parent cc16b39a2f
commit b912c5a31e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 37 deletions

View File

@ -1,25 +0,0 @@
---
title: Google Gemini
description: Connect and control your Google Gemini devices using the Google Generative AI integration
ha_category:
- Speech-to-text
- Text-to-speech
- Voice
ha_release: 2023.6
ha_domain: google_gemini
ha_integration_type: virtual
ha_supporting_domain: google_generative_ai_conversation
ha_supporting_integration: Google Generative AI
ha_codeowners:
- '@tronikos'
- '@ivanlh'
ha_config_flow: true
ha_platforms:
- conversation
- diagnostics
- stt
- tts
ha_iot_class: Cloud Polling
---
{% include integrations/supported_brand.md %}

View File

@ -1,6 +1,6 @@
---
title: Google Generative AI
description: Instructions on how to integrate Google Generative AI as a conversation agent
title: Google Gemini
description: Instructions on how to integrate Google Gemini as a conversation agent
ha_category:
- Speech-to-text
- Text-to-speech
@ -24,12 +24,12 @@ related:
- docs: /voice_control/assist_create_open_ai_personality/
title: Create an AI personality
- url: https://aistudio.google.com/app/apikey
title: Google Generative AI API key
title: Google Gemini API key
- url: https://ai.google.dev/
title: Google Generative AI
title: Google AI
---
The Google Generative AI integration adds a conversation agent, speech-to-text, and text-to-speech entities powered by [Google Generative AI](https://ai.google.dev/) to Home Assistant. The conversation agent can optionally be allowed to control Home Assistant.
The Google Gemini integration adds a conversation agent, speech-to-text, and text-to-speech entities powered by [Google Gemini](https://ai.google.dev/) to Home Assistant. The conversation agent can optionally be allowed to control Home Assistant.
Controlling Home Assistant is done by providing the AI access to the Assist API of Home Assistant. You can control what devices and entities it can access from the {% my voice_assistants title="exposed entities page" %}. The AI is able to provide you information about your devices and control them.
@ -41,7 +41,7 @@ This integration requires an API key to use, [which you can generate here](https
## Generate an API Key
The Google Generative AI API key is used to authenticate requests to the Google Generative AI API. To generate an API key take the following steps:
The API key is used to authenticate requests to the Google Gemini API. To generate an API key take the following steps:
- Visit the [API Keys page](https://aistudio.google.com/app/apikey) to retrieve the API key you'll use to configure the integration.
@ -81,11 +81,11 @@ Enable Google Search tool:
## Google Search
Due to an API limitation we cannot have the [Google Search tool](https://ai.google.dev/gemini-api/docs/grounding) together with other tools. Request fails with `400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': 'Tool use with function calling is unsupported', 'status': 'INVALID_ARGUMENT'}}`.
But you can do the following workaround that exposes a script to voice assistants. The script calls a Google Generative AI Conversation that only has the Google Search tool enabled.
But you can do the following workaround that exposes a script to voice assistants. The script calls a Google Gemini Conversation that only has the Google Search tool enabled.
{% details "Workaround for Google Search tool" %}
1. Add a second Google Generative AI service.
1. Add a second Google Gemini conversation agent.
2. Select **Configure**
3. In the **Control Home Assistant** section, uncheck **Assist** and any other options.
4. Uncheck **Recommended model settings**
@ -138,7 +138,7 @@ fields:
You can use this integration to [talk to Super Mario and, if you want, have him control devices in your home](/voice_control/assist_create_open_ai_personality/).
The tutorial is using OpenAI, but this could also be done with the Google Generative AI integration.
The tutorial is using OpenAI, but this could also be done with the Google Gemini integration.
## Actions
@ -195,7 +195,7 @@ response_variable: generated_content
### Speak
The `tts.speak` action is the modern way to use TTS. Add the `speak` action, select the Google Generative AI TTS entity, select the media player entity or group to send the TTS audio to, and enter the message to speak.
The `tts.speak` action is the modern way to use TTS. Add the `speak` action, select the Google Gemini TTS entity, select the media player entity or group to send the TTS audio to, and enter the message to speak.
Text-to-speech (TTS) generation is controllable, meaning you can use natural language to structure interactions and guide the style, accent, pace, and tone of the audio. You can change the way the text is spoken directly in the message by, e.g. entering "Say cheerfully: Have a wonderful day" instead of just "Have a wonderful day".
@ -228,7 +228,7 @@ The input language is detected automatically. Check the [Google AI documentation
## Video tutorial
This video tutorial explains how Google Generative AI can be set up, how you can send an AI-generated message to your smart speaker when you arrive home, and how you can analyze an image taken from your doorbell camera as soon as someone rings the doorbell.
This video tutorial explains how Google Gemini can be set up, how you can send an AI-generated message to your smart speaker when you arrive home, and how you can analyze an image taken from your doorbell camera as soon as someone rings the doorbell.
<lite-youtube videoid="ivoYNd2vMR0" videotitle="AI in Home Assistant - A Complete Guide!" posterquality="maxresdefault"></lite-youtube>

View File

@ -674,7 +674,8 @@ layout: null
/integrations/xfinity /more-info/removed-integration 301
/integrations/yessssms /more-info/removed-integration 301
/integrations/yweather /more-info/removed-integration 301
/integrations/zengge /integrations/led_ble
/integrations/zengge /integrations/led_ble 301
/integrations/google_gemini /integrations/google_generative_ai_conversation 301
/components/zwave /integrations/zwave_js
# Lovelace images