Skip to content

Commit cac16d1

Browse files
bigintstainless-app[bot]
authored andcommitted
docs: fix typos in helpers and realtime (#1592)
1 parent dcf70b3 commit cac16d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ provides richer integrations with TS specific types & returns a `ParsedChatCompl
77

88
## Auto-parsing response content with Zod schemas
99

10-
You can pass zod schemas wrapped with `zodResponseFormat()` to the `.parse()` method and the SDK will automatically conver the model
10+
You can pass zod schemas wrapped with `zodResponseFormat()` to the `.parse()` method and the SDK will automatically convert the model
1111
into a JSON schema, send it to the API and parse the response content back using the given zod schema.
1212

1313
```ts

realtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ A full example can be found [here](https://github.com/openai/openai-node/blob/ma
7474

7575
When an error is encountered, either on the client side or returned from the server through the [`error` event](https://platform.openai.com/docs/guides/realtime-model-capabilities#error-handling), the `error` event listener will be fired. However, if you haven't registered an `error` event listener then an `unhandled Promise rejection` error will be thrown.
7676

77-
It is **highly recommended** that you register an `error` event listener and handle errors approriately as typically the underlying connection is still usable.
77+
It is **highly recommended** that you register an `error` event listener and handle errors appropriately as typically the underlying connection is still usable.
7878

7979
```ts
8080
const rt = new OpenAIRealtimeWS({ model: 'gpt-4o-realtime-preview-2024-12-17' });

0 commit comments

Comments
 (0)