[PR #6] [MERGED] feat: enable real-time transcript rendering #9

Closed
opened 2026-02-16 02:17:03 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/openai_realtime_client/pull/6
Author: @chc-tw
Created: 10/25/2024
Status: Merged
Merged: 11/12/2024
Merged by: @logan-markewich

Base: mainHead: main


📝 Commits (1)

  • 33c7a08 feat: enable real-time transcript rendering

📊 Changes

2 files changed (+44 additions, -1 deletions)

View changed files

📝 examples/manual_cli.py (+2 -0)
📝 openai_realtime_client/client/realtime_client.py (+42 -1)

📄 Description

This PR adds three event message handlers to realtime-client.py to handle incoming transcript-related messages efficiently:

  1. conversation.item.input_audio_transcription.completed
  2. response.audio_transcript.delta
  3. response.audio_transcript.done

the transcript will be printed as the audio plays in real-time by running the display function in a separate thread to ensure non-blocking I/O.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/openai_realtime_client/pull/6 **Author:** [@chc-tw](https://github.com/chc-tw) **Created:** 10/25/2024 **Status:** ✅ Merged **Merged:** 11/12/2024 **Merged by:** [@logan-markewich](https://github.com/logan-markewich) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`33c7a08`](https://github.com/run-llama/openai_realtime_client/commit/33c7a085f59832e5a076fe6e2976cdcfd0e30477) feat: enable real-time transcript rendering ### 📊 Changes **2 files changed** (+44 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `examples/manual_cli.py` (+2 -0) 📝 `openai_realtime_client/client/realtime_client.py` (+42 -1) </details> ### 📄 Description This PR adds three event message handlers to realtime-client.py to handle incoming transcript-related messages efficiently: 1. conversation.item.input_audio_transcription.completed 2. response.audio_transcript.delta 3. response.audio_transcript.done the transcript will be printed as the audio plays in real-time by running the display function in a separate thread to ensure non-blocking I/O. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 02:17:03 -05:00
yindo closed this issue 2026-02-16 02:17:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/openai_realtime_client#9