From 7f5ac67d59b67c1e5c2301a51e5f02cb04bcd00e Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Mon, 22 Jul 2024 11:35:54 +0000 Subject: [PATCH] docs(readme): fix example snippet imports --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8102ea9673..c5a78cb585 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ List methods in the OpenAI API are paginated. This library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually: ```python -import openai +from openai import OpenAI client = OpenAI() @@ -156,7 +156,7 @@ Or, asynchronously: ```python import asyncio -import openai +from openai import AsyncOpenAI client = AsyncOpenAI()