This is a custom component of Home Assistant.
This custom component allows you to use two conversation agents, falling back if your primary agent fails to handle the intent.
An example use case of this is to use the built-in Home Assistant conversation agent to handle manipulating devices, but then fallback to using ChatGPT for example to handle general questions such as the capital of a country or measurement conversions.
The options provide 3 debug levels:
- No Debug: This silently handles fallback, and pipes back the raw response to you.
- Low Debug: This will add information such as what agent is responding to the response. This way you can determine if fallback is working as you expect.
- Verbose Debug: Will provide you with more information, including the error of the previous response.
- Install via registering as a custom repository of HACS or by copying the
fallback_conversation
folder into<config>/custom_components
. - Restart Home Assistant.
- Go to Settings > Devices & Services.
- In the bottom right corner, select the Add Integration button.
- Set a name and your preferred debug level.
- Click on Fallback Conversation Agent and select Configure on your created agent.
- Set the primary and fallback conversations agents from the list.
- Go to Settings > Voice Assistants.
- Click to edit Assistant (named "Home Assistant" by default).
- Select the name of your Fallback Conversation Agent from the "Conversation agent" tab