| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- # -*- coding: utf-8 -*-
- """
- Wakeword-Arbitration Modul.
- Entscheidet bei gleichzeitiger Wakeword-Erkennung durch mehrere Satellites,
- welcher Satellite die Konversation führen soll.
- """
- from trixy_core.arbitration.candidate import (
- ArbitrationCandidate,
- CandidateState,
- )
- from trixy_core.arbitration.window import (
- ArbitrationWindow,
- WindowState,
- WindowConfig,
- )
- from trixy_core.arbitration.strategies import (
- ArbitrationStrategy,
- LoudestStrategy,
- ConfidenceStrategy,
- CombinedStrategy,
- ProximityStrategy,
- )
- from trixy_core.arbitration.arbitrator import (
- WakewordArbitrator,
- ArbitrationResult,
- ArbitrationConfig,
- )
- __all__ = [
- # Candidate
- "ArbitrationCandidate",
- "CandidateState",
- # Window
- "ArbitrationWindow",
- "WindowState",
- "WindowConfig",
- # Strategies
- "ArbitrationStrategy",
- "LoudestStrategy",
- "ConfidenceStrategy",
- "CombinedStrategy",
- "ProximityStrategy",
- # Arbitrator
- "WakewordArbitrator",
- "ArbitrationResult",
- "ArbitrationConfig",
- ]
|