From 478f3c083181a24d8432c085c8a16d59dee3c47d Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Fri, 8 Dec 2023 00:49:21 +0000 Subject: [PATCH] docs: fix typo in example (#950) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4cabdb897..471fd88ab 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ from openai import AsyncOpenAI client = AsyncOpenAI() stream = await client.chat.completions.create( - prompt="Say this is a test", + model="gpt-4", messages=[{"role": "user", "content": "Say this is a test"}], stream=True, )