__init__.py 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # -*- coding: utf-8 -*-
  2. """
  3. Wakeword-Arbitration Modul.
  4. Entscheidet bei gleichzeitiger Wakeword-Erkennung durch mehrere Satellites,
  5. welcher Satellite die Konversation führen soll.
  6. """
  7. from trixy_core.arbitration.candidate import (
  8. ArbitrationCandidate,
  9. CandidateState,
  10. )
  11. from trixy_core.arbitration.window import (
  12. ArbitrationWindow,
  13. WindowState,
  14. WindowConfig,
  15. )
  16. from trixy_core.arbitration.strategies import (
  17. ArbitrationStrategy,
  18. LoudestStrategy,
  19. ConfidenceStrategy,
  20. CombinedStrategy,
  21. ProximityStrategy,
  22. )
  23. from trixy_core.arbitration.arbitrator import (
  24. WakewordArbitrator,
  25. ArbitrationResult,
  26. ArbitrationConfig,
  27. )
  28. __all__ = [
  29. # Candidate
  30. "ArbitrationCandidate",
  31. "CandidateState",
  32. # Window
  33. "ArbitrationWindow",
  34. "WindowState",
  35. "WindowConfig",
  36. # Strategies
  37. "ArbitrationStrategy",
  38. "LoudestStrategy",
  39. "ConfidenceStrategy",
  40. "CombinedStrategy",
  41. "ProximityStrategy",
  42. # Arbitrator
  43. "WakewordArbitrator",
  44. "ArbitrationResult",
  45. "ArbitrationConfig",
  46. ]