Skip to content

Minh/s2s context summary #1813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,4 @@ examples/fine-tuned_qa/local_cache/*

# VS Code files
.vscode/
.cursorignore
720 changes: 720 additions & 0 deletions examples/Context_summarization_with_realtime_api.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/Speech_transcription_methods.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"### How it works\n",
"\n",
"\n",
"![STT Not Streaming Transcription flow](./imgs/speech-to-text-not-streaming.png)\n",
"![STT Not Streaming Transcription flow](../images/speech-to-text-not-streaming.png)\n",
"\n",
"#### Benefits\n",
"\n",
Expand Down Expand Up @@ -250,7 +250,7 @@
"- You need immediate transcription results (partial or final) as they arrive. \n",
"- Scenarios where partial feedback improves UX, e.g., uploading a long voice memo.\n",
"\n",
"![STT Streaming Transcription flow](./imgs/speech-to-text-streaming.png)\n",
"![STT Streaming Transcription flow](../images/speech-to-text-streaming.png)\n",
"\n",
"#### Benefits\n",
"- **Real-time feel:** Users see transcription updates almost immediately. \n",
Expand Down Expand Up @@ -321,7 +321,7 @@
"source": [
"### How it works\n",
"\n",
"![Realtime Transcription flow](./imgs/realtime_api_transcription.png)\n",
"![Realtime Transcription flow](../images/realtime_api_transcription.png)\n",
"\n",
"#### Benefits\n",
"- **Ultra-low latency:** Typically 300–800 ms, enabling near-instant transcription. \n",
Expand Down Expand Up @@ -496,7 +496,7 @@
"source": [
"### How it works\n",
"\n",
"![Agents Transcription flow](./imgs/agents_sdk_transcription.png)\n",
"![Agents Transcription flow](../images/agents_sdk_transcription.png)\n",
"\n",
"**Benefits**\n",
"\n",
Expand Down
Binary file added images/text-vs-audio-tokens.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
# should build pages for, and indicates metadata such as tags, creation date and
# authors for each page.

- title: Context Summarization with Realtime API
path: examples/Context_summarization_with_realtime_api.ipynb
date: 2025-05-05
authors:
- minh-hoque
tags:
- audio
- speech
- tiktoken

- title: Comparing Speech-to-Text Methods with the OpenAI API
path: examples/Speech_transcription_methods.ipynb
date: 2025-04-29
Expand Down