We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b63f25 commit 80c0b45Copy full SHA for 80c0b45
Raspberry_Pi/Raspberry_Pi5_Moonshine_VoiceControl_NeoPixels/voice_control_lights.py
@@ -50,14 +50,6 @@
50
args = parser.parse_args()
51
52
53
-# Generic handler for intent triggers
54
-def on_intent_triggered_on(trigger: str, utterance: str, similarity: float):
55
- """Handler for when an intent is triggered."""
56
- print(
57
- f"\n'{trigger.upper()}' triggered by '{utterance}' with {similarity:.0%} confidence"
58
- )
59
-
60
61
class TranscriptPrinter(TranscriptEventListener):
62
"""Listener that prints transcript updates to the terminal."""
63
0 commit comments