Skip to content

Commit b2bc792

Browse files
diberrydeyaaeldeen
andauthored
Update articles/ai-services/openai/includes/text-to-speech-javascript.md
Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>
1 parent bb5951f commit b2bc792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/openai/includes/text-to-speech-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Your app's _package.json_ file will be updated with the dependencies.
171171

172172
```
173173

174-
The "openai/shims/node" import supports the ability for the a stream type that changes depending on whether you run in Node.js or in another environment such as a browser.
174+
The import of `"openai/shims/node"` is necessary when running the code in a Node.js environment. It ensures that the output type of the `client.audio.speech.create` method is correctly set to `NodeJS.ReadableStream`.
175175

176176
1. Build the application with the following command:
177177

0 commit comments

Comments
 (0)