πŸ’¬ Blueprint to use your Telegram bot for Assist commands

:speech_balloon: Telegram assist blueprint

This blueprint creates an automation which processes all messages sent in a Telegram chat as voice commands. I can process them locally (only) and/or send them to an LLM for processing.

:point_down: Example:

This example uses an LLM


:question: How to use

Import the blueprint using this button:

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Then create a new automation using the blueprint and provide the settings.

The text between brackets is the key for the input used in YAML.

  • Telegram event entity (telegram_event) | no default

    The event entity or entities which belong to the Telegram chats for which the messages should be handled as voice messages.

  • LLM conversation entity (llm_entity) | default: []

    The LLM conversation entities to be used as fallback of the local processing.
    They will be processed in order, and the first result which isn’t an error will be returned.
    Leave empty to use local handling only.

  • Prefer local (prefer_local) | default: true

    Disable if you only want to use the LLM. In case no LLM entity is provided, this setting will not be used and commands will always be processed with the local conversation agent only.


:coffee: Coffee

If you think I deserve a coffe, please feel free to buy me one (I might spend it on another beverage though).
In case you decide to do so, thanks a lot!

Buy Me A Coffee

Or you can do a small donation using PayPal.

paypal

2 Likes