Streaming Hub 0.2
Moderate donation TTS with AI
Return a speech decision, moderated text and a selected language.
AlphaReturn a speech decision, moderated text and a selected language.
Before you start
Use a test project connected to Core. Configure the relevant integrations in the intended local service profile. Review Apply and Save before testing a changed definition.
Steps
- Configure the donation signal, an AI model profile and Piper voices.
- Create a reusable moderation macro with donation text as an explicit input.
- Ask Call and Store for a structured decision with moderated text and a supported language/voice choice.
- Parse and validate the result before selecting Piper Speak; handle malformed or missing fields as a deliberate no-speech/error path.
- Call the macro from the donation reaction and map its output explicitly.
- Save the automation and Test allowed text, disallowed text, empty input, failed model calls and unsupported language.
Verify
Only a validated permitted result reaches the chosen speech action. Inspect the corresponding run, then Save the applied project when the result is correct.
If it does not work
AI output is not a guarantee of moderation accuracy. Keep a stop/mute control, avoid unlimited retries and preserve a fallback for unavailable provider/voice choices.
Download the example
Import into a test project, review dependencies, and configure your own service connections before running it.
Download the AI moderation macro