Skip to content

Conversation

@lucasheriques
Copy link
Contributor

Part 4/4 of audio recording feature stack.

Changes

  • OpenAI Whisper transcription (gpt-4o-mini-transcribe)
  • Auto-generate 3-7 word summaries (GPT-4o-mini)
  • Extract actionable tasks from transcripts
  • TranscriptionSection UI component
  • SettingsPanel for OpenAI key management
  • Secure API key storage in authStore
  • 25MB file size limit handling

Stack

  • PR 1/4: Foundation
  • PR 2/4: Recording service
  • PR 3/4: Recording UI
  • PR 4/4: Transcription & AI ← You are here

Review notes

Completes the feature. Focus on AI prompts, error handling, and API key security.

Copy link
Contributor Author

lucasheriques commented Oct 17, 2025

@jonathanlab jonathanlab requested a review from a team October 17, 2025 15:07
@lucasheriques lucasheriques force-pushed the feat/audio-03-recording-ui branch from 36dd058 to 1093438 Compare October 17, 2025 17:05
@lucasheriques lucasheriques force-pushed the feat/audio-04-transcription branch from 9cfb638 to 5510bfd Compare October 17, 2025 17:05
@lucasheriques lucasheriques force-pushed the feat/audio-03-recording-ui branch 2 times, most recently from 7800586 to cb49c82 Compare October 17, 2025 17:09
@lucasheriques lucasheriques force-pushed the feat/audio-04-transcription branch 2 times, most recently from 41e9a77 to 8115bff Compare October 17, 2025 17:38
Copy link
Contributor

@joshsny joshsny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I haven't run it locally, but code looks good, looking forward to merging this in and trying it out!


return false;
// Check OpenAI key
if (state.encryptedOpenaiKey) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can leave this for now if you want, but it'd probably be fairly simple to get this working through the gateway

return resolvedPath.startsWith(recordingsDirResolved + path.sep);
}

async function generateTranscriptSummary(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go through our llm gateway already, since that supports gpt-4o-mini, I think the AI SDK works fine with a proxy

@graphite-app graphite-app bot changed the base branch from feat/audio-03-recording-ui to graphite-base/39 October 21, 2025 16:49
@jonathanlab jonathanlab self-requested a review October 22, 2025 13:48
Copy link
Contributor Author

lucasheriques commented Oct 22, 2025

Merge activity

  • Oct 22, 1:59 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 22, 2:01 PM UTC: Graphite couldn't merge this PR because it had merge conflicts.

@lucasheriques lucasheriques changed the base branch from graphite-base/39 to main October 22, 2025 13:59
- OpenAI Whisper transcription (gpt-4o-mini-transcribe)
- Auto-generate 3-7 word summaries (GPT-4o-mini)
- Extract actionable tasks from transcripts
- TranscriptionSection UI component
- SettingsPanel for OpenAI key management
- Secure API key storage in authStore
- 25MB file size limit handling
@lucasheriques lucasheriques force-pushed the feat/audio-04-transcription branch from 8115bff to 4da4f22 Compare October 22, 2025 14:01
@lucasheriques lucasheriques merged commit 05b9a09 into main Oct 22, 2025
5 checks passed
@lucasheriques lucasheriques deleted the feat/audio-04-transcription branch October 22, 2025 14:02
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.

4 participants