Skip to content

Commit ea1a8c5

Browse files
hassan1731996github-actions[bot]uzair401
authored
Add Conversation Insights Coach ability (#247)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Uzair Ullah <uzairullahmail@gmail.com>
1 parent 21f7b50 commit ea1a8c5

4 files changed

Lines changed: 1174 additions & 0 deletions

File tree

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Conversation Insights Coach
2+
![Community](https://img.shields.io/badge/OpenHome-Community-orange?style=flat-square)
3+
![Author](https://img.shields.io/badge/Author-Muhammad_Hassan-lightgrey?style=flat-square)
4+
5+
## What It Does
6+
7+
A passive background coach that silently monitors HOW you communicate — not what you say. Tracks filler words, hedging language, vocabulary diversity, question-to-statement ratio, and utterance length. Ask for a report anytime and get a spoken, personalized coaching summary with historical trends, milestones, and actionable tips.
8+
9+
## Trigger Words
10+
11+
- how am I communicating
12+
- communication insights
13+
- my filler words
14+
- speech insights
15+
- speaking report
16+
- coach my speech
17+
- set filler goal
18+
- watch my fillers
19+
20+
## Setup
21+
22+
No external API keys or services needed. Fully self-contained using OpenHome's built-in LLM and TTS.
23+
24+
## How It Works
25+
26+
1. Background daemon starts automatically when your session connects
27+
2. Every 20 seconds it silently analyzes new conversation messages
28+
3. Tracks: filler words, hedging phrases, vocabulary, questions vs statements, utterance length
29+
4. Say **"how am I communicating?"** anytime to get your spoken coaching report
30+
5. Reports compare today with your historical averages and celebrate personal bests
31+
32+
## Features
33+
34+
- **Passive Analysis** — runs silently, zero friction, no trigger words needed during conversation
35+
- **Filler Word Tracking** — detects "um", "uh", "like", "you know", "basically", "I mean", and more
36+
- **Hedging Detection** — tracks "maybe", "I think", "I guess", "sort of" — a proxy for assertiveness
37+
- **Vocabulary Diversity** — unique words vs total words, tracks new vocabulary per session
38+
- **Question Ratio** — balance between asking questions and making statements
39+
- **Historical Trends** — compares today with your 30-day history
40+
- **Streak Tracking** — "You've been improving for 3 days in a row!"
41+
- **Milestone Celebrations** — personal bests are announced in your report
42+
- **Goal Setting** — set a filler target ("set a goal of 10 fillers today")
43+
- **Real-Time Nudges** — optional mode that gives a gentle spoken tip when filler clusters are detected
44+
- **Detail Drill-Down** — ask about specific areas: fillers, vocabulary, assertiveness, questions, pace
45+
- **Coaching Tips** — every report ends with one specific, actionable tip based on your weakest area
46+
- **Session Persistence** — same-day sessions resume after reconnect; daily history saved for 30 days
47+
48+
## What Gets Tracked
49+
50+
| Metric | What it means |
51+
|---|---|
52+
| Filler words | "um", "uh", "like", "you know", "basically", "I mean", "sort of"… |
53+
| Hedging phrases | "maybe", "I think", "I guess", "probably", "sort of"… |
54+
| Vocabulary diversity | Unique words ÷ total words (higher = more varied language) |
55+
| Question ratio | % of utterances that are questions |
56+
| Avg utterance length | Average words per spoken turn |
57+
| New vocabulary | Words you haven't used in previous sessions |
58+
59+
## Example Conversation
60+
61+
**User:** how am I communicating?
62+
63+
**Coach:** You've been on a roll today — 34 utterances with a vocabulary diversity of 58%, which is above your usual average. You used 12 filler words, with 'like' showing up 5 times. That's down from your average of 18, so you're clearly making progress! One thing to try: next time you feel a filler coming, just pause for a beat instead — silence is more powerful than it feels.
64+
65+
**User:** tell me more about my fillers
66+
67+
**Coach:** Your top fillers today were 'like' at 5, 'you know' at 3, and 'basically' at 2. Your filler rate is 3.8% of total words, down from your average of 5.2% — that's a real improvement! Try replacing 'you know' with a brief pause; it makes your sentences land more cleanly.
68+
69+
**User:** set a goal of 8 fillers
70+
71+
**Coach:** Goal set! I'll track your progress toward fewer than 8 filler words today. Ask for a report anytime to see how you're doing.
72+
73+
**User:** watch my fillers
74+
75+
**Coach:** Real-time coaching is on. I'll give you a gentle heads-up whenever I notice a cluster of filler words. You've got this!
76+
77+
## Difficulty / Nudge Settings
78+
79+
- **Silent mode (default)** — analyzes passively, reports on demand only
80+
- **Nudge mode** — say "watch my fillers" to enable gentle real-time tips when 3+ fillers appear in one utterance (max once every 2 minutes to avoid being annoying)
81+
- Turn off nudges anytime: "stop watching my fillers"

community/conversation-insights-coach/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)