Skip to content

Use a sensible default minimum confidence (0.7) - #11

Open
jgsaez9 wants to merge 1 commit into
EuleMitKeule:masterfrom
jgsaez9:fix/default-min-confidence
Open

Use a sensible default minimum confidence (0.7)#11
jgsaez9 wants to merge 1 commit into
EuleMitKeule:masterfrom
jgsaez9:fix/default-min-confidence

Conversation

@jgsaez9

@jgsaez9 jgsaez9 commented Jul 5, 2026

Copy link
Copy Markdown

Problem

DEFAULT_MIN_CONFIDENCE is 0.0. It is used as the default for the min_confidence slider when adding or configuring a conversation proxy. With a threshold of 0.0, any recognition result - even one with a near-zero similarity score - sets the conversation user_id, so the speaker is frequently misattributed.

Fix

Default to 0.7, a conservative threshold that only applies reasonably confident matches. This also aligns the default with the fallback already used in conversation.py.

  • Existing configured proxies keep their saved value.
  • Only the default for newly created conversation proxies changes.

No other behaviour change.

`DEFAULT_MIN_CONFIDENCE` was `0.0`, which is used as the default for the
`min_confidence` slider when adding/configuring a conversation proxy. With a
threshold of `0.0`, *any* recognition result -- even one with a near-zero score
-- would set the conversation `user_id`, misattributing who is speaking.

Default to `0.7`, a conservative threshold that avoids applying low-confidence
matches. Existing configured proxies keep their saved value; this only changes
the default for newly created ones.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant