Skip to content
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/weave/cookbooks/realtime-audio-api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions ja/weave/cookbooks/audio_with_weave.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: W&B Weave を使用して Weave でオーディオを扱う方法

このデモでは、OpenAI の chat completions API と GPT 4o Audio Preview を使用して、テキストプロンプトに対する音声レスポンスを生成し、それらを Weave で追跡します。

<img src="https://i.imgur.com/OUfsZ2x.png"></img>
<img src="/images/weave/cookbooks/openai-chat-completions-audio.png"></img>

高度なユースケースとして、OpenAI Realtime API を活用してリアルタイムで音声をストリーミングします。動画デモを見るには、次のサムネイルをクリックするか、[こちら](https://www.youtube.com/watch?v=lnnd73xDElw)をクリックしてください。

Expand Down Expand Up @@ -151,7 +151,7 @@ display(Audio("output.wav", rate=SAMPLE_RATE, autoplay=True))

# 高度な使い方:Weave を使った Realtime Audio API

<img src="https://i.imgur.com/ZiW3IVu.png"/>
<img src="/images/weave/cookbooks/realtime-audio-api.png"/>
<details>
<summary> (高度な設定) Weave を使った Realtime Audio API </summary>
OpenAI の realtime API は、リアルタイムの音声およびテキストアシスタントを構築するための、非常に機能的で信頼性の高い会話型 API です。
Expand Down
4 changes: 2 additions & 2 deletions ko/weave/cookbooks/audio_with_weave.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: W&B Weave를 사용하여 오디오 데이터를 활용하는 방

이 데모에서는 OpenAI chat completions API와 GPT 4o Audio Preview를 사용하여 텍스트 프롬프트에 대한 오디오 응답을 생성하고 이를 Weave에서 추적하는 방법을 보여줍니다.

<img src="https://i.imgur.com/OUfsZ2x.png"></img>
<img src="/images/weave/cookbooks/openai-chat-completions-audio.png"></img>

심화 유스 케이스로는 OpenAI Realtime API를 활용하여 실시간으로 오디오를 스트리밍합니다. 비디오 데모를 보려면 다음 썸네일을 클릭하거나 [여기](https://www.youtube.com/watch?v=lnnd73xDElw)를 클릭하세요.

Expand Down Expand Up @@ -151,7 +151,7 @@ display(Audio("output.wav", rate=SAMPLE_RATE, autoplay=True))

# 심화 사용법: Weave와 함께 Realtime Audio API 사용하기

<img src="https://i.imgur.com/ZiW3IVu.png"/>
<img src="/images/weave/cookbooks/realtime-audio-api.png"/>
<details>
<summary> (심화) Weave와 함께 Realtime Audio API 사용하기 </summary>
OpenAI의 Realtime API는 실시간 오디오 및 텍스트 어시스턴트를 구축하기 위한 기능이 뛰어나고 신뢰할 수 있는 대화형 API입니다.
Expand Down
4 changes: 2 additions & 2 deletions weave/cookbooks/audio_with_weave.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This is an interactive notebook. You can run it locally or use the links below:

This demo uses the OpenAI chat completions API with GPT 4o Audio Preview to generate audio responses to text prompts and track these in Weave.

<img src="https://i.imgur.com/OUfsZ2x.png" alt="OpenAI chat completions API interface with GPT 4o Audio Preview integration and audio response generation workflow" />
<img src="/images/weave/cookbooks/openai-chat-completions-audio.png" alt="OpenAI chat completions API interface with GPT 4o Audio Preview integration and audio response generation workflow" />

For the advanced use case, we leverage the OpenAI Realtime API to stream audio in realtime. Click the following thumbnail to view the video demonstration, or click [here](https://www.youtube.com/watch?v=lnnd73xDElw).

Expand Down Expand Up @@ -151,7 +151,7 @@ display(Audio("output.wav", rate=SAMPLE_RATE, autoplay=True))

## Advanced Usage: Realtime Audio API with Weave

<img src="https://i.imgur.com/ZiW3IVu.png" alt="Realtime Audio API integration with Weave and streaming audio conversation interface" />
<img src="/images/weave/cookbooks/realtime-audio-api.png" alt="Realtime Audio API integration with Weave and streaming audio conversation interface" />

OpenAI's realtime API is a highly functional and reliable conversational API for building realtime audio and text assistants.

Expand Down
4 changes: 2 additions & 2 deletions weave/cookbooks/source/audio_with_weave.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"\n",
"This demo uses the OpenAI chat completions API with GPT 4o Audio Preview to generate audio responses to text prompts and track these in Weave.\n",
"\n",
"<img src=\"https://i.imgur.com/OUfsZ2x.png\"></img>\n",
"<img src=\"/images/weave/cookbooks/openai-chat-completions-audio.png\"></img>\n",
"\n",
"For the advanced use case, we leverage the OpenAI Realtime API to stream audio in realtime. Click the following thumbnail to view the video demonstration, or click [here](https://www.youtube.com/watch?v=lnnd73xDElw).\n",
"\n",
Expand Down Expand Up @@ -276,7 +276,7 @@
"source": [
"# Advanced Usage: Realtime Audio API with Weave\n",
"\n",
"<img src=\"https://i.imgur.com/ZiW3IVu.png\"/>\n",
"<img src=\"/images/weave/cookbooks/realtime-audio-api.png\"/>\n",
"<details>\n",
"<summary> (Advanced) Realtime Audio API with Weave </summary>\n",
"OpenAI's realtime API is a highly functional and reliable conversational API for building realtime audio and text assistants.\n",
Expand Down
Loading