From 2fae5e8a7b031644ddd64cea9d5b0d0768c2658a Mon Sep 17 00:00:00 2001 From: Bigint <69431456+bigint@users.noreply.github.com> Date: Tue, 22 Jul 2025 15:54:48 +0530 Subject: [PATCH] docs: correct typos in helpers and realtime documentation --- helpers.md | 2 +- realtime.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers.md b/helpers.md index 8b25fe0a5..0ed2abb4c 100644 --- a/helpers.md +++ b/helpers.md @@ -7,7 +7,7 @@ provides richer integrations with TS specific types & returns a `ParsedChatCompl ## Auto-parsing response content with Zod schemas -You can pass zod schemas wrapped with `zodResponseFormat()` to the `.parse()` method and the SDK will automatically conver the model +You can pass zod schemas wrapped with `zodResponseFormat()` to the `.parse()` method and the SDK will automatically convert the model into a JSON schema, send it to the API and parse the response content back using the given zod schema. ```ts diff --git a/realtime.md b/realtime.md index df55f1a09..9842ad453 100644 --- a/realtime.md +++ b/realtime.md @@ -74,7 +74,7 @@ A full example can be found [here](https://github.com/openai/openai-node/blob/ma 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. -It is **highly recommended** that you register an `error` event listener and handle errors approriately as typically the underlying connection is still usable. +It is **highly recommended** that you register an `error` event listener and handle errors appropriately as typically the underlying connection is still usable. ```ts const rt = new OpenAIRealtimeWS({ model: 'gpt-4o-realtime-preview-2024-12-17' });