Skip to content

Add Voice Note Feat#10

Open
yanhann10 wants to merge 10 commits intocactus-compute:mainfrom
yanhann10:voice
Open

Add Voice Note Feat#10
yanhann10 wants to merge 10 commits intocactus-compute:mainfrom
yanhann10:voice

Conversation

@yanhann10
Copy link

No description provided.

siddhi-bansal and others added 9 commits February 21, 2026 11:55
- Add VoiceNote page with recording UI
- Add backend /api/voicenotes/process endpoint with multer for file uploads
- Add AI server /ai/process-voice-note endpoint
- Integrate FunctionGemma hybrid routing for transcription and email drafting
- Add voice note button to homepage
- Simple agentic flow: voice -> transcript -> intent extraction -> email draft
- voice_demo.py: Regex-based intent extraction works without API
- Fallback to demo mode when Gemini quota exhausted
- Looks up contacts in Mingle database by name
- Drafts personalized follow-up emails
- Shows tool call pipeline: extract_intent → lookup_contact → draft_email

Tested with: Maya (Figma), Jordan (Stripe), Chris (Notion)
- Add global CSS with Inter font, animations, transitions
- Homepage: Logo, colored icon backgrounds, NEW badge, glass footer
- Voice Note: Gradient title, example box, step-by-step guide
- Email preview: Purple gradient header, send/edit buttons
- Contact card: Avatar with initials, green gradient background
- AI Pipeline badges showing tool calls
- Card hover effects, pulse recording animation
- Better color palette and spacing throughout
- Show animated checkmark and welcome message
- 1.5s delay before redirecting to profile view
- Better form styling with gradients
- Improved chip and checkbox styling
- Added home button to header
Supports 3 action types based on transcript keywords:
- email: "follow up", "schedule meeting", "share"
- message: "text", "message", "DM", "quick message"
- linkedin: "connect", "LinkedIn"

Tool call pipeline:
1. extract_intent (on-device regex) - detects name, topic, action_type
2. lookup_contact (database) - finds profile in Mingle DB
3. generate_{action_type} (template) - creates appropriate message

Latency: ~1.5-3s depending on action type
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.

2 participants