Skip to content

Commit 79689f9

Browse files
committed
Add audio speech stream support to readme
1 parent 8f0959f commit 79689f9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,9 @@ Learn how to turn audio into text or text into audio.
394394

395395
Generates audio from the input text.
396396

397+
> [!NOTE]
398+
> This endpoint also has `stream` support. See the [examples/audio/create_speech_stream](https://github.com/tjardoo/openai-client/tree/master/examples/audio/create_speech_stream) example.
399+
397400
```rust
398401
use openai_dive::v1::api::Client;
399402
use openai_dive::v1::resources::audio::{

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,9 @@
387387
//!
388388
//! Generates audio from the input text.
389389
//!
390+
//! > [!NOTE]
391+
//! > This endpoint also has `stream` support. See the [examples/audio/create_speech_stream](https://github.com/tjardoo/openai-client/tree/master/examples/audio/create_speech_stream) example.
392+
//!
390393
//! ```rust
391394
//! use openai_dive::v1::api::Client;
392395
//! use openai_dive::v1::resources::audio::{

0 commit comments

Comments
 (0)