From 2e1fa4c57416e7107701d672efdeaee77ba4319b Mon Sep 17 00:00:00 2001 From: Adeniji Adekunle James Date: Mon, 4 Aug 2025 08:25:09 +0100 Subject: [PATCH] Doc: Update assistant examples to use gpt-4o instead of gpt-3.5-turbo-instruct --- examples/streaming.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/streaming.py b/examples/streaming.py index 9a84891a83..e1a983d12f 100755 --- a/examples/streaming.py +++ b/examples/streaming.py @@ -13,7 +13,7 @@ def sync_main() -> None: client = OpenAI() response = client.completions.create( - model="gpt-3.5-turbo-instruct", + model="gpt-4o", prompt="1,2,3,", max_tokens=5, temperature=0, @@ -33,7 +33,7 @@ def sync_main() -> None: async def async_main() -> None: client = AsyncOpenAI() response = await client.completions.create( - model="gpt-3.5-turbo-instruct", + model="gpt-4o", prompt="1,2,3,", max_tokens=5, temperature=0,