Skip to content

Commit

Permalink
Fixes missing title and errant TODO statement in cookbook. (#2793)
Browse files Browse the repository at this point in the history
  • Loading branch information
wylerz authored Oct 28, 2024
1 parent b80740d commit a3e2e44
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/docs/reference/gen_notebooks/audio_with_weave.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
title: Log Audio With Weave
---


:::tip[This is a notebook]
Expand All @@ -9,6 +12,9 @@
:::



<!--- @wandbcode{feedback-colab} -->

# How to use Weave with Audio Data: An OpenAI Example

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.
Expand Down Expand Up @@ -152,7 +158,7 @@ prompt_endpoint_and_log_trace(
display(Audio("output.wav", rate=SAMPLE_RATE, autoplay=True))
```

# Advanced Usage: Realtime Audio API with Weave #TODO: Record video of weave traces and me chatting with it w/ the terminal output side by side.
# Advanced Usage: Realtime Audio API with Weave
<img src="https://i.imgur.com/ZiW3IVu.png"/>
<details>
<summary> (Advanced) Realtime Audio API with Weave </summary>
Expand Down
15 changes: 14 additions & 1 deletion docs/notebooks/audio_with_weave.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<!-- docusaurus_head_meta::start\n",
"---\n",
"title: Log Audio With Weave\n",
"---\n",
"docusaurus_head_meta::end -->\n",
"\n",
"<!--- @wandbcode{feedback-colab} -->"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -253,7 +266,7 @@
"id": "P7zY5fho4hOG"
},
"source": [
"# Advanced Usage: Realtime Audio API with Weave #TODO: Record video of weave traces and me chatting with it w/ the terminal output side by side. \n",
"# Advanced Usage: Realtime Audio API with Weave\n",
"<img src=\"https://i.imgur.com/ZiW3IVu.png\"/>\n",
"<details>\n",
"<summary> (Advanced) Realtime Audio API with Weave </summary>\n",
Expand Down

0 comments on commit a3e2e44

Please sign in to comment.