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()