Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion custom_components/speaker_recognition/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@

# Defaults
DEFAULT_BACKEND_URL = "http://localhost:8099"
DEFAULT_MIN_CONFIDENCE = 0.0
# Minimum recognition confidence before a recognised speaker is applied to the
# conversation. A value of 0.0 would apply *any* match (even a near-zero score),
# which misattributes the speaker, so we default to a conservative threshold.
DEFAULT_MIN_CONFIDENCE = 0.7